thanks for reply.perhaps my question is misunderstood.define example
not contain any predefined keyword.my index can any human words or
Infosys Technologies Ltd
Arosys Technologies P Ltd
if my index contain the following data and i'm going for search
'Arosuus' on index.then more relevant data that want's to be search
'Arosus',because five character are matched with 'Arosus'.what query
mechanism will be applied to search those type of similar or more
On Sep 5, 5:31 pm, "da...@pilato.fr" da...@pilato.fr wrote:
Thanks for reply.can you please explain how keyword analyzer will help
me.fot getting desire result.
I think that your field does not contain human words (a sentence in fact) but
some keywords from your application.
That's why, for that same need, I use my self a keyword analyzer on that field.
So, Lucene does not try to make tokens from the field and let it as it is.
BTW, if you want to search for abcd (and not ABCD), you will have probably to
add a lowercase filter.
Something like :
curl -X PUThttp://localhost:9200/myindex/-d '
curl -X PUThttp://localhost:9200/myindex/mytype/_mapping-d '
After setting your mapping for that field, you will be able to perform a prefix
search or a term search or a wildcard (cost more).
Twitter : @dadoonet