Browse Source

context suggester is broken (ES v 2.0.0 will possibly have a fix) https://github.com/elasticsearch/elasticsearch/issues/6444

pull/66/head
Harish Krishna 10 years ago
parent
commit
2e1ce6f293
  1. 2
      query/suggest.js

2
query/suggest.js

@ -36,7 +36,7 @@ function generate( params, query_mixer, fuzziness ){
'context': { 'context': {
'dataset': layers || this.params.layers, 'dataset': layers || this.params.layers,
'location': { 'location': {
'value': [ ], 'value': null,
'precision': precision || this.get_precision() 'precision': precision || this.get_precision()
} }
}, },

Loading…
Cancel
Save