lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4765) Multi-valued docvalues field
Date Sun, 10 Feb 2013 07:59:12 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message