KMY(雪あすか)
a8fbcb3fb6
Change: #532 ElasticSearch設定の外出し ( #650 )
...
* Change: #532 ElasticSearch設定の外出し
* バージョンチェック
* 起動時にエラー
2024-03-12 12:11:13 +09:00
KMY(雪あすか)
d864399a09
Fix : #370 ダブルクオートを使った日本語検索が効かない ( #448 )
...
* Fix : #370 ダブルクオートを使った日本語検索が効かない
* Add test for multiple words
* Improve test
* 入れ替え
* 単語検索のテスト
2024-01-12 10:27:35 +09:00
KMY
597485f47a
Merge remote-tracking branch 'parent/main' into upstream-20231128
2023-11-28 09:44:42 +09:00
Claire
f1657e6d62
Clamp dates when serializing to Elasticsearch API ( #28081 )
2023-11-27 13:25:54 +00:00
S.H
866f93b90e
Fix/elasticsearch plugin ci failure ( #297 )
...
* Revert "Fix search test"
This reverts commit f638163eca
.
* Add Elasticsearch CI setting
* Revert development settings for public_statuses_index and statuses_index
2023-11-18 17:13:51 +09:00
KMY
0704829a9b
Merge remote-tracking branch 'parent/main' into upstream-20231116
2023-11-14 09:14:19 +09:00
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status ( #27312 )
2023-11-13 09:58:28 +00:00
KMY
6aaef5c34e
Fix N+1 problem on statuses/public_statuses indices
2023-09-16 13:42:55 +09:00
KMY
5fb6bce744
Add my reacted statuses search
2023-09-15 18:50:45 +09:00
KMY
741d031444
Fix search tests
2023-09-10 17:56:46 +09:00
KMY
2ca446d995
Fix indexing error
2023-09-06 09:52:34 +09:00
KMY
93faae7b63
Merge remote-tracking branch 'parent/main' into kb_migration
2023-09-04 21:21:04 +09:00
Eugen Rochko
68b4e36c82
Fix #hashtag
matching non-hashtagged posts in search ( #26781 )
2023-09-04 10:18:45 +02:00
KMY
ff06b04e91
Fix misstake
2023-08-30 10:59:35 +09:00
KMY
59217c521e
Merge remote-tracking branch 'parent/main' into kb_migration
2023-08-30 08:39:20 +09:00
Claire
9e77ab7db2
Change private statuses index to index without crutches ( #26713 )
2023-08-29 17:51:13 +02:00
KMY
05a022448b
Merge remote-tracking branch 'parent/main' into kb_migration
2023-08-29 13:25:48 +09:00
Eugen Rochko
7bd5ebb0c5
Fix multiple issues with status index mappings ( #26686 )
2023-08-28 11:36:17 +02:00
KMY
22427c4669
Improve sudachi settings
2023-08-28 10:23:11 +09:00
KMY
eba4feddf8
Improve elasticsearch sudachi setting
2023-08-28 09:37:24 +09:00
KMY
3457a0a511
Fix elasticsearcha index default settings
2023-08-27 17:51:02 +09:00
KMY
020e50d0c5
Fix status_reference indexing
2023-08-25 18:04:22 +09:00
KMY
3a5b8819d6
Add status_references to full-text search target
2023-08-25 17:51:49 +09:00
KMY
fbb82b740b
Merge remote-tracking branch 'parent/main' into kb_migration
2023-08-25 12:19:55 +09:00
jsgoldstein
30c191aaa0
Add new public status index ( #26344 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
KMY
61e4be24e1
Merge commit ' 3a8370e1f4
' into kb_migration
2023-08-15 17:58:03 +09:00
Claire
f5778caa3a
Add ES_PRESET
option to customize numbers of shards and replicas ( #26483 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 17:46:16 +02:00
KMY
3a1a6ba39e
Merge commit ' 15fd712464
' into kb_migration
2023-05-01 15:05:34 +09:00
KMY
af20b1d2aa
Add searchability support
2023-04-06 04:27:52 +09:00
KMY
a2e674af51
Update sudachi settings
2023-04-05 18:22:00 +09:00
KMY
08e5d96a4a
Expand search range
2023-04-05 13:55:37 +09:00
Eugen Rochko
a9b64b24d6
Change algorithm of tootctl search deploy
to improve performance ( #18463 )
2022-05-22 22:16:43 +02:00
Eugen Rochko
679b7158e3
Change search indexing to use batches to minimize resource usage ( #18451 )
2022-05-18 23:29:14 +02:00
Jeong Arm
ea38327816
Let votes statuses are also searchable ( #18070 )
2022-04-23 21:47:27 +02:00
Claire
ef196c913c
Fix error MethodError in Chewy::Strategy::Sidekiq::Worker ( #17912 )
...
Also refactor a bit to reduce code duplication.
2022-03-31 00:49:24 +02:00
Claire
2c45859ca9
Refactor account and status formatting ( #17877 )
...
* Refactor status formatting
* Add account formatting helpers
* Remove StatusFormatter
* Fixup
* Fix copied typo
2022-03-28 01:17:17 +02:00
Eugen Rochko
cefa526c6d
Refactor formatter ( #17828 )
...
* Refactor formatter
* Move custom emoji pre-rendering logic to view helpers
* Move more methods out of Formatter
* Fix code style issues
* Remove Formatter
* Add inline poll options to RSS feeds
* Remove unused helper method
* Fix code style issues
* Various fixes and improvements
* Fix test
2022-03-26 02:53:34 +01:00
Eugen Rochko
d17fb70131
Change how changes to media attachments are stored for edits ( #17696 )
...
* Change how changes to media attachments are stored for edits
Fix not being able to re-order media attachments
* Fix not broadcasting updates when polls/media is changed through ActivityPub
* Various fixes and improvements
* Update app/models/report.rb
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Add tracking of media attachment description changes
* Change poll in status edit to have a structure closer to the real one
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-03-09 09:06:17 +01:00
Takeshi Umeda
3419d3ec84
Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) ( #16915 )
...
* Bump chewy from 5.2.0 to 7.2.2
* fix style (codeclimate)
* fix style
* fix style
* Bump chewy from 7.2.2 to 7.2.3
2021-11-18 22:02:08 +01:00
Eugen Rochko
4abe3be321
Change tootctl search deploy
algorithm ( #14300 )
2020-07-14 18:10:35 +02:00
Takeshi Umeda
e6706d171a
Fix searchable status without explicitly mentioning it ( #13829 )
2020-05-23 05:47:25 +02:00
Takeshi Umeda
5a1fb6efc2
Fix bookmarks also searchable ( #13293 )
2020-03-22 02:40:03 +01:00
Eugen Rochko
575dc11cb2
Fix needlessly indexing unsearchable statuses into ElasticSearch ( #12041 )
2019-10-02 20:04:46 +02:00
mayaeh
a02f4b7cd4
Fix NameError ( #11192 )
2019-06-27 09:16:55 +02:00
ThibG
47ef4a6c7a
Apply filters to poll options ( #11174 )
...
* Apply filters to poll options in WebUI
Fixes #11128
* Apply filters to poll options server-side
* Add poll options to searchable text
2019-06-25 14:45:14 +02:00
Eugen Rochko
e7f20cc43f
Add type, limit, offset, min_id, max_id, account_id to search API ( #10091 )
...
* Add type, limit, offset, min_id, max_id, account_id to search API
Fix #8939
* Make the offset work on accounts and hashtags search as well
* Assure brakeman we are not doing mass assignment here
* Do not allow paginating unless a type is chosen
* Fix search query and index id field on statuses instead of created_at
2019-02-26 15:21:36 +01:00
Ben Lubar
309043b158
Improve image description user experience ( #10036 )
...
* Add image descriptions to searchable post content.
* Allow multi-line image descriptions.
* Request image descriptions in the same query as posts when creating the search index.
(see https://github.com/tootsuite/mastodon/pull/10036#discussion_r256551624 )
2019-02-14 01:04:43 +01:00
Eugen Rochko
28de046b8b
Get rid of Chewy order/limit warning ( #8355 )
2018-08-22 02:44:56 +02:00
Eugen Rochko
3ebc0ad4d3
Full-text search for authorized statuses ( #6423 )
...
* Add full-text search for authorized statuses
- Search API will return statuses that match the query
- Only for logged in users
- Only if you are author of the status,
- Or you were mentioned in it
- Or you favourited or reblogged it
- Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX`
- Run `rails chewy:deploy` to create & populate index
Fix #5880
Fix #4293
Fix #1152
* Add commented out docker-compose configuration for ES container
* Optimize index import, filter search results
* Add basic normalization to the index
* Add better stemming and normalization to the index
* Skip webfinger request if search query includes both @ and a space
* Fix code style
* Visually separate search result sections
* Fix code style issues
2018-02-09 23:04:47 +01:00