Oops, you're right about the typo!  However, after I changed it to:

    <field multiValued="false" name="Entrez ID" type="string" indexed="true" 
stored="true" required="true" />


, searching for "335" still returns no result.  I did delete the index and 
re-index the documents after the change.  Interestingly, adding * to the search 
does produce results, and it seems to be the only way to find anything.

* by itself finds 549/757 results.
*:* finds all 757 results.
*[a-zA-Z]* finds nothing.
*[0-9]* finds some results.  For example, *33* finds 7 results, but it does NOT 
find the doc with id=335.


The results are interesting because I definitely have many indexed fields with 
[a-zA-Z] characters, but nothing at all is found.
 


________________________________
 From: Ahmet Arslan <iori...@yahoo.com>
To: solr-user@lucene.apache.org; Yuhao <nfsvi...@yahoo.com> 
Sent: Wednesday, February 1, 2012 5:59 PM
Subject: Re: Help: nothing is searchable in Solr
 
> For example, I defined a field called "Entrez ID" in my
> schema.xml file:
> 
>     <field multiValued="false" name="Entrez ID"
> type="string" index="true" stored="true" required="true"
> />

It could be the typo: index="true" should be indexed="true"

Reply via email to