Re: Querying for multi-term phrases only . . .

2010-01-29 Thread Erik Hatcher
You can avoid one word terms by setting outputUnigrams="false" on the ShingleFilterFactory configuration. Erik On Jan 28, 2010, at 11:29 PM, Christopher Ball wrote: I am curious how I can query for multi-term phrases using the TermsComponent? The field I am searching has been shin

Querying for multi-term phrases only . . .

2010-01-28 Thread Christopher Ball
I am curious how I can query for multi-term phrases using the TermsComponent? The field I am searching has been shingled so it contains 2 and 3 word phrases. For example in the sample results below I want to only get back multi-word phrases such as "table of contents" and "under the" but no