You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/services
Eugen Rochko 8fdff2748f
Add more accurate account search (#11537)
* Add more accurate account search

When ElasticSearch is available, a more accurate search is implemented:

- Using edge n-gram index for acct and display name
- Using asciifolding and cjk width normalization on display names
- Using Gaussian decay on account activity for additional scoring (recency)
- Using followers/friends ratio for additional scoring (spamminess)
- Using followers number for additional scoring (size)

The exact match precedence only takes effect when the input conforms
to the username format and the username part of it is complete, i.e.
when the user started typing the domain part.

* Support single-letter usernames

* Fix tests

* Fix not picking up account updates

* Add weights and normalization for scores, skip zero terms queries

* Use local counts for accounts index, adjust search parameters

* Fix mistakes

* Using updated_at of accounts is inadequate for remote accounts
5 years ago
..
activitypub Add support for Audio activities (#11189) 6 years ago
account_search_service_spec.rb Add more accurate account search (#11537) 5 years ago
after_block_domain_from_account_service_spec.rb Fix domain hiding logic (#7765) 7 years ago
after_block_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
app_sign_up_service_spec.rb Admission-based registrations mode (#10250) 6 years ago
authorize_follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
batched_remove_status_service_spec.rb Remove WebSub subscriptions (#11303) 6 years ago
block_domain_service_spec.rb Record account suspend/silence time and keep track of domain blocks (#10660) 6 years ago
block_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
bootstrap_timeline_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
fan_out_on_write_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
favourite_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
fetch_link_card_service_spec.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 6 years ago
fetch_oembed_service_spec.rb Fix undefined method error in sidekiq (#9807) 6 years ago
fetch_remote_account_service_spec.rb Add ActivityPub actor representing the entire server (#11321) 6 years ago
fetch_remote_status_service_spec.rb Improve federated ID validation (#8372) 6 years ago
fetch_resource_service_spec.rb Add ActivityPub actor representing the entire server (#11321) 6 years ago
follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
hashtag_query_service_spec.rb Allow joining several hashtags in a single column (#8904) 6 years ago
import_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
mute_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
notify_service_spec.rb Fix NotifyService test with regards to reblogs (#10928) 6 years ago
post_status_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
precompute_feed_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
process_mentions_service_spec.rb Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
reblog_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
reject_follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
remove_status_service_spec.rb Remove WebSub subscriptions (#11303) 6 years ago
report_service_spec.rb Set and store report URIs (#10303) 6 years ago
resolve_account_service_spec.rb Refactor domain block checks (#11268) 6 years ago
resolve_url_service_spec.rb Refactor fetching of remote resources (#11251) 6 years ago
search_service_spec.rb Add search syntax for operators and phrases (#11411) 6 years ago
suspend_account_service_spec.rb Remove WebSub subscriptions (#11303) 6 years ago
unblock_domain_service_spec.rb Add domain block notes (#11515) 5 years ago
unblock_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
unfollow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 6 years ago
unmute_service_spec.rb Slightly reduce RAM usage (#7301) 7 years ago
verify_link_service_spec.rb Fix link verification for remote accounts (#8868) 6 years ago