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 <akinor...@gmail.com>
> 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 
> 
> (schema.xml)
> 
> 
> 
> 
> 
> 
>   
> 
>   
>     
> 
>     
>     
> omitNorms="true"/>
> 
>     
>     
> omitNorms="true"/>
> 
>     
> 
> 
>     
>     
>     
>     
>     
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Result-orde-is-different-from-I-expect-tp24113572p24113572.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to