Re: Search for "library" returns 0 results, but search for "marion library" returns many results

2012-04-05 Thread Sean Adams-Hiett
Thanks for all the replies on this. It turns out that the reason that I wasn't getting the expected results is because I was not properly indexed one of the fields. My content type display settings for that field were set to hidden in Drupal. After I corrected this and re-indexed I started getting

Re: Search for "library" returns 0 results, but search for "marion library" returns many results

2012-04-05 Thread Erik Hatcher
> It looks like somehow the query is getting converted from "library" to > "librari". Any idea how that would happen? Yeah, that happens from having stemming involved in your query time analysis (look at your field type, you've surely got Snowball in there) Also, you're using the dismax query pa

Re: Search for "library" returns 0 results, but search for "marion library" returns many results

2012-04-04 Thread Sean Adams-Hiett
Here are some of the XML results with the debug on: library library +DisjunctionMaxQuery((content:librari)~0.01) DisjunctionMaxQuery((content:librari^2.0)~0.01) +(content:librari)~0.01 (content:librari^2.0)~0.01 DisMaxQParser 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0

Re: Search for "library" returns 0 results, but search for "marion library" returns many results

2012-04-04 Thread Ravish Bhagdev
Yes, can you check if results you get with "marion library" match on marion or library? By default solr uses OR between words (specified in solrconfig.xml). You can also easily check this by enabling highlighting. Ravish On Wed, Apr 4, 2012 at 4:11 PM, Joshua Sumali wrote: > Did you try to ap

RE: Search for "library" returns 0 results, but search for "marion library" returns many results

2012-04-04 Thread Joshua Sumali
Did you try to append &debugQuery=on to get more information? > -Original Message- > From: Sean Adams-Hiett [mailto:s...@advantage-companies.com] > Sent: Wednesday, April 04, 2012 10:43 AM > To: solr-user@lucene.apache.org > Subject: Search for "library" returns 0 results, but search for "