Re: Issue Adding Filter Query

2014-09-24 Thread Erick Erickson
Glad your problem isn't one any longer. Yeah, there are a lot of nooks and crannies that one gets used to with Solr! I'd estimate that between learning how to read the debug output and the analysis page 80-90% of the "my search isn't working" questions on the list can be answered, but it takes a w

Re: Issue Adding Filter Query

2014-09-24 Thread aaguilar
Hello Erick, Just wanted to let you know that I did the change you suggested and everything works as expected. Also, thanks for letting me know about the Analysis page in solr. I did not know about it and I have found it very useful. Thanks! On Mon, Sep 22, 2014 at 5:41 PM, Antelmo Aguilar wr

Re: Issue Adding Filter Query

2014-09-22 Thread aaguilar
Hello Erick, Thank you so much for your help. That makes perfect sense. I will do the changes you suggest and let you know how it goes. Thanks! On Mon, Sep 22, 2014 at 4:12 PM, Erick Erickson [via Lucene] < ml-node+s472066n4160547...@n3.nabble.com> wrote: > You have your index and query time

Re: Issue Adding Filter Query

2014-09-22 Thread Erick Erickson
You have your index and query time analysis chains defined much differently. Omitting the WordDelimiterFilterFactory from the query-time analysis chain will lead to endless problems. With the definition you have, here are the terms in the index and their term positions as below. This is available

Re: Issue Adding Filter Query

2014-09-22 Thread aaguilar
Hello Erick. Below is the information you requested. Thanks for your help! On Fri, Sep 19, 2014 at 7:36 PM, Erick Erickson [via Lucene] < ml-node+s472066n4160122...@n3.nabble.com> wrote: > Hmmm, I'd have to see the schema definition for your description > field. For this, the a

Re: Issue Adding Filter Query

2014-09-19 Thread Erick Erickson
Hmmm, I'd have to see the schema definition for your description field. For this, the admin/analysis page is very helpful. Here's my guess: Your analysis chain doesn't break the incoming tokens up quite like you think it is. Thus you have the tokens in your index like 'protein,' (notice the comma)

Re: Issue Adding Filter Query

2014-09-19 Thread aaguilar
Hello Erick, Thanks for the response. I tried adding the debug=True to the query, but I do not know exactly what I am looking for in the output. Would it be possible for you to look at the results? I would really appreciate it. I attached two files, one of them is with the filter query descrip

Re: Issue Adding Filter Query

2014-09-19 Thread Erick Erickson
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" wo