Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF748E4DA for ; Sun, 10 Feb 2013 07:59:14 +0000 (UTC) Received: (qmail 23061 invoked by uid 500); 10 Feb 2013 07:59:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 22500 invoked by uid 500); 10 Feb 2013 07:59:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 22484 invoked by uid 99); 10 Feb 2013 07:59:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Feb 2013 07:59:13 +0000 Date: Sun, 10 Feb 2013 07:59:12 +0000 (UTC) From: "Shai Erera (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4765) Multi-valued docvalues field MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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