lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Mannina <bmann...@free.fr>
Subject Dynamic Field Name?
Date Mon, 02 Jul 2012 10:02:40 GMT
Dear All,

In my XML files to index I have several abstract fields with different 
languages.
I.e: ABEN, ABIT, ABFR, ABPT, etc....

I would like to:
Index & Store only the ABEN
and
Only Store all other AB* fields

Is it possible to write in the schema.xml

<field name="ABEN" type="text_en" indexed="true" stored="true" 
multivalued="true" />
<dynamic name="AB*" type="text_general" indexed="false" stored="true" 
multivalued="true" />

PS: multivalues because sometimes I have 2 or 3 items in the same <doc>

Thanks for your comment,
Bruno

Mime
View raw message