SOLR Relevance Sorting -


i using solr 3.1. feel "relevance sorting" not working properly. read if not sorting default solr use "relevance sort" that. so, not giving sorting.

shouldn't "relevance sort" work? have tried give sorting well

key_words_new:"software engineer"&sort=score desc  key_words_new:"software engineer"&sort=score asc 

but can not see change in order.

then tried display score. of course me out sort problem. trying display score this

key_words_new:"software engineer"&fl=*,score 

shouldn't display score field well? can't see change in result. there no score field me.

can me out please.

you need add fl parameter url(get parameter if used) thats important. field should show then.

a second thing scoring based on similarity algorithm used. if didnt specify custom default algorithm used. post seems specifying field takes "constant" string. result in frequency of 1 in document. if string represents complete value in field. every field score same not make difference.

actually 1 example see differences in score is. take 1 document text field holding random text(20 words random values) 1 word e.g. "sometest". , take second document word "sometest" in text field.

another thing has influence how word occurs in text idf if applied field.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -