[ckan-dev] Performance CKAN / Configuration Parameters

Ian Ward ian at excess.org
Wed Aug 20 17:50:42 UTC 2014


On Wed, Aug 20, 2014 at 3:33 AM, hotz <hotz at informatik.uni-hamburg.de> wrote:
> Perhaps it's seems not to be a good idea to put the full-text in an extra
> field. However,
> it was the direct/easiest way to do it and have indexing...
>
> Is it possible to adding a field to the SOLR-schema without many changes?
> This field
> would than be outside the data_dict. It would only be needed for indexing
> and highlighting
> text passages.

Yes, an IPackageController plugin with a before_search method should
let you do this without bloating your packages' data_dict
representations with the actual data stored. That should give you the
content search you want and maintain reasonable performance on the
front end.

A generic extension that included the data contents in solr this way
would be a really useful thing, actually.

Ian



More information about the ckan-dev mailing list