Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68A71109A2 for ; Mon, 11 Nov 2013 22:17:28 +0000 (UTC) Received: (qmail 9027 invoked by uid 500); 11 Nov 2013 22:17:24 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 8967 invoked by uid 500); 11 Nov 2013 22:17:24 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 8959 invoked by uid 99); 11 Nov 2013 22:17:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 22:17:24 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.212.49 as permitted sender) Received: from [209.85.212.49] (HELO mail-vb0-f49.google.com) (209.85.212.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 22:17:20 +0000 Received: by mail-vb0-f49.google.com with SMTP id o19so1166380vbm.8 for ; Mon, 11 Nov 2013 14:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7AV5UKHrnnJECvYMVh7X5gYfHrxh6ubZINlJ+lk8pMY=; b=Oo1PfMZkBS3PqF3Kq+bwLY85w9vAldvROiYqbFeXy6WWU8+y85cVP4AnYIHFCZuvnN bZedIKymx9Oe6drhOWJoSJ4hDjQp24pMSSJ2RcdVuP7HDuKZlkukW0f/F3FnH+xdBBEi Mwk59PhdZ/o51cPgdsCce3JU7Tk+SrUFWrlbqwHeudQ2mQn2jZW/mhXZPGzIiKFHiizF GJZff/tNiqtJEEiZm9EO8f9pQI41al23KUarNTkOJPNO4CjAU3fwspsudNJnMlkA5XXb ZnvDBeb/Wf/NfFIPUpGF4hT0+E2MbVAaY2ALQXNmUKDoQ54llUIzs5awn59y1hDhSbSp sGlg== MIME-Version: 1.0 X-Received: by 10.58.168.205 with SMTP id zy13mr8310602veb.19.1384208219576; Mon, 11 Nov 2013 14:16:59 -0800 (PST) Received: by 10.52.171.78 with HTTP; Mon, 11 Nov 2013 14:16:59 -0800 (PST) In-Reply-To: <1384198565855-4100345.post@n3.nabble.com> References: <1384138185649-4100209.post@n3.nabble.com> <1384155947.13300.45748073.628DBA21@webmail.messagingengine.com> <1384182379251-4100295.post@n3.nabble.com> <823057B9145E43A2B4BE4551BA00C94B@JackKrupansky> <1384198565855-4100345.post@n3.nabble.com> Date: Mon, 11 Nov 2013 17:16:59 -0500 Message-ID: Subject: Re: Unit of dimension for solr field From: Erick Erickson To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b6dc22439232104eaee174c X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6dc22439232104eaee174c Content-Type: text/plain; charset=ISO-8859-1 You seem to be consistently missing the problem that your queries will not work as expected. How would you do a range query without writing a some kind of custom code that looked at the payloads to determine the normalized units? The simplest way to do this is probably have your ingestion side normalize. Put the original (complete with units) in a field that has indexed="false", this will only be used for showing in the results list. _Also_ add the normalized field to another filed that you set indexed="true" and stored="false" to. that will allow range searches, faceting, etc. HTH, Erick On Mon, Nov 11, 2013 at 2:36 PM, eakarsu wrote: > Can DelimitedPayloadTokenFilterFactory be used to store unit dimension > information? This factory class can store extra information for field. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Unit-of-dimension-for-solr-field-tp4100209p4100345.html > Sent from the Solr - User mailing list archive at Nabble.com. > --047d7b6dc22439232104eaee174c--