Feature "Search and retrieve"
Story[edit | edit source]
- Component 518024, Component0945587209
- Queries return score
- Filtered queries match or do no match
- Construct Search Requests Elastic as queries in combination with filter(s)
- Search requests are sent to a Node Elastic, which sends it to all primary and replica shards for the index(es) being queried and returns sorted and ranked search results
- Default Search Routing Elastic is "query_then_fetch"
- Search Request Scope Elastic can be specified: indices, types, Index Aliases Elastic, index patterns (for searching multiple indexes)
- query (search for docs containing "xyz" limited to docs having e.g. status=active)
- _source (configure this to filter fields to be returned, if no stored field has been defined in mapping then the field is returned from _source, _source filtering is cheaper than using stored fields)
- The Search API Elastic implements the Query DSL Elastic and the Filter DSL Elastic