You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nikaash Puri <ni...@gmail.com> on 2016/06/22 10:35:00 UTC

help with moreLikeThis

Hi,

I was looking for some help with the more like this query parser syntax.
Concretely, using the select handler I can do a query like:

mlt=true&
mlt.fl=name,message&
mlt.mintf=1&
mlt.qf=name^10 message^1

which lets me boost individual fields.

However, with the query parser:

{!mlt mintf=1 qf=name,message}<doc-id>

How can I achieve a similar boosting effect?

Further, the mlt through the select query only returns the document id and
score. How can I get it to return the entire document?

Thank you,
Nikaash Puri