lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: moreLikeThis with filter?
Date Tue, 12 Jul 2011 16:55:36 GMT
(11/07/13 1:40), Elaine Li wrote:
> Hi Folks,
>
> I need to filter out the returns if the document's field activated = false.
>
> I tried the following in order to retrieve similar products which are
> all activated products. But this does not work.
> http://localhost:8983/solr/mlt?q=(id:2043144 AND activated:true)&mlt.count=10
>
> Can you suggest something?

Try MoreLikeThisHandler instead of MoreLikeThisComponent:

http://wiki.apache.org/solr/MoreLikeThis#MoreLikeThisHandler

koji
-- 
http://www.rondhuit.com/en/

Mime
View raw message