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 BC5497C97 for ; Wed, 23 Nov 2011 08:30:09 +0000 (UTC) Received: (qmail 77611 invoked by uid 500); 23 Nov 2011 08:30:06 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 77061 invoked by uid 500); 23 Nov 2011 08:30:05 -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 77031 invoked by uid 99); 23 Nov 2011 08:29:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 08:29:59 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of allanvraa@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 08:29:52 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RT8Cx-0003WG-Vw for solr-user@lucene.apache.org; Wed, 23 Nov 2011 00:29:31 -0800 Date: Wed, 23 Nov 2011 00:29:31 -0800 (PST) From: vraa To: solr-user@lucene.apache.org Message-ID: <1322036971984-3530070.post@n3.nabble.com> Subject: Sort question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I have a query where i sort by a column "price". This field can contain the following values 100000 75000 150000 1 225000 50 40 I want to sort these values so that always between 0 and 100 always comes last. Eg sorting by price asc should look like this: 75000 100000 150000 225000 1 40 50 Is this possible? -- View this message in context: http://lucene.472066.n3.nabble.com/Sort-question-tp3530070p3530070.html Sent from the Solr - User mailing list archive at Nabble.com.