morelikethis - Solr more like this don't return score while specify `mlt.count` -


i'm using solr's more analyze similar documents. while specify mlt.count argument , if not 15, score don't show. more arguments mlt=true&mlt.fl=text&mlt.count=12, while text filed has term vector. , fl argument *,score. queried url:

http://localhost:8983/solr/collection1/select?q=id%3a1967956383&wt=json&indent=true&mlt=true&mlt.fl=text&mlt.count=12.

when specify mlt.count=15, score shows up. , after that, query mlt.count=12 again, shows up, too.

my solr version 4.0.

does have idea? thanks!

this has been documented solr bug solr-5042, , patch posted against solr version 4.3. i've relocated patch 4.2.1 , seen fixes behavior there.

if query /mlt handler directly, instead of using mlt component under /select handler, can work around issue, handler accepts count rows=12 instead of mlt.count=12.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -