lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: SOLR-1131 - Multiple Fields per Field Type
Date Wed, 09 Dec 2009 19:41:25 GMT
Here's an example of how everything could work with dynamic fields
(apologies if it it overlaps with examples already given by others in
this thread) :

<fieldType name="point" fieldSuffix="_latlon" .../>  // the subFields
for the points end in _latlon
<field name="home" type="point"/>
<dynamicField name="*_latlon" type="tdouble" indexed="true" stored="false"/>

// And we also want to allow point dynamic fields
<dynamicField name="*_point" type="point"/>

// Note: Grant make point more generic than geo, so it's 0 and 1
instead of lat and lon
// OK, so now the indexed fields for home would be

// And the indexed fields for dynamic field work_point would be

Not the prettiest names... but I think everything is well defined (how
it would work with subFields of differing types.. have another param
specifying a different suffix, how it works with dynamic fields, etc).

So... the question is, do we have a concrete alternative to this that
is well fleshed out?


View raw message