Re: Unexpected query rewrite from WordDelimiterFilterFactory and SynonymFilterFactory

2012-05-14 Thread Jack Krupansky
apache.org Subject: Re: Unexpected query rewrite from WordDelimiterFilterFactory and SynonymFilterFactory Thanks Jack! It's too bad I can't have catenate and generateParts both set to "1" at query time. If I set catenate to "0", then I miss the case where "wifi&

Re: Unexpected query rewrite from WordDelimiterFilterFactory and SynonymFilterFactory

2012-05-14 Thread Chung Wu
Thanks Jack! It's too bad I can't have catenate and generateParts both set to "1" at query time. If I set catenate to "0", then I miss the case where "wifi" is indexed but "wi-fi" is queried. If I set generateParts to "0", then I miss the case where "wi fi" is queried but "wi-fi" is canceled.

Re: Unexpected query rewrite from WordDelimiterFilterFactory and SynonymFilterFactory

2012-05-14 Thread Jack Krupansky
The extra terms are okay at index time - they simply overlap the base words and make composite terms more searchable, but you need to have a separate query analyzer that sets the various catenate options to "0" since the query generator doesn't know what to do with the extra terms. Synonyms are