You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Justin Lolofie <jt...@gmail.com> on 2010/08/03 22:43:48 UTC

analysis tool vs. reality

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

Re: analysis tool vs. reality

Posted by Erik Hatcher <er...@gmail.com>.
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