..@fastmail.fm]
> Sent: Tuesday, December 20, 2011 8:35 PM
> To: java-user@lucene.apache.org
> Subject: Re: Query that returns all docs that contain a field
>
> On 20/12/2011 19:27, Uwe Schindler wrote:
> > Hi,
> >
> > No. But the corresponding filter/query do
On 20/12/2011 19:27, Uwe Schindler wrote:
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
Um, I just looked for the query in Javadocs and couldn't find it,
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 schrieb:
On 19/12/
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
On 19/12/2011 13:39, Uwe Schindler wrote:
Hi,
There is also a Query/Filter based on that FieldCache:
o.a.l.search.FieldValueFilter, possibly wrapped with ConstantScoreQuery
Uwe
Okay, thanks for all the options.
Paul
-
To u
ichael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Monday, December 19, 2011 2:36 PM
> To: java-user@lucene.apache.org
> Cc: paul_t...@fastmail.fm
> Subject: Re: Query that returns all docs that contain a field
>
> You could also use FieldCache.getDocsWithField; it returns a bi
You could also use FieldCache.getDocsWithField; it returns a bit set
where the bit is set if that document had that field.
Mike McCandless
http://blog.mikemccandless.com
On Mon, Dec 19, 2011 at 7:32 AM, Trejkaz wrote:
> On Mon, Dec 19, 2011 at 9:05 PM, Paul Taylor wrote:
>> I was looking for a
On Mon, Dec 19, 2011 at 9:05 PM, Paul Taylor wrote:
> I was looking for a Query that returns all documents that contain a
> particular field, it doesnt matter what the value of the field is just that
> the document contains the field.
If you don't care about performance (or if it runs fast enough
I was looking for a Query that returns all documents that contain a
particular field, it doesnt matter what the value of the field is just
that the document contains the field.
Paul
-
To unsubscribe, e-mail: java-user-unsubs