Commit 889923e2 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1185: Refactor tag handling, focus more on significant terms

Task-Url: https://pm.winseda.de/issues/1185
parent 62e379a0
......@@ -15,8 +15,8 @@ var Home = function(options) {
height: 500,
width: 700,
tagsize: {
factor: 80,
offset: 7
factor: 60,
offset: 12
}
},
analyzer: "Wordcloud",
......
......@@ -53,8 +53,8 @@ var QueryHandler = function(options) {
height: 500,
width: 700,
tagsize: {
factor: 80,
offset: 7
factor: 60,
offset: 12
}
}
}, options)
......@@ -369,7 +369,7 @@ QueryHandler.prototype.processResponseDatasources = function(datasources) {
// Deep clone of the original query
/*var tagQuery = jQuery.extend(true, {}, _this.query);*/
tagQuery.sourceIds = [ datasources[i].providerId ];
tagQuery.tagAggregator = this.options.wordcloud.tags.aggregator;
tagQuery.tagAggregator = "significant:" + this.options.wordcloud.tags.aggregator;
tagQuery.size = this.options.wordcloud.tags.size;
if (datasources[i].loadTags) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment