[ckan-changes] [okfn/ckan] dcf630: [#739] Add support for boost parameter in queries

GitHub noreply at github.com
Mon Apr 22 08:54:31 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: dcf6307619c5820e28cbe59003264eea32322ef5
      https://github.com/okfn/ckan/commit/dcf6307619c5820e28cbe59003264eea32322ef5
  Author: amercader <amercadero at gmail.com>
  Date:   2013-04-12 (Fri, 12 Apr 2013)

  Changed paths:
    M ckan/lib/search/query.py

  Log Message:
  -----------
  [#739] Add support for boost parameter in queries


  Commit: a831e431c07c05dcf2bf68216ad10ffcdb38cc6a
      https://github.com/okfn/ckan/commit/a831e431c07c05dcf2bf68216ad10ffcdb38cc6a
  Author: amercader <amercadero at gmail.com>
  Date:   2013-04-12 (Fri, 12 Apr 2013)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#739] Document new search parameters


  Commit: 7d12663890da127c2426abf94a44da5cd8514846
      https://github.com/okfn/ckan/commit/7d12663890da127c2426abf94a44da5cd8514846
  Author: amercader <amercadero at gmail.com>
  Date:   2013-04-12 (Fri, 12 Apr 2013)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#739] Pop extras from query parameters before sending them to Solr

Also move them from the root search params dict to 'extras', so they can
be also be used on GET requests, eg:

http://ckan/api/action/package_search?q=dogs&ext_bbox=1.36,41.13,1.38,41.15

gets transformed to:

{
    'q': 'dogs',
    'extras': {
  'ext_bbox': '1.36,41.13,1.38,41.15'
    }
}


  Commit: 502336d29c4a09cb5fdcd1dd4789ab55d075e754
      https://github.com/okfn/ckan/commit/502336d29c4a09cb5fdcd1dd4789ab55d075e754
  Author: amercader <amercadero at gmail.com>
  Date:   2013-04-12 (Fri, 12 Apr 2013)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#739] Partially revert 7d1266 as extensions needs 'extras' on after_search


  Commit: 0b796a53399aa55753ef0eef3dd6636925cadf57
      https://github.com/okfn/ckan/commit/0b796a53399aa55753ef0eef3dd6636925cadf57
  Author: John Glover <glover.john at gmail.com>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Merge pull request #758 from okfn/739-add-extra-options-to-query

739 add extra options to query


Compare: https://github.com/okfn/ckan/compare/33b7260de5a0...0b796a53399a


More information about the ckan-changes mailing list