[ckan-changes] [okfn/ckan] 814b46: [master][#1547] Abort search flag
GitHub
noreply at github.com
Tue Jan 17 15:54:37 UTC 2012
Branch: refs/heads/master
Home: https://github.com/okfn/ckan
Commit: 814b468d0b138681cfc402f73b1d9fe6cc3e5775
https://github.com/okfn/ckan/commit/814b468d0b138681cfc402f73b1d9fe6cc3e5775
Author: amercader <amercadero at gmail.com>
Date: 2012-01-17 (Tue, 17 Jan 2012)
Changed paths:
M ckan/logic/action/get.py
M ckan/tests/functional/api/test_action.py
Log Message:
-----------
[master][#1547] Abort search flag
If extensions add an `abort_search` = True pair to the search_params
dict returned by the `before_search` plugin hook, the actual query
to Solr will be skiped and 0 results will be returned.
Useful e.g. if the extension has performed a previous query that returned
no records and the Solr one is no longer needed.
More information about the ckan-changes
mailing list