analysis tool vs. reality

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

analysis tool vs. reality

jtal
Hello,

I have found the analysis tool in the admin page to be very useful in
understanding my schema. I've made changes to my schema so that a
particular case I'm looking at matches properly. I restarted solr,
deleted the document from the index, and added it again. But still,
when I do a query, the document does not get returned in the results.

Does anyone have any tips for debugging this sort of issue? What is
different between what I see in analysis tool and new documents added
to the index?

Thanks,
Justin
Reply | Threaded
Open this post in threaded view
|

Re: analysis tool vs. reality

Erik Hatcher-4
The analysis tool is merely that, but during querying there is also a  
query parser involved.  Adding debugQuery=true to your request will  
give you the parsed query in the response offering insight into what  
might be going on.   Could be lots of things, like not querying the  
fields you think you are to a misunderstanding about some text not  
being analyzed (like wildcard clauses).

        Erik

On Aug 3, 2010, at 4:43 PM, Justin Lolofie wrote:

> Hello,
>
> I have found the analysis tool in the admin page to be very useful in
> understanding my schema. I've made changes to my schema so that a
> particular case I'm looking at matches properly. I restarted solr,
> deleted the document from the index, and added it again. But still,
> when I do a query, the document does not get returned in the results.
>
> Does anyone have any tips for debugging this sort of issue? What is
> different between what I see in analysis tool and new documents added
> to the index?
>
> Thanks,
> Justin