Thanks Alexey, this is working.
I've split it into query and boostQuery using dismax and it gives some
appropriate results.
Cheers,
Chantal
Alexey Serba schrieb:
Or maybe it's
possible to tweak MoreLikeThis just to return the fields and terms that
could be used for a search on the other core
Chantal,
What you described in the last sentence should work. You can search by example
by using the whole or some portion of doc from core A as the query against core
B. That is, more or less, what MLT does under the hood anyway.
Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.h
> Or maybe it's
> possible to tweak MoreLikeThis just to return the fields and terms that
> could be used for a search on the other core?
Exactly
See parameter mlt.interestingTerms in MoreLikeThisHandler
http://wiki.apache.org/solr/MoreLikeThisHandler
You can get interesting terms and build query