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 4683FD9F9 for ; Tue, 25 Sep 2012 17:54:09 +0000 (UTC) Received: (qmail 10793 invoked by uid 500); 25 Sep 2012 17:54:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10689 invoked by uid 500); 25 Sep 2012 17:54:07 -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 10541 invoked by uid 99); 25 Sep 2012 17:54:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 17:54:07 +0000 Date: Wed, 26 Sep 2012 04:54:07 +1100 (NCT) From: "Adrien Grand (JIRA)" To: dev@lucene.apache.org Message-ID: <1693419965.123969.1348595647790.JavaMail.jiratomcat@arcas> In-Reply-To: <1687175837.123593.1348593007658.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4426) New ValueSource implementations that wrap DocValues 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-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463038#comment-13463038 ] Adrien Grand commented on LUCENE-4426: -------------------------------------- bq. How does this relate to NumericIndexDocValueSource? I didn't know about this class! Maybe the new classes of my patch could replace this one: * the objectVal method returns an object whose type matches the ValueSource name, * there is the StrDocValuesFieldSource to deal with DocValues.Type.BYTES* when they are UTF8-encoded Strings * they use a default source when the segment has no DocValues * they give the ability to load direct sources (My goal is to reuse them in SOLR-3855) bq. I am confused why the current one only handles 3 types? Right. Strange that it is able to deal with VAR_INTS but none of FIXED_INTS_*. > New ValueSource implementations that wrap DocValues > --------------------------------------------------- > > Key: LUCENE-4426 > URL: https://issues.apache.org/jira/browse/LUCENE-4426 > Project: Lucene - Core > Issue Type: New Feature > Components: modules/other > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Fix For: 4.1, 5.0 > > Attachments: LUCENE-4426.patch > > > We should have ValueSource implementations that wrap DocValues in lucene-queries so that DocValues can be used in function queries. -- 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