Relevant Search: With applications for Solr and Elasticsearch by Doug Turnbull John Berryman

Relevant Search: With applications for Solr and Elasticsearch by Doug Turnbull John Berryman

Author:Doug Turnbull John Berryman
Language: eng
Format: epub, mobi
Publisher: Manning Publications


Given this specification, you can express the ideal document to Elasticsearch for your Star Trek search. One simple improvement, shown in the following listing, is to group people to more closely match the preceding specification by using the custom all field people.name as part of a most_fields search. You’ll note in the listing that we’re searching the non-bigrammed field to demonstrate the basic idea. Further precision could also be gained searching the bigrammed field.

Listing 6.15. Search combining term-centric all field (people.name) with other fields



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.