Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 94226 invoked from network); 20 Jun 2009 01:53:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jun 2009 01:53:40 -0000 Received: (qmail 97972 invoked by uid 500); 20 Jun 2009 01:53:49 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 97894 invoked by uid 500); 20 Jun 2009 01:53:49 -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 97884 invoked by uid 99); 20 Jun 2009 01:53:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 01:53:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 01:53:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MHplf-0006WY-0n for solr-user@lucene.apache.org; Fri, 19 Jun 2009 18:53:19 -0700 Message-ID: <24121215.post@talk.nabble.com> Date: Fri, 19 Jun 2009 18:53:19 -0700 (PDT) From: akinori To: solr-user@lucene.apache.org Subject: Re: Result orde is different from I expect In-Reply-To: <926241.22532.qm@web50307.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: akinori.m@gmail.com References: <24113572.post@talk.nabble.com> <926241.22532.qm@web50307.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you for your input to such a beginner. I did'nt think that I had to do something for sorting when I get search result. I originally thought Solr would automatically sort. I think the result is the order I indexed. So how could I get so-called "dictionally ordered" result? Many thanks! Hello, If you first indexed "apple" and then you indexed "Apple" and if you are lowercasing this text before indexing (i.e. using LowerCaseFilterFactory), then if you search for "apple", you should fist get "apple", and then "Apple". If you first indexed "Apple" and then "apple", then a search for "apple" will first return "Apple", followed by "apple". I am assuming you are not sorting the results, but maybe you are? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: akinori > To: solr-user@lucene.apache.org > Sent: Friday, June 19, 2009 11:23:14 AM > Subject: Result orde is different from I expect > > > I am straggling with search result order of Solr. > I indexed a English-certain language dictionary to Solr. > > Then below is the result of query="apple" and I am confused with this. Why > doesn't "apple" come first and then Apple ? > I'd like to have your suggestion to fix this to more. I am really stressed > about this these days. > Any input is much appreciated. > > Thanks > > (example word list) > An apple! > A as in apple > appl. > apple > Apple > apples > Appling > apples to apples > Adam's apple > allergic apples > alley apple > apple allergy > apple compote > apple divider > bad apple -- View this message in context: http://www.nabble.com/Result-order-is-different-from-I-expect-tp24113572p24121215.html Sent from the Solr - User mailing list archive at Nabble.com.