You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by "Bowles, Mickey" <Mi...@AftonChemical.com> on 2017/09/05 15:13:35 UTC

Search term with spaces and exact matches

Setup:  StandardAnalyzer, parser = MultiFieldQueryParser, an array of IndexSearchers via MultiReader, Name field is Analyzed (tokenized).  Name field has a boost making it eh strongest field.

Need:  Have a Name like "Bob & Joe Technical Palace 247"    Need to have the exact match come up first, then any matches to parts(tokens) to follow.

How should I approach this when indexing?