Hi,
I want to do text query but my query result is not true.
For example:
Text1: Road will be made in Turkey
Text2: Mosque will be made
Text3: They are comming
Query: http://10.0.2.15:8080/filter.php?text_field=Road will be made
result :
Road will be made
Mosque will be made
My wish is to show only the first text(text1).
My codes:
PUT /index
{
"settings": {
"analysis": {
"filter": {
"turkish_lowercase": {
"type": "lowercase",
"language": "turkish"
}
},
"analyzer": {
"turkish": {
"tokenizer": "standard",
"filter": [
"turkish_lowercase"
]
}
}
}
}
}
PUT index/type/_mapping
{
"properties": {
"text": {
"type": "string",
"index": "analyzed",
"analyzer": "turkish""
}
}
}
How can I do? Can I use fuzzy method?
if so how do I do ?
Thank you