[ckan-dev] solr wildcards
Toby Dacre
toby.okfn at gmail.com
Fri Apr 13 08:37:08 UTC 2012
On 12 April 2012 23:11, David Raznick <kindly at gmail.com> wrote:
> Hello
>
> 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.
Toby
>
> David
>
>
> 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"
>> stored="false"/>
>>
>> Toby
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120413/f7dd48d0/attachment-0002.html>
More information about the ckan-dev
mailing list