Re: Solr Clustering Issue

2015-07-24 Thread Joseph Obernberger
Thank you Upayavira and Shawn. Yes - the query works correctly using the standard select. I have a workaround where I simply specify the fields I want to search in each part of the query and do not specify a df. Just an FYI in case someone else runs into this. -Joe On 7/23/2015 10:51 AM, S

Re: Solr Clustering Issue

2015-07-23 Thread Shawn Heisey
On 7/23/2015 7:51 AM, Joseph Obernberger wrote: > Hi Upayavira - the URL was: > > http://server1:9100/solr/MYCOL1/clustering?q=Collection:(COLLECT1008+OR+COLLECT2587)+AND+(amazon+AND+soap)&wt=json&indent=true&clustering=true&rows=1&df=FULL_DOCUMENT&debugQuery=true > > > Here is the relevant part

Re: Solr Clustering Issue

2015-07-23 Thread Upayavira
I've seen something like this on another system - where the OR is consumed as a query term rather than an operator. Remember that Edismax will use the Lucene query parser (which supports OR, etc) unless there is an exception, and defer to dismax if there is a syntax error. What I'd suggest here i

Re: Solr Clustering Issue

2015-07-23 Thread Joseph Obernberger
Hi Upayavira - the URL was: http://server1:9100/solr/MYCOL1/clustering?q=Collection:(COLLECT1008+OR+COLLECT2587)+AND+(amazon+AND+soap)&wt=json&indent=true&clustering=true&rows=1&df=FULL_DOCUMENT&debugQuery=true Here is the relevant part of the response - notice that the default field (FULL_DOCU

Re: Solr Clustering Issue

2015-07-22 Thread Upayavira
I'd be curious to see the parsed query that you get when adding debugQuery=true to the URL. I bet that the clustering component is extracting terms from the parsed query, and perhaps each of those queries is parsed in some way differently? Upayavira On Wed, Jul 22, 2015, at 08:29 PM, Joseph Obern

Re: Solr Clustering Issue

2015-07-22 Thread Joseph Obernberger
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)

Solr Clustering Issue

2015-07-22 Thread Joseph Obernberger
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:ter