lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Stewart" <cane.c...@gmail.com>
Subject Re: Search for related content
Date Sat, 29 Dec 2007 19:17:15 GMT
Isn't MoreLikeThis only available in the 1.3-dev builds?

jds

On Dec 29, 2007 10:07 AM, Otis Gospodnetic <otis_gospodnetic@yahoo.com> wrote:
> Instead of:
>
> http://localhost:8983/solr/select?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
>
> Try:
>
> http://localhost:8983/solr/mlt?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
>
> If that doesn't work, look at your solrconfig.xml and make sure you have /mlt handler
defined.
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
> ----- Original Message ----
> From: Vladimir Garvardt <vgarvardt@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Saturday, December 29, 2007 5:32:50 AM
> Subject: Search for related content
>
> 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
>
>
>
>

Mime
View raw message