I'm using Solr for searching our system.
Using MoreLikeThis for related content searching.
Now url used for search is like this:
http://localhost:8983/solr/mlt?q=nid:7280&mlt=true&mlt.fl=title,teaser,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
Where "nid" is uniqueKey and "title,teaser,body" are stored fields with multiValued set to "true".

The question is:
Is it possible to boost terms for one or more similarity fields?
For example I'd like something like mlt.fl=title^3,teaser^10,body - terms from teaser will have highest weight, then title terms and the lowest terms weight for body.

A while ago I had a similar issue, and (at least back then) I don't think this was possible.

What I did was use Solr's copy-field support to create a "boosted" version of a field, where I copied the field in multiple times.

-- Ken
--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"If you can't find it, you can't fix it"

Reply via email to