Improve search results for string fields

Hi

I have companies in the ES index with companyName, companyFormerName,
companyAlternativeName, address (street, city, ...), ...
Now I want to improve my search results for the companyName.

For example in the index is saved the companyName:

AeroCare AG, but I also want to search by "Aero Care AG" to find this
company.
Ha-Ru-Verlags-AG, but I also want to search by "HaRu-Verlags-AG" to find
this company.
TravelAgency Scorpio AG, but I also want to search by "Travel Agency
Scorpio AG" to find this company.

My settings are:

{
"settings": {
"analysis": {
"filter": {
"name_ngrams": {
"side": "front",
"max_gram": 5,
"min_gram": 1,
"type": "edgeNGram"
},
"name_stopwords": {
"type": "stop",
"stopwords_path": "conf/analyzer/stopwords/stopwords_name.txt",
"ignore_case": true
},
"name_synonyms": {
"type": "synonym",
"synonyms_path": "conf/analyzer/synonyms/synonyms_name.txt",
"ignore_case": true
}
},
"analyzer": {
"full_name": {
"filter": [
"standard",
"lowercase",
"asciifolding",
"name_stopwords",
"name_synonyms"
],
"type": "custom",
"tokenizer": "standard"
},
"partial_name": {
"filter": [
"standard",
"lowercase",
"asciifolding",
"name_ngrams",
"name_stopwords",
"name_synonyms"
],
"type": "custom",
"tokenizer": "standard"
}
}
}
}
}

And the mapping for the companyName field:

"companyName":{
"fields" : {
"partial":{
"search_analyzer":"full_name",
"index_analyzer":"partial_name",
"type":"string"
},
"companyName":{
"type":"string",
"analyzer":"full_name"
}
},
"type":"multi_field"
},

So I think its not enough to work with the word_delimiter tokenfilter.

Do you have a suggestion for me?

Thanks in advance for your help.

Lars

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.