Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello, for Cx_val, there is some fields which are multivalued :) for AllChamp_fr, AllChamp_en..., i juste added them to the schema to test if edismax work. 2014-07-01 17:13 GMT+02:00 Daniel Collins [via Lucene] < ml-node+s472066n4145024...@n3.nabble.com>: > Ok, firstly to say you need to fi

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread Daniel Collins
Ok, firstly to say you need to fix your problem but you can't modify the schema, doesn't really help. If the schema is setup badly, then no amount of help at search time will ever get you the results you want... Secondly, from what I can see in the schema, there is no AllChamp_fr, AllChamp_en, et

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
hello erick, unfortunately i can't modify the schema , me and my team analyzed carefully the problem, so all fields you seeing are required on schema. now i just tested to do different fields maybe it could work if i knew syntaxe of edismax: and on config this is SearchHandler but i

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread Erick Erickson
OK, back up a bit and consider alternative indexing schemes. For instance, do you really need all those fields? Could you get away with one field where you indexed the field _name_ + associated value? (you'd have to be very careful with your analysis chain, but...) Something like: C67_val_value1 a

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
and i use dynamicfields for NomDocument,ContenuDocument,Postit exemple: ContenuDocument_fr, ContenuDocument_en,ContenuDocument_ar NomDocument,ContenuDocument,Postit language_s fr en,fr,ar true is there any other solution to not separate fileds? Best regards A

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
i have documents (ar, en , fr) i need to index them and keeping analyzer and filter for each languages. here is all fields on schema to enderstand my probleme:

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread Alexandre Rafalovitch
But aren't you already creating those 300 fields anyway: If you mean you have issues specifying them in eDisMax, I believe 'qf' parameter allows to specify a wildcard. Alternatively, you can look at the example used in Solr In Action book: https://github.com/treygrainger/solr-in-action/tree/mas

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello, i have 300 feilds which are copied on "AllChamp" if i want to do separated fields then i need to create 300 * Number of languages i have, which is not logical for me. is there any other solution? Best regards Anass BENJELLOUN 2014-07-01 11:28 GMT+02:00 Alexandre Rafalovitch [via Lucene]

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread Alexandre Rafalovitch
I believe, you were already answered. If you want to have text parsed/analyzed in different ways, you need to have them in separate fields with separate analyzer stacks. Then use disMax/eDisMax to search across those fields. copyField copies the original content and therefore when you search the

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello, here is my configuration which don't work: shema: config: explicit velocity browse layout Solritas edismax *_ar^2 *_fr^3 *_en^2.2 AllChamp 100% *:* 10 *,

Re: CopyField can't copy analyzers and Filters

2014-06-30 Thread Steve McKay
Three fields: AllChamp_ar, AllChamp_fr, AllChamp_en. Then query them with dismax. On Jun 30, 2014, at 11:53 AM, benjelloun wrote: > here is my schema: > > required="false" stored="false"/> > required="false" multiValued="true"/> > > required="false" multiValued="true"/> > > required="fa