Hello.
I'm new to Solr and exploring its capabilities to use in my project.
I already implemented simple search and highlighting via Solr.
Now I need to implement search for related content.
As I understand the best way to do it is MoreLikeThis that I found
http://wiki.apache.org/solr/MoreLikeThis .
But when I tried to get MoreLikeThis results for document by ID the only
result I received is the document itself.
I run Solr on local machine from project example folder.
My Solr version is:
Solr Specification Version: 1.2.0
Solr Implementation Version: 1.2.0 - Yonik - 2007-06-02 17:35:12
Lucene Specification Version: 2007-05-20_00-04-53
Lucene Implementation Version: build 2007-05-20
shema.xml cut:
<field name="nid" type="integer" indexed="true" stored="true"/>
<field name="title" type="text" indexed="true" stored="true"
termVectors="true" />
<field name="body" type="text" indexed="true" stored="true"
termVectors="true" />
<uniqueKey>nid</uniqueKey>
URL with search conditions I'm executing:
http://localhost:8983/solr/select?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
Thanks