Re: Filtering MoreLikeThis results

2009-07-17 Thread Marc Sturlese
I have tried it. My english is probably not the best one to do this stuff so if someone wants to check it out... hossman wrote: > > > : At least in trunk, if you request for: > : http://localhost:8084/solr/core_A/mlt?q=id:7468365&fq=price[100 TO 200] > : It will filter the MoreLikeThis results

Re: Filtering MoreLikeThis results

2009-07-16 Thread Chris Hostetter
: At least in trunk, if you request for: : http://localhost:8084/solr/core_A/mlt?q=id:7468365&fq=price[100 TO 200] : It will filter the MoreLikeThis results I think a big part of the confusion people have about this is the distinction between the MLT RequestHandler, and the MLT SearchComponent.

Re: Filtering MoreLikeThis results

2009-07-07 Thread Yao Ge
The answer to my owner question: ... ... would work. -Yao Yao Ge wrote: > > I am not sure about the parameters for MLT the requestHandler plugin. Can > one of you share the solrconfig.xml entry for MLT? Thanks in advance. > -Yao > > > Bill Au wrote: >> >> I have been using th

Re: Filtering MoreLikeThis results

2009-07-07 Thread Yao Ge
I am not sure about the parameters for MLT the requestHandler plugin. Can one of you share the solrconfig.xml entry for MLT? Thanks in advance. -Yao Bill Au wrote: > > I have been using the StandardRequestHandler (ie /solr/select). fq does > work with the MoreLikeThisHandler. I will switch to

Re: Filtering MoreLikeThis results

2009-07-07 Thread Bill Au
I have been using the StandardRequestHandler (ie /solr/select). fq does work with the MoreLikeThisHandler. I will switch to use that. Thanks. Bill On Tue, Jul 7, 2009 at 11:02 AM, Marc Sturlese wrote: > > At least in trunk, if you request for: > http://localhost:8084/solr/core_A/mlt?q=id:7468

Re: Filtering MoreLikeThis results

2009-07-07 Thread Marc Sturlese
At least in trunk, if you request for: http://localhost:8084/solr/core_A/mlt?q=id:7468365&fq=price[100 TO 200] It will filter the MoreLikeThis results Bill Au wrote: > > I think fq only works on the main response, not the mlt matches. I found > a > couple of releated jira: > > http://issues.a

Re: Filtering MoreLikeThis results

2009-07-07 Thread Bill Au
I think fq only works on the main response, not the mlt matches. I found a couple of releated jira: http://issues.apache.org/jira/browse/SOLR-295 http://issues.apache.org/jira/browse/SOLR-281 If I am reading them correctly, I should be able to use DIsMax and MoreLikeThis together. I will give t

Re: Filtering MoreLikeThis results

2009-07-07 Thread Marc Sturlese
Using MoreLikeThisHandler you can use fq to filter your results. As far as I know bq are not allowed. Bill Au wrote: > > I have been trying to restrict MoreLikeThis results without any luck also. > In additional to restricting the results, I am also looking to influence > the > scores similar t

Re: Filtering MoreLikeThis results

2009-07-06 Thread Bill Au
I have been trying to restrict MoreLikeThis results without any luck also. In additional to restricting the results, I am also looking to influence the scores similar to the way boost query (bq) works in the DisMaxRequestHandler. I think Solr's MoreLikeThis depends on Lucene's contrib queries More