[ckan-dev] Search: uniqueKey when indexing

David Read david.read at okfn.org
Tue Nov 8 18:29:55 UTC 2011


I like this change to the schema.

I guess we can just have migration script which rebuilds the search
index for a CKAN instance when it is upgraded to the new schema?

David

2011/11/8 Adrià Mercader <adria.mercader at okfn.org>:
> Hi all,
>
> As you may know, with some kind help from Rufus and Friedrich we
> solved the issues with the IATI SOLR server [1] (A misconfiguration
> issue made that both cores shared the same data dir).
> While investigating the issue, I changed the indexing code and the
> SOLR schema to use a generated hash as unique key instead of the
> package id [2]. This turned out to be not relevant to the IATI issue,
> but I think it might be worth keeping it and merging to default at
> some point (not for 1.5!). Think e.g in a CKAN instance that harvests
> records from another one and both share the same SOLR server.
> The only problem is that schemas will need to be updated and indexes
> rebuilt, so there will be some migration work to do.
>
> What do you guys think?
>
>
> Adrià
>
>
>
> [1] http://trac.ckan.org/ticket/1430
> [2] https://bitbucket.org/okfn/ckan/changeset/855f5a452f60
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>




More information about the ckan-dev mailing list