Upon further investigation, it looks like it is either ignoring the default field, or when the default field is specified the rest of the query is ignored.

Example:
q=Field1:(term1 OR term2) AND (item1 OR item2)&df=Field2
that does not cluster correctly, but this does:
q=Field1:(term1 OR term2) AND Field2:(item1 OR item2)

-Joe

On 7/22/2015 3:21 PM, Joseph Obernberger wrote:
Hi - I'm using carrot2 inside of solr cloud and have noticed that queries that involve parenthesis don't seem to work correctly. For example if I have:
q=Field1:(term1 OR term2) AND Field2:(item1 OR item2)
The clustering seems to ignore the values in parenthesis. If instead I do:
q=(Field1:term1 OR Field1:term2) AND (Field2:item1 OR Field2:item2)
this works as expected. Anyone else having this issue? Apart from re-writing the cluster query, I'm not sure of a solution.

Thank you!

-Joe


Reply via email to