mysql - Elasticsearch completion suggester phrase instead of terms -


i developing search engine elasticsearch 1.6 , it's working great. data mysql database jdbc importer jorg prante. use elasticsearch complete suggester documented here. problem cannot find out how without having tags shwown in examples everywhere. have title of product quite long title.

so know how make work expected using full phrase of title or otherwise how split titlephrase tags , adding them.

this current mapping field 'title' return (not relevant) whole phrase.

  curl -xput "http://localhost:9200/jdbc/" -d' {    "mappings": {       "jdbc": {          "properties": {             "title": {                "type": "completion",                "index_analyzer": "simple",                "search_analyzer": "simple",                "payloads": true             }          }       }    } }' 


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -