Closed ankane closed 2 years ago
What do you think about mirroring ES versions? i.e. When you support ES 8 bump version to 8.x.
Hey @jpaas, thanks for the suggestion. I don't see a strong reason to mirror Elasticsearch versions. The plan is for the latest version of Searchkick to always support the 2 most recent Elasticsearch versions.
Some ideas from recent use of searchkick (thanks!!!)
Hey @SteveC, thanks for the ideas!
search_import
scope should help with N+1 queries for bulk reindexing if you haven't tried that.Edit: Think I found a way to do multi-word synonyms (synonyms_v2
branch), so will try to make this part of Searchkick 5.
No point in waiting for Searchkick 5. Reloadable, multi-word, search time synonyms are now available in Searchkick 4.4 :tada:
Searchkick 5 is out 🎉
Please create a new issue to discuss any ideas.
edge
branchNew
mode: :async
andmode: :queue
with bulk reindexingBreaking
elasticsearch
dependency from gemspecArgumentError
instead ofRuntimeError
for unknown operators.*
to non-anchored regular expressionssearch
called on relationswordnet
option (could remove first and re-add later)like: [{_index: ..., _id: ...}]
for similar recordsjapanese
withjapanese2
id
to_id
withorder
option (since sorting on_id
is deprecated in Elasticsearch)ArgumentError
(instead of warning) for invalid regular expression modifiersshould_index?
isfalse
- #1424Other
method redefined; discarding old search_data
warningsActiveSupport.on_load(:mongoid)
for Mongoidlazy_index_name
branchscope_attributes
for relation reindex -scope_attributes
branchword_start
and custom settings withmerge_mappings
(throw error?) - #1410Maybe
relation.reindex
load all records - userelation.in_batches.reindex
to load in batchesreindex_now
/reindex_later
methodswith_score
method toSearchkick::Results
scope_results
in place ofload
less_deps
branchHashWrapper
class -Result
,Hit
,Document
,Record
(could still subclass HashWrapper for backward compatibility)Waiting for 5.1+
Product.search("apples").where(in_stock: true).limit(10).offset(50)
- see #1395 andrelation
branch (still need to merge certain options intuitively, show friendly error message when trying to call AR scope on Searchkick relation)rank_features
type for conversions (added in ES 7.0) -conversions_v2
branch https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-rank-feature-query.html (test w/ spaces and special characters)reindex(update: :search_method)
instead ofreindex(:search_method)
(warn on deprecated style)On hold
search_as_you_type
for instant search -search_as_you_type
branch (on hold due to misspellings)Before 5