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 <jsum...@kobo.com> wrote:

> 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 "marion
> library"
> > returns many results
> >
> > This is cross posted on Drupal.org: http://drupal.org/node/1515046
> >
> > Summary: I have a fairly clean install of Drupal 7 with
> Apachesolr-1.0-beta18. I
> > have created a content type called document with a number of fields. I am
> > working with 30k+ records, most of which are related to "Marion, IA" in
> some
> > way. A search for "library" (without the quotes) returns no results,
> while a
> > search for "marion library" returns thousands of results. That doesn't
> make
> > any sense to me at all.
> >
> > Details:
> > <ul>
> >   <li>Drupal 7 (latest stable version)</li>
> >   <li>Apachesolr-1.0-beta18</li>
> >   <li>Custom content type with many fields</li>
> >   <li>LAMP stack running on Centos Linode</li>
> >   <li>PHP 5.2.x</li>
> > </ul>
> >
> > I also checked this through the solr admin interface, running the same
> > searches with similar results, so I can't rule out the possibility that
> something
> > is configured wrong... but since I am using the solrconfig.xml and
> schema.xml
> > files provided with the modules, it is also a possibility that the issue
> lies here
> > as well. I have watched the logs and during the searches that produce no
> > results but should, there is no output in the log besides the regular
> > <code>[INFO]</code> about the query.
> >
> > I am stumped and I am past a deadline with this project, so any help
> would
> > be greatly appreciated.
> >
> > --
> > Sean Adams-Hiett
> > Director of Development
> > The Advantage Companies
> > s...@advantage-companies.com
> > www.advantage-companies.com
>

Reply via email to