Understanding Search Query

Hi Everyone,

Im just trying to understand the results I’m returned from a search query, I was hoping someone could point me to documentation or explain the reason for the result…

“Version” : "5.6.4",
"lucene_version" : "6.6.1"

Plugin
— Name= analysis-phonetic
— version=5.6.4

String Query
http://server01.its.auckland.ac.nz:9200/index3/person/_search?q=namesLike%3AReid+Wat&size=10000

  • total 47997 docs returned

The Query is based on “namesLike” and the mapping for this as follows

"mappings": {
"person": {
"_all": {
"enabled": true,
"analyzer": "phonetic_analyzer"
},
"namesLike": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}

I looked a few of the last results for namesLike and im returned the following values

“Magdalene Aidoo”
“Mohammad Ata Roshangar"
"Louis Alexander White"
"Tahnee Jade Flaws"

I’m just trying to understand how I’m returned theses results when Im searching “Reid”+“Wat”

Use the _analyze API and it will probably give you the same terms after the phonetic has been applied.

Thank you --- _analyze really helped also the following POST provide me with more insight

http://elasticsearch-users.115913.n3.nabble.com/help-needed-with-the-query-td3177477.html#a3178856

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