On Apr 21, 2011, at 8:46 PM, Brian Lamb wrote:

> Hi all,
> 
> I have an mlt search set up on my site with over 2 million records in the
> index. Normally, my results look like:
> 
> <response>
>  <lst name="responseHeader">
>    <int name="status">0</int>
>    <int name="QTime">204</int>
>  </lst>
>  <result name="match" numFound="41750" start="0">
>    <doc>
>      <str name="title">Some result.</str>
>    </doc>
>  </result>
>  <result name="response" numFound="130872" start="0">
>    <doc>
>      <str name="title">A similar result</str>
>    </doc>
>    ...
>  </result>
> </response>
> 
> And there are 100 results under response. However, in some cases, there are
> no results under "response". Why is this the case and is there anything I
> can do about it?

Is it because it couldn't find anything?  Or are you thinking there is a bug?  
You might try adding &debugQuery=true and see what gets parsed, etc. and then 
try running that query.


> 
> Here is my mlt configuration:
> 
> <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
>  <lst name="defaults">
>    <str name="mlt.fl">title,score</str>
>    <int name="mlt.mindf">1</int>
>    <int name="rows">100</int>
>    <str name="fl">*,score</str>
>   </lst>
> </requestHandler>
> 
> And here is the URL I use to get results:
> http://localhost:8983/solr/mlt/?q=title:Some random title
> 
> Any help on this matter would be greatly appreciated. Thanks!

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem docs using Solr/Lucene:
http://www.lucidimagination.com/search

Reply via email to