From dev-return-357238-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu May 30 17:05:06 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4D30D180638 for ; Thu, 30 May 2019 19:05:06 +0200 (CEST) Received: (qmail 32384 invoked by uid 500); 30 May 2019 17:05:02 -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 32299 invoked by uid 99); 30 May 2019 17:05:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2019 17:05:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3CC20E2CDF for ; Thu, 30 May 2019 17:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A434C245A1 for ; Thu, 30 May 2019 17:05:00 +0000 (UTC) Date: Thu, 30 May 2019 17:05:00 +0000 (UTC) From: "Atri Sharma (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-8362) Add DocValue support for RangeFields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-8362?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D168= 52082#comment-16852082 ]=20 Atri Sharma commented on LUCENE-8362: ------------------------------------- [~jpountz] Thanks for the comments. Attached is an updated patch: =C2=A0 [^LUCENE-8362.patch] > Add DocValue support for RangeFields=20 > ------------------------------------- > > Key: LUCENE-8362 > URL: https://issues.apache.org/jira/browse/LUCENE-8362 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Nicholas Knize > Priority: Minor > Attachments: LUCENE-8362-approach2.patch, LUCENE-8362.patch, LUCE= NE-8362.patch, LUCENE-8362.patch, LUCENE-8362.patch > > > I'm opening this issue to discuss adding DocValue support to {{\{Int|Long= |Float|Double\}Range}} field types. Since existing numeric range fields alr= eady provide the methods for encoding ranges as a byte array I think this c= ould be as simple as adding syntactic sugar to existing range fields that s= imply build an instance of {{BinaryDocValues}} using that same encoding. I'= m envisioning something like {{doc.add(IntRange.newDocValuesField("intDV", = 100)}} But I'd like to solicit other ideas or potential drawbacks to this a= pproach. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org