Re: MoreLikeThis throwing NPE

2007-09-10 Thread George L
Looks like the query field has to be stored for MLT. It was failing when i had both query field and similarity fields unstored before. MLT is working fine with this configuration query_field - indexed and stored similarity_field - indexed, unstored and termvectors stored. But why should the que

Re: MoreLikeThis throwing NPE

2007-09-09 Thread Ryan McKinley
Can somebody help me please, i have already spent a whole saturday night with the trunk code ;-( Also, do you get the same error with an empty database?

Re: MoreLikeThis throwing NPE

2007-09-09 Thread Ryan McKinley
George L wrote: I have been trying the MLT Query using EmbeddedSolr and SolrJ clients, which is resulting in NPE. Do you get the same error without solrj? Can you run the same query with: http://localhost:8987/solr/select?q=id:11&mlt=true (just to make sure we only need to look at

MoreLikeThis throwing NPE

2007-09-09 Thread George L
I have been trying the MLT Query using EmbeddedSolr and SolrJ clients, which is resulting in NPE. It looks like a problem as mentioned here https://issues.apache.org/jira/browse/LUCENE-819 If that is the case,how to fix this? The MLT field has been stored with termvectors. The query i used and t