lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] Commented: (LUCENE-2649) FieldCache should include a BitSet for matching docs
Date Fri, 17 Sep 2010 17:01:33 GMT


Ryan McKinley commented on LUCENE-2649:

I'm all for dropping the static flag and always calculating the valid bits -- it makes things
accurate with minimal cost.  

I am sympathetic to folks who don't want this, and I'm not sure the cleanest way to support
both options, or even if it is actually worthwhile.

Do people see this 'option' as a showstopper?  If so, is there an easy way to configure? 
without statics, the flag would need to be fetched from each parser, and the parser does not
know what FieldCache it is used from (using FieldCache.DEFAULT is just as bad as the static
flag IIUC)

> FieldCache should include a BitSet for matching docs
> ----------------------------------------------------
>                 Key: LUCENE-2649
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>             Fix For: 4.0
>         Attachments: LUCENE-2649-FieldCacheWithBitSet.patch, LUCENE-2649-FieldCacheWithBitSet.patch,
> The FieldCache returns an array representing the values for each doc.  However there
is no way to know if the doc actually has a value.
> This should be changed to return an object representing the values *and* a BitSet for
all valid docs.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message