[
https://issues.apache.org/jira/browse/LUCENE-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910635#action_12910635
]
Yonik Seeley commented on LUCENE-2649:
--------------------------------------
bq. public void setCacheValidBitsForFields( Set<String> names );
Solr doesn't even know all of the fields at the time it reads it's schema. And
even if it did... this would seem to break multi-core or anything trying to
have more than one index where the fields are different. Seems like this needs
to be passed down via SortField, just like FieldCache.Parser. A factory makes
this a more generic method than adding additional params to SortField every
time we think of something like this... then we can add stuff like
getFieldCacheParser() and other stuff to the factory.
> FieldCache should include a BitSet for matching docs
> ----------------------------------------------------
>
> Key: LUCENE-2649
> URL: https://issues.apache.org/jira/browse/LUCENE-2649
> 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: [email protected]
For additional commands, e-mail: [email protected]