lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akinori <>
Subject Re: Result orde is different from I expect
Date Sat, 20 Jun 2009 01:53:19 GMT

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!


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?

Sematext -- -- Lucene - Solr - Nutch

----- Original Message ----
> From: akinori <>
> To:
> 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:
Sent from the Solr - User mailing list archive at

View raw message