[ckan-changes] [ckan/ckan] ed9ece: [#1838] Calculate FTS rankings only on specific co...
GitHub
noreply at github.com
Mon Jul 21 09:34:53 UTC 2014
Branch: refs/heads/1838-fts-on-specific-columns
Home: https://github.com/ckan/ckan
Commit: ed9ece0fadb4891b8012fbd2e9ff4682b9c94f1c
https://github.com/ckan/ckan/commit/ed9ece0fadb4891b8012fbd2e9ff4682b9c94f1c
Author: Vitor Baptista <vitor at vitorbaptista.com>
Date: 2014-07-21 (Mon, 21 Jul 2014)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_search.py
Log Message:
-----------
[#1838] Calculate FTS rankings only on specific columns
The bug was that when we've done a full-text query on a specific column, the
query was OK, but the rank was calculated using all text from the row. It
messed up when trying to get DISTINCT values.
Commit: d949a018e03c65998620ab510a255aa65904fd83
https://github.com/ckan/ckan/commit/d949a018e03c65998620ab510a255aa65904fd83
Author: Vitor Baptista <vitor at vitorbaptista.com>
Date: 2014-07-21 (Mon, 21 Jul 2014)
Changed paths:
M ckanext/datastore/tests/test_create.py
Log Message:
-----------
[#1838] Fix tests where we were asserting a assert_equals
Compare: https://github.com/ckan/ckan/compare/27f54220cc8a...d949a018e03c
More information about the ckan-changes
mailing list