I want Solr return results by relevancy, but it seems it does not make
sense. For example, partial match does not return before exact match.
Even I enabled term length in schema definition.

 

Is there someone can provide suggestions?

 

For example, I want it return as the following order for keyword "BAC":

BAC                       // exact match before partial match below

BACC                    

 

BACC BAC KK      // one exact match plus partial match return before one
exact match/partial match

BAC BC JJ

 

BACC                    // match with few words returns before match
with more words

BACC KK

BACC JJ MM

 

Thanks,

Robert

 

Reply via email to