Hi,

I had a filter type that was interacting poorly with the Solr
filterCache--identical filters were causing _2_ filterCache insertions
per query.

The field is for a url's domain name, and for some reason
WordDelimiterFilter was being uses with generateParts=catenateWords=1.

The filer query looked something like "domain:org.python.www", which
produced the following Query:

MultiPhraseQuery(domain:"org python (www orgpythonwww)")'

Now, there really is no need for the part catenation, so I turned it
off.  The parsed query is now:

PhraseQuery(domain:"org python www")'

and the filterCache is working as expected.

I'd suspect a bug in MultiPhraseQuery.equals(), but glancing at it, it
looks fine.

Ideas?

-Mike

Reply via email to