Hi

I use solr [1] on ubuntu 14.04. I am trying to define a dynamicField on a custom type (ie nont built in like "int"). I don't see something mentioned in the documentation that prohibits it but I can't seem to make it work.

For a built in type, my code can index fine the following in schema.xml
<fields>
<dynamicField name="lala_*" type="int"   indexed="true" stored="false"/>
<fields>

but can't index with

<types>
<fieldType name="tlala" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
</types>

<fields>
<dynamicField name="lala_*" type="tlala" indexed="true" stored="false"/>
</fields>

I get the following:
HTTP Status 400 - ERROR: [doc=123] Error adding field 
'lala_1'='50.657398,-2.366020'

If you need any more info let me know.

Regards
Vangelis


[1]
Solr Specification Version: 3.5.0.2011.11.22.14.54.38
Solr Implementation Version: 3.5.0 1204988 - simon - 2011-11-22 14:54:38
Lucene Specification Version: 3.5.0
Lucene Implementation Version: 3.5.0 1204988 - simon - 2011-11-22 14:46:51

Reply via email to