lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George L" <georgel2...@gmail.com>
Subject Re: MoreLikeThis throwing NPE
Date Mon, 10 Sep 2007 08:44:33 GMT
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 query field be stored?

It will be nice if http://wiki.apache.org/solr/FieldOptionsByUseCase is
updated.

-- 
Thanks
George L


On 9/9/07, Ryan McKinley <ryantxu@gmail.com> wrote:
>
> 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:100001&mlt=true....
>
> (just to make sure we only need to look at the MLT code)
>
> ryan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message