Thanks for the quick reply.

Ok for dynamicFields but  how can i rename fields during indexation/search to 
add suffix corresponding to the type ?  

What is the best way to do this?

Nourredine.




________________________________
De : Yonik Seeley <yo...@lucidimagination.com>
À : solr-user@lucene.apache.org
Envoyé le : Jeudi, 10 Septembre 2009, 14h24mn 26s
Objet : Re: Indexing fields dynamically

On Thu, Sep 10, 2009 at 5:58 AM, nourredine khadri
<nourredin...@yahoo.com> wrote:
> I want to index my fields dynamically.
>
> DynamicFields don't suit my need because I don't know fields name in advance 
> and fields type must be set > dynamically too (need strong typage).

This is what dynamic fields are meant for - you pick both the name and
type (from a pre-defined set of types of course) at runtime.  The
suffix of the field name matches one of the dynamic fields and
essentially picks the type.

-Yonik
http://www.lucidimagination.com



      

Reply via email to