Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
Not able to call the MLT Handler with SOLR 3.x and SOLR 4.x like http://localhost:8983/solr/mlt. Looking in to the solrconfig.xml could see
<requestHandler name="mlt" class="solr.MoreLikeThisHandler">
<lst name="defaults">
<str name="mlt.mintf">1</str>
<str name="mlt.mindf">1</str>
<str name="mlt.minwl">3</str>
<str name="mlt.maxwl">15</str>
<str name="mlt.maxqt">20</str>
<str name="mlt.match.include">false</str>
<!-- Abort any searches longer than 1.5 seconds -->
<!-- <int name="timeAllowed">1500</int> -->
</lst>
</requestHandler>
After modifying the above requestHandler name to /mlt it worked by calling the above url. Attached the patch let me know am I missing anything on the caller for the MLT handler
Comment | File | Size | Author |
---|---|---|---|
solr-4.x.patch | 571 bytes | mcabalaji | |
solr-3.x.patch | 571 bytes | mcabalaji | |
Comments
Comment #1
mcabalaji CreditAttribution: mcabalaji commentedComment #2
mcabalaji CreditAttribution: mcabalaji commentedComment #3
mcabalaji CreditAttribution: mcabalaji commented