lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: copyField from multiple fields into one
Date Mon, 26 Oct 2009 09:38:45 GMT
It should have worked as expected.
See if your "name" field is getting populated.

Cheers
Avlesh

2009/10/26 Steinar Asbjørnsen <steinarasb@gmail.com>

> Hi all.
>
> I'm currently working on setting up spelling suggestion functionality.
> What I'd like is to put the values of two fields ("keyword" and "name")into
> the spell-field.
> Something like (from schema.xml):
> <field name="spell" type="textSpell" indexed="true" stored="true"
> multiValued="true"/>
> ...
> <copyField source="keyword" dest="spell"/>
> <copyField source="name" dest="spell"/>
>
> As far as i can see I only get suggestions from the keyword-field, and not
> from the name-field.
>
> So my question is:
> Is it possible to copy both "keyword" and "name" into the "spell"-field?
>
> Thanks,
> Steinar
>
>

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