Fixed new bug for query-based reconciliation introduced by factoring out the freebase extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1611 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
0e0c3ccea2
commit
9b8206da29
main
src/com/google/refine/model/recon
webapp/modules/core/scripts
@ -45,7 +45,7 @@ abstract public class ReconConfig implements Jsonizable {
|
|||||||
String mode = obj.getString("mode");
|
String mode = obj.getString("mode");
|
||||||
|
|
||||||
// Backward compatibility
|
// Backward compatibility
|
||||||
if ("extend".equals(mode) || "strict".equals("mode")) {
|
if ("extend".equals(mode) || "strict".equals(mode)) {
|
||||||
mode = "freebase/" + mode;
|
mode = "freebase/" + mode;
|
||||||
} else if ("heuristic".equals(mode)) {
|
} else if ("heuristic".equals(mode)) {
|
||||||
mode = "core/standard-service"; // legacy
|
mode = "core/standard-service"; // legacy
|
||||||
|
@ -7,7 +7,7 @@ function HistoryPanel(div, tabHeader) {
|
|||||||
HistoryPanel.prototype.resize = function() {
|
HistoryPanel.prototype.resize = function() {
|
||||||
var body = this._div.find(".history-panel-body");
|
var body = this._div.find(".history-panel-body");
|
||||||
var controls = this._div.find(".history-panel-controls");
|
var controls = this._div.find(".history-panel-controls");
|
||||||
var bodyControls = this._div.find(".history-panel-body-controls");
|
var bodyControls = this._div.find(".history-panel-filter");
|
||||||
var nowDiv = this._div.find(".history-now");
|
var nowDiv = this._div.find(".history-now");
|
||||||
|
|
||||||
var bodyPaddings = body.outerHeight(true) - body.height();
|
var bodyPaddings = body.outerHeight(true) - body.height();
|
||||||
|
@ -68,7 +68,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
|
|||||||
bodyParams = {
|
bodyParams = {
|
||||||
columnName: this._column.name,
|
columnName: this._column.name,
|
||||||
config: JSON.stringify({
|
config: JSON.stringify({
|
||||||
mode: "strict",
|
mode: "freebase/strict",
|
||||||
match: "key",
|
match: "key",
|
||||||
namespace: namespace
|
namespace: namespace
|
||||||
})
|
})
|
||||||
@ -77,7 +77,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
|
|||||||
bodyParams = {
|
bodyParams = {
|
||||||
columnName: this._column.name,
|
columnName: this._column.name,
|
||||||
config: JSON.stringify({
|
config: JSON.stringify({
|
||||||
mode: "strict",
|
mode: "freebase/strict",
|
||||||
match: "id"
|
match: "id"
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
@ -85,7 +85,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
|
|||||||
bodyParams = {
|
bodyParams = {
|
||||||
columnName: this._column.name,
|
columnName: this._column.name,
|
||||||
config: JSON.stringify({
|
config: JSON.stringify({
|
||||||
mode: "strict",
|
mode: "freebase/strict",
|
||||||
match: "guid"
|
match: "guid"
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user