Re: MoreLikeThis/These and Queries

2009-01-19 Thread Clas Rydergren
ct version and the problem was that fq applies only > to the original query rather than the mlt results which are effectively > separate queries. > > > Clas Rydergren wrote: >> >> Hi, >> >> Even if you use the /solr/select-version of MLT, I guess that just >>

Re: MoreLikeThis/These and Queries

2009-01-19 Thread Clas Rydergren
my > config file, do you know how I can enable it? > > Regards, > Andrew Ingram > > Clas Rydergren wrote: >> >> Hi, >> >> Have you tried to add a filter directly to the /solr/mlt?q=-request? >> Try to add "&fq=available:yes", and see if

Re: MoreLikeThis/These and Queries

2009-01-19 Thread Clas Rydergren
Hi, Have you tried to add a filter directly to the /solr/mlt?q=-request? Try to add "&fq=available:yes", and see if you can limit the MoreLikeThis-documents to documents that has "yes" in the "available"-field. I have had some success with this approach. /Clas, Frisim.com On Mon, Jan 19, 2009

Re: Solr/Lucene MoreLikeThis with RangeQuery

2009-01-09 Thread Clas Rydergren
Hi, Thanks for the help. >If i'm understanding you correctly, you modified the MoreLikeThis class to >include your new clause (using those two lines above) correct? Yes. The time field is a "long" and so is the range variables, so the problem should not be related to that. If I construct the qu

Solr/Lucene MoreLikeThis with RangeQuery

2008-12-28 Thread Clas Rydergren
Hi, I have been playing around with the MoreLikeThis-query handler in Solr/Lucene. I am in a situation where I think that I can improve the quality of the LikeThis-documents significantly by restricting the MoreLikeThis-query to documents where one field has its term in a specified range. That is,

Re: More details on my MoreLikeThis mlt.qf boosting problem

2008-09-16 Thread Clas Rydergren
Hoss, thanks for the response and confirmation. Yes, from reading the comments in the Lucene source of MoreLikeThis.java I have now realized that the field used in the TermQuery is "the top field that this word comes from". The SimilarityQuery is restricted to this field only for the specific word

More details on my MoreLikeThis mlt.qf boosting problem

2008-09-13 Thread Clas Rydergren
Hi, I have tested MoreLikeThis in Solr (nightly build from September 8 which includes the patch SOLR-595) and have problems with the mlt.qf-boosting option. The standard (example) Solr configuration is modified the following ways. The solrconfig.xml is only modified to: In S

MoreLikeThis mlt.qf boosting

2008-09-08 Thread Clas Rydergren
Hi! I have been testing the MoreLikeThis feature in Solr. I have indexed a subset of Wikipedia with the fields title (the title of the Wikipedia page) and content (the Wikipedia page content). When performing a MoreLikeThis request on this index as: http://server:8983/solr/mlt?stream.body=google+y