lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haipeng du <>
Subject search in lucen
Date Tue, 06 Sep 2005 15:30:12 GMT
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?
Haipeng Du
Software Engineer
Salt Lake City

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message