lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Suggest component
Date Sat, 10 Dec 2011 01:31:27 GMT
Is the field indexed? I.e. indexed="true"? Just because you see values
there when you specify it in fl only says it's stored, not whether it's
available from the in ed terms. You might show us your schema file...
Best
Erick
On Dec 9, 2011 2:33 PM, "kmf" <kfoley73@gmail.com> wrote:

> I have the same exact problem as the OP and can't seem to figure out why
> it's
> not working.
>
> The indexed field to derive suggestions from is "name_auto" which is of
> type
> "text_general" in schema.xml.  I made some copyFields to have certain
> fields
> be put into "name_auto."  I can see that "name_auto" is being populated by
> running the following:
> http://localhost:8983/solr/select/?q=*:*&fl=name_auto,doc_type
>
> However when I do:
> http://localhost:8983/solr/suggest?q=vng
>
> I only get "numFound" = 6 which isn't correct.  It should be 2701.
>
> One thing I've tried as a troubleshooting method is to only create a
> copyField to put "gene_name" into "name_auto" and it doesn't get populated.
> However, if I create a copyField for "gene_function_name" that gets copied
> into "name_auto" just fine.  Both gene_name and gene_function_name are
> fields of a query in my DIH.
>
> Any thoughts on where I'm going wrong or how to better troubleshoot?
>
> Thanks.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Suggest-component-tp2725438p3573835.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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