lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shamik Bandopadhyay <>
Subject MLT weird behaviour in Solrcloud
Date Tue, 01 Jul 2014 19:12:47 GMT

  I'm trying to use "mlt" request handler in a Solrcloud cluster.
Apparently, its showing some weird behavior. I'm getting response randomly,
it's able to return results randomly for the same query. I'm using Solrj
client which in turn communicates the cluster using zookeeper ensemble.
Here's my mlt request handler.

<!-- mlt request handler -->
<requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
<str name="echoParams">explicit</str>
<str name="wt">velocity</str>
<str name="v.template">browse</str>
<str name="v.contentType">text/html;charset=UTF-8</str>
<str name="v.layout">layout</str>
<str name="">mlt</str>
<str name="title">Project Sunshine - Mlt</str>
<str name="mlt.fl">title,text,language,caaskey</str>
<int name="mlt.mintf">2</int>
<int name="mlt.mindf">1</int>
<int name="mlt.minwl">3</int>
<int name="mlt.maxwl">1000</int>
<int name="mlt.maxqt">50</int>
<int name="mlt.maxntp">5000</int>
<str name="rows">4</str>
<bool name="mlt.boost">true</bool>
<str name="mlt.qf">title,textlanguage,caaskey</str>
<!--<str name="mlt.interestingTerms">details</str>-->
<!-- Shard Tolerant -->
<str name="shards.tolerant">true</str>
<lst name="appends">
<str name="fq">Source2:("TestSource" OR "help"</str>
<str name="shards.qt">/mlt</str>

Here's a sample query :


I've tried removing collapsing and composite key from the query, but it
didn't make any difference. I've 2 shards with a replica each. Weird part
is, same shard/replica which returns result for a given request, behaves
differently next time, i.e. doesn't return data at all. If I use any other
request handler, I'm getting response back for the given query. So,
something is not right with the "mlt" request handler.

Is this a known issue with solrcloud ? Any pointer will be appreciated.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message