Re: Multi Word searches in Solr

2010-11-17 Thread Matthew Hall
Yeah, I actually don't use the default field at all. Well I learned something new and good today ^^ I just need to recheck my assumptions on how Solr works versus how core lucene worked and I think I'll be fine. The way solr is doing it makes sense too in a way, so I just need to readjust m

Re: Multi Word searches in Solr

2010-11-17 Thread Erick Erickson
Nope, you've got it right. Parenthesis are what's necessary. This is actually similar to the Lucene world if you consider in your config to be equivalent to specifying a default field when you instantiate a parser. But that's a stretch. That said, it is surprising that you are getting the exa

Re: Multi Word searches in Solr

2010-11-17 Thread Matthew Hall
Oh and to clarify what I expect to see. I expect to see the term in a multiword query to be put together with OR's (Unless I've set the default to be AND's in the solrconfig.xml) I'm guessing that what I'm going to need to do here is place all of my queries in parentheses for the fields that

Re: Multi Word searches in Solr

2010-11-17 Thread Matthew Hall
I'm getting the result set that matches what it would be if I just searched for the first word in the query. So I'm getting the results for mouse. And yes, abstract: is the name of the field. So a search for abstract: mouse would yield 69103 results abstract: mouse anythingelseIputhere yiel

Re: Multi Word searches in Solr

2010-11-17 Thread kenf_nc
Multi word queries is the bread and butter of Solr/Lucene, so I'm not sure I understand the complete issue here. For clarity, is 'abstract' the name of your default text field, or is your query q=abstract: mouse genome if the latter, my thought was is it possible that the query is being convert