Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 14901 invoked from network); 4 Feb 2010 22:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 22:01:50 -0000 Received: (qmail 19217 invoked by uid 500); 4 Feb 2010 22:01:49 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 19136 invoked by uid 500); 4 Feb 2010 22:01:49 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 19126 invoked by uid 99); 4 Feb 2010 22:01:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 22:01:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 22:01:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1A6CB234C4AE for ; Thu, 4 Feb 2010 14:01:28 -0800 (PST) Message-ID: <934387587.51281265320888106.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 22:01:28 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1754) Legacy numeric types do not check input for bad syntax In-Reply-To: <700471519.28041265260587919.JavaMail.jira@brutus.apache.org> 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/SOLR-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829812#action_12829812 ] Yonik Seeley commented on SOLR-1754: ------------------------------------ bq. Is there really any memory efficiency from IntField that can't be achieved with an appropriate precisionStep on TrieIntField? Nope... sorting on both will be equivalent, regardless of what the precisionStep is. > Legacy numeric types do not check input for bad syntax > ------------------------------------------------------ > > Key: SOLR-1754 > URL: https://issues.apache.org/jira/browse/SOLR-1754 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Lance Norskog > Fix For: 1.5 > > > The legacy numeric types do not check their input values for valid input. A text string is accepted as input for any of these types: IntField, LongField, FloatField, DoubleField. DateField checks its input. > In general this is a no-fix, except: that IntField is a necessary memory type because it cuts memory use in sorting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.