[ 
https://issues.apache.org/jira/browse/LUCENE-4765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575379#comment-13575379
 ] 

Shai Erera commented on LUCENE-4765:
------------------------------------

I briefly looked at the patch, looks good. Perhaps instead of returning an 
iterator, we should return an IntsRef? While optimizing facets code, Mike and I 
observed the "iterator-based API" is not so good for "hot code", and e.g. if 
we'll want to use this for faceting, a bulk-API would be better I think.

Same question for indexing -- in facets, we get all the ordinals at once, so is 
it possible to have a field which takes a list of ordinals instead of adding 
many instances of SortedSetDVField?
                
> Multi-valued docvalues field
> ----------------------------
>
>                 Key: LUCENE-4765
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4765
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Robert Muir
>         Attachments: LUCENE-4765.patch
>
>
> The general idea is basically the docvalues parallel to 
> FieldCache.getDocTermOrds/UninvertedField
> Currently this stuff is used in e.g. grouping and join for multivalued 
> fields, and in solr for faceting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to