[ckan-dev] solr wildcards
toby.okfn at gmail.com
Fri Apr 13 09:37:08 BST 2012
On 12 April 2012 23:11, David Raznick <kindly at gmail.com> wrote:
> I am on the fence on this one.
> Whilst it seems like a great idea, that we can add any extra fields as
> ints or datetimes the issue we have is mapping things to and from the
> original names. The field names normally have some meaning to the
> application especially for use in faceting.
> There are also name spacing concerns. Something uglier like _int_* and
> _datetime_* makes more sense to me as we can more easily restrict other
> fields to not start with an underscore and its marginally easier to strip
> the type stuff automatically.
This would be easier to automatically process :) My feelings for is
flexibility and not having to mess with the solr schema, against is the
lack of explicitly what's in solr but as the schema is pretty unreadable I
think this is a minor issue.
> On Thu, Apr 12, 2012 at 5:35 PM, Toby Dacre <toby.okfn at gmail.com> wrote:
>> Adria/David Raz,
>> as well as
>> <dynamicField name="*" type="string" indexed="true" stored="false"/>
>> is it also worth adding some other wildcards to reduce the number of
>> schema changes?
>> <dynamicField name="*_int" type="int" indexed="true" stored="false"/>
>> <dynamicField name="*_datetime" type="datetime" indexed="true"
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-dev