Well, all I can say is that a fresh download of 1.4.1 and cutting and
pasting your exact fields and putting them into my schema.xml,
copying and pasting your exact document into a new document
and indexing it (./post.jar eoe.xml) and then running any of the
4 queries you indicated works fine for me.

Are you absolutely, positively sure that the only changes you made
to your schema.xml file was adding those lines? Because my best
guess is you made some "innocent" change there that wasn't so
innocent. WordDelimiterFilter in the fieldType would be a good candidate.

So, again, post the relevant fieldType definitions from your schema.xml
file. That is, the definition for "text", i.e.
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
blah blah blah
</fieldType>

And post the results of debugQuery=on. This is easily done from the
admin page here: http://localhost:8983/solr/admin/form.jsp
(it's the link to "full interface" from the admin page) and checking
the "debug:enable" checkbox.

Or get a fresh copy of the schema file and add your changes anew
and try reindexing.

HTH
Erick

On Sun, Jun 27, 2010 at 5:58 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > Yes, it does show results when I search for id:ZS00001,
> > COL:RW, and TI:MAC,
> > but strangely it does not show results when I try
> > AD:ZS00001 or AN:ZS00001.
>
> What is the output of q=AD:ZS00001&debugQuery=on
>
> > Also, I'm not sure where to find the default field, so I'm
> > fairly certain I didn't change it.
>
> Default search field declaration is in schema.xml between
>
> <defaultSearchField>  </defaultSearchField> tags.
>
> Can you paste field type definition of text? <fieldType name="text" ...
>
>
>
>

Reply via email to