lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Miguel Diez <jmd...@microgenesis.es>
Subject Re: search in lucen
Date Tue, 06 Sep 2005 16:27:19 GMT
Probably you are using an analyzer that removes the numbers. Try next
time in lucene-user instead of in lucene-dev

Best regards,
Jose Miguel
www.utende.com


haipeng du escribió:

>I index a field like:
>document.add(Field.Text("docId", "1"));
>document.add(Field.Text("other", "other property" ));
>every thing is ok when I index this document. But when I search by query : 
>query="docId:1" ; or query="docId:\"1\""; I can get any result back. But If 
>I use query="other:\"other property\""; I can get this document back and 
>docId field is 1.
>What is problem of my index?
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message