MoreLikeThis (MLT) in 1.4 distributed

2009-08-18 Thread mike anderson
I'm trying to get MLT working in 1.4 distributed mode. I was hoping the patch *SOLR-788 *would do the trick, but after applying the patch by hand to revision 737810 (it kept choking on component/MoreLikeThisComponent.java) I still get nothing. The URL I am using is this: http://localhost:8983/solr

Re: MoreLikeThis (MLT) in 1.4 distributed

2009-08-18 Thread Grant Ingersoll
Are there errors in the logs? -Grant On Aug 18, 2009, at 10:42 AM, mike anderson wrote: I'm trying to get MLT working in 1.4 distributed mode. I was hoping the patch *SOLR-788 *would do the trick, but after applying the patch by hand to revision 737810 (it kept choking on component/MoreLike

Re: MoreLikeThis (MLT) in 1.4 distributed

2009-08-18 Thread mike anderson
There doesn't appear to be any related errors in the log. I've included it below anyhow (there is a java.lang.NumberFormatException, i'm not sure what that is). thanks, mike for the query: http://localhost:8983/solr/select?q=%22theory%20of%20colorful%20graphs%22&mlt=true&mlt.fl=abstract&mlt.mindf=

Re: MoreLikeThis (MLT) in 1.4 distributed

2009-08-18 Thread mike anderson
Perhaps it was something about the way I applied the patch by hand, but after trying it again (on a later revision, maybe that was the trick), I got solr to acknowledge I was using MLT when also passing the shards parameter. However, unlike a query without shards, I get numFound=0 for all results: