How search over analyzed index


(JavaES) #1

HI Team,here is my settings of an index .I want to retreive all the documents which are
stored in synonyms.txt from this index .

settings": {
"index": {
"creation_date": "1473850570574",
"uuid": "--QhNYvPQRijWYCnDJ9yEg",
"analysis": {
"filter": {
"synonym": {
"type": "synonym",
"synonyms_path": "/etc/elasticsearch/synonyms.txt",
"ignore_case": "true"
}
},
"analyzer": {
"synonym": {
"filter": [
"synonym"
],
"tokenizer": "whitespace"
}
}
},
"number_of_replicas": "1",
"number_of_shards": "5",
"version": {
"created": "1050299"
}
}

GET es_synonyms/_analyze?analyzer=synonym i have tried with this but it says text is mandatory,i want all the documents from this index.
Thanks for your help in advance


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.