Browse Source

giving request layers higher precedence (compared to the layers specified in queryMixer)

pull/90/head
Harish Krishna 10 years ago
parent
commit
898896bc24
  1. 2
      query/suggest.js

2
query/suggest.js

@ -34,7 +34,7 @@ function generate( params, query_mixer, fuzziness ){
'size' : this.params.size, 'size' : this.params.size,
'field' : 'suggest', 'field' : 'suggest',
'context': { 'context': {
'dataset': layers || this.params.layers, 'dataset': this.params.layers || layers,
'location': { 'location': {
'value': null, 'value': null,
'precision': precision || this.get_precision() 'precision': precision || this.get_precision()

Loading…
Cancel
Save