Update more_like_this console template (#16935) (#16936)

This commit is contained in:
Luis Pallares 2018-03-07 21:10:35 +01:00 committed by Jonathan Budzenski
parent aec8390558
commit bd7f4dbe4d
No known key found for this signature in database
GPG key ID: D28BF9418FA0F292

View file

@ -229,12 +229,12 @@ export default function (api) {
more_like_this: {
__template: {
'fields': ['FIELD'],
'like_text': 'text like this one',
'like': 'text like this one',
'min_term_freq': 1,
'max_query_terms': 12
},
fields: ['{field}'],
like_text: '',
like: '',
percent_terms_to_match: 0.3,
min_term_freq: 2,
max_query_terms: 25,
@ -256,7 +256,7 @@ export default function (api) {
mlt: {
__template: {
'fields': ['FIELD'],
'like_text': 'text like this one',
'like': 'text like this one',
'min_term_freq': 1,
'max_query_terms': 12
},