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 402B79D44 for ; Mon, 15 Dec 2014 13:58:00 +0000 (UTC) Received: (qmail 95423 invoked by uid 500); 15 Dec 2014 13:57:59 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 95354 invoked by uid 500); 15 Dec 2014 13:57:59 -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 95343 invoked by uid 99); 15 Dec 2014 13:57:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2014 13:57:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [130.225.24.68] (HELO sbexch03.sb.statsbiblioteket.dk) (130.225.24.68) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2014 13:57:31 +0000 Received: from [130.225.25.26] (130.225.25.26) by sbexch03.sb.statsbiblioteket.dk (130.225.24.68) with Microsoft SMTP Server id 8.3.348.2; Mon, 15 Dec 2014 14:57:30 +0100 Message-ID: <1418651850.2730.70.camel@te-prime> Subject: Re: Determining NumericType for a field From: Toke Eskildsen Reply-To: te@statsbiblioteket.dk To: "dev@lucene.apache.org" CC: "david.w.smiley@gmail.com" Date: Mon, 15 Dec 2014 14:57:30 +0100 In-Reply-To: References: <1418220744.4160.187.camel@te-prime> <1418637225.2730.30.camel@te-prime> <1418648442.2730.53.camel@te-prime> Organization: State and University Library, Denmark Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2014-12-15 at 14:23 +0100, david.w.smiley@gmail.com wrote: Toke: > Down to practicalities, we need Lucene 4.8 as our DocValues > are Disk > based and that support was removed in 4.9. > I assume you’re referring to the “Disk” DV format/Codec? The standard > format has the data on disk too, it’s just that there’s some > “small” (relative to the disk data) lookup references in heap/memory > whereas the codec you’re using doesn’t. Are you sure the standard > codec isn’t sufficient? As we have not tried anything else than "Disk" for our Net Archive index, we have no comparison with "standard" (or whatever it is called). We have no real preference and our next shards will be build with "standard". Only reason for "Disk" is that it seemed like a good idea at the time and now we have 20TB of index with it. We would like to convert away from "Disk" too, but we would like to avoid having to do a two-pass upgrade ("Disk" -> "standard" followed by "non-DV" -> "DV"), so the DVEnabling code should preferably support "Disk" for reading and do it all as single-pass. > If your use-case shows that there’s a need for the disk codec, I > think it could be brought back, perhaps into the codecs module. I think the removal of "Disk" during a minor version increase was not in line with the backwards compatibility spirit of Solr. But I am sure it was marked "Experimental" somewhere in the code and that the removal obeyed the stated rules. Anyway, done is done and as we have no future need for "Disk". But thanks for the suggested fix. > You could copy the code too to use newer Lucene versions… We looked at that sometime back and the code tentacles reached too far for us to dare grapple with. Regards, Toke Eskildsen, State and University Library, Denmark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org