Did you reindex after changing the schema?

On Aug 3, 2010, at 7:35 PM, Justin Lolofie wrote:

Hi Erik, thank you for replying. So, turning on debugQuery shows
information about how the query is processed- is there a way to see
how things are stored internally in the index?

My query is "ABC12". There is a document who's "title" field is
"ABC12". However, I can only get it to match if I search for "ABC" or
"12". This was also true in the analysis tool up until recently.
However, I changed schema.xml and turned on catenate-all in
WordDelimterFilterFactory for title fieldtype. Now, in the analysis
tool "ABC12" matches "ABC12". However, when doing an actual query, it
does not match.

Thank you for any help,
Justin


---------- Forwarded message ----------
From: Erik Hatcher <erik.hatc...@gmail.com>
To: solr-user@lucene.apache.org
Date: Tue, 3 Aug 2010 16:50:06 -0400
Subject: Re: analysis tool vs. reality
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

Reply via email to