lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Veentjer - Anchor Men" <p.veent...@anchormen.nl>
Subject finding all docs with field.
Date Sat, 16 Apr 2005 17:24:27 GMT
How can I find all documents with a field (the value doesn`t matter).
 
I have tried:
Query query = new TermQuery(new Term(AbstractBaseDoc.FIELD_INDEX_ERROR,""));
  
 
But this never finds results. The field with name FIELD_INDEX_ERROR has been of type Unindex,
Text, Keyword  but it doesn`t matter. 
 
I have checked the index with Luke, and I did find a document with the specified field.. So
there are documents.

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


Mime
View raw message