lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve McKay <st...@b.abbies.us>
Subject Re: CopyField can't copy analyzers and Filters
Date Tue, 01 Jul 2014 00:24:05 GMT
Three fields: AllChamp_ar, AllChamp_fr, AllChamp_en. Then query them with dismax.

On Jun 30, 2014, at 11:53 AM, benjelloun <anass.bnj@gmail.com> wrote:

> here is my schema: 
> 
> <field name="AllChamp" type="text_general" multiValued="true" indexed="true"
> required="false" stored="false"/>
> <dynamicField name="*_en" type="text_en" indexed="true" stored="true"
> required="false" multiValued="true"/>
> 
> <dynamicField name="*_fr" type="text_fr" indexed="true" stored="true"
> required="false" multiValued="true"/>
> 
> <dynamicField name="*_ar" type="text_ar" indexed="true" stored="true"
> required="false" multiValued="true"/>
> 
> <copyField source="*_ar" dest="AllChamp"/>
> <copyField source="*_fr" dest="AllChamp"/>
> <copyField source="*_en" dest="AllChamp"/>
> 
> when i index documents then search on this field "AllChamp" that don't do
> analyzer and filter.
> I know that CopyField can't copy analyzers and Filters, so how to keep
> analyzer and filter on Field: "AllChamp"?
> 
> Exemple: 
> 
> I search for : AllChamp:presenton  --> num result=0 
>                   AllChamp:présenton  --> num result=1 
> 
> thanks for help, 
> best regards, 
> Anass BENJELLOUN 
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message