fields which are only used for filtering should be moved out of the query
section of the mapping
#645
Labels
search relevance
Tuning and improving ranking and relevance
We currently have four top-level objects in our mapping
indexedTime
There's a chance that we're indexing too many fields in the
query
section - devs working filters assume fields are there for relevance, and those engineering relevance assume they're there for filtering. The end result is a bloated index with unused fields, or fields serving multiple purposes which are hard to disentangle.We could be more explicit about the separation of filtering and relevance-scoring by splitting the top level into
display: as above
debug: as above
query: only used for relevance scoring
filters: which might be structured like
in which all indexed fields should be keywords or dates
The text was updated successfully, but these errors were encountered: