I have a text field, using stopwords...

Index and query analysers setup as follows:

SynonymFilterFactory
StopFilterFactory
WordDelimiterFilterFactory
LowerCaseFilterFactory
SnowballPorterFilterFactory


Searching for "front of house" brings back perfect matches, but doesn't highlight the "of".

I took "of" out of the stops words for the query analyser and it now matches "front-of-house" but I know there's better matches stored as "front of house" (without the hyphens) that are ranked much lower.

Is there any quick way to have the highlighting applied to the entire phrase that was searched?




--

IntelCompute
Web Design & Local Online Marketing

http://www.intelcompute.com

Reply via email to