Your very best friend here is attaching &debug=query to the URL and looking at the parsed query results. Upon occasion there's some
One possible explanation is that description field has something like "fatty acid-binding some words protein" in which case your query "fatty acid-binding protein" would fail, but "fatty acid-binding protein"~4 would succeed. The other possibility is that your query parsing isn't quite doing what you think, but adding &debug=query should help there. Best, Erick On Fri, Sep 19, 2014 at 8:10 AM, aaguilar <antelmo.aguilar...@nd.edu> wrote: > Hello All, > > I recently came across a problem when I tried using description:"fatty > acid-binding protein" as a filter query when doing a query through the query > interface for Solr in the Tomcat server. Using that filter query did not > give me any results at all, however if I used description:"fatty > acid-binding" as the filter query, it would give me the results I wanted. > > The thing is that some of the results I got back from Solr, did have the > words "fatty acid-binding protein" in the description field. So I really do > not know what might be causing the issue of Solr not being able to find > those hits. > > Another weird thing is that if I used description:"fatty acid-binding" AND > description:"protein" as the filter query when doing a query, it gave me the > results I anticipated (with some extra results that did not have the exact > phrase "fatty acid-binding protein"). Does anyone have an idea as to what > might be happening? Just in case this is helpful, the version of Solr we > are using is 4.0.0.2012.10.06.03.04.33. I appreciate any help anyone can > provide. > > Thanks! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Issue-Adding-Filter-Query-tp4159990.html > Sent from the Solr - User mailing list archive at Nabble.com.