lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Schindler <...@thetaphi.de>
Subject Re: Query that returns all docs that contain a field
Date Tue, 20 Dec 2011 19:27:33 GMT
Hi,

No. But the corresponding filter/query does. The bits are just for lookup, if you already
have a valid document. The remaining bits are undefined (like the rest of Fieldcache).

Uwe
--
Uwe Schindler
H.-H.-Meier-Allee 63, 28213 Bremen
http://www.thetaphi.de



Paul Taylor <paul_t100@fastmail.fm> schrieb:

On 19/12/2011 13:35, Michael McCandless wrote:
> You could also use FieldCache.getDocsWithField; it returns a bit set
> where the bit is set if that document had that field.
>
And would this disregard documents that have been deleted but are still 
in the index

Paul

_____________________________________________

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


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