kayngee
(kayngee)
November 8, 2012, 2:32pm
1
i am using the following filter
"name_ngrams":{
"side":"front",
"max_gram":50,
"min_gram":2,
"type":"edgeNGram"
},
"name_ngrams_back":{
"side":"back",
"max_gram":50,
"min_gram":2,
"type":"edgeNGram"
},
"name_middle_ngrams":{
"type":"nGram",
"max_gram":50,
"min_gram":2
},
for the index
an i am not using these filters for the search query for some reason when i
search
*technolgy *no result crop up
yet when i search for technology, technologic, technolo , results do apear
anyone might explain why this is happening?
--
kayngee
(kayngee)
November 8, 2012, 2:56pm
2
Ok i think i understand why since the anaylser i m using for the search
query requires an exact match not a partial match.
On Thursday, 8 November 2012 15:32:33 UTC+1, Shawn Ritchie wrote:
i am using the following filter
"name_ngrams":{
"side":"front",
"max_gram":50,
"min_gram":2,
"type":"edgeNGram"
},
"name_ngrams_back":{
"side":"back",
"max_gram":50,
"min_gram":2,
"type":"edgeNGram"
},
"name_middle_ngrams":{
"type":"nGram",
"max_gram":50,
"min_gram":2
},
for the index
an i am not using these filters for the search query for some reason when
i search
*technolgy *no result crop up
yet when i search for technology, technologic, technolo , results do
apear anyone might explain why this is happening?
--