On 8/28/2012 5:47 AM, Nick Koton wrote:
I am having difficulty getting MLT to work with a cloud configuration in
SOLR 4 beta. I have reproduced it with the "example" schema and data from
the distribution:
http://hostname:8983/solr/example/select?
q=id:VDBDB1A16&mlt=true&mlt.fl=text,features,name,sku,id,manu,cat,title,desc
ription,keywords,author,resourcename
When I direct this at a single instance SOLR server I get the first response
below while the second response shows the cloud system's response. The
"moreLikeThis" section is missing. However, if I make an error in the query
syntax (like missing mlt.fl) I see the error from both.
As of right now, Solr does not support MLT with distributed search. An
issue was filed in May of 2009 to fix this. There are a number of
patches on the issue, but they don't apply to the current codebase. I
don't know the Solr code well enough to understand what the patch does,
or I would have already offered up a new patch.
https://issues.apache.org/jira/browse/SOLR-788
Thanks,
Shawn