You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ian Sugar <ia...@gmail.com> on 2009/02/09 16:50:53 UTC
Multi-valued dynamic fields in schema.xml
Hi
I'd like to use multi-valued dynamic fields.
Example:
<dynamicField name="*_s" type="string" indexed="true" stored="true"/>
<!-- a normal dynamic field for strings -->
<dynamicField name="*_sm" type="string" indexed="true" stored="true"
multiValued="true" /> <!-- a dynamic field for multi-valued string fields
-->
Seems to work fine so far, but it doesn't seem to be described in the wiki
here http://wiki.apache.org/solr/SchemaXml
Just wanted to check if it's a known and deliberate feature and if anyone
knows of any issues with using it?
Thanks!
Ian
Re: Multi-valued dynamic fields in schema.xml
Posted by Bruno Aranda <br...@gmail.com>.
Hi,
I asked the same question a few days ago. Using multiValued dynamic fields
is fine even if the documentation or examples do not say anything about it,
Cheers,
Bruno
2009/2/9 Ian Sugar <ia...@gmail.com>
> Hi
>
> I'd like to use multi-valued dynamic fields.
>
> Example:
>
> <dynamicField name="*_s" type="string" indexed="true" stored="true"/>
> <!-- a normal dynamic field for strings -->
> <dynamicField name="*_sm" type="string" indexed="true" stored="true"
> multiValued="true" /> <!-- a dynamic field for multi-valued string fields
> -->
>
> Seems to work fine so far, but it doesn't seem to be described in the wiki
> here http://wiki.apache.org/solr/SchemaXml
>
> Just wanted to check if it's a known and deliberate feature and if anyone
> knows of any issues with using it?
>
> Thanks!
>
> Ian
>