lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steinar Asbjørnsen <steinar...@gmail.com>
Subject Re: copyField from multiple fields into one
Date Mon, 26 Oct 2009 12:37:56 GMT
The "name"-field is populated.
But I cannot see that solr gives me any suggestions based on that field.
Seems to work fine with the "keyword"-field tho.

Regards,
Steinar

Den 26. okt. 2009 kl. 10.38 skrev Avlesh Singh:

> 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
View raw message