How to make the query for _all so that it will not treat email as two substrings

Hi ,

I am using the free text search with _all on email for eg

_all:narendra.choudhary@gmail.com

but it is making the parts into the narendra.choudhary and
gmail.combacause of special character ..

My mapping for the analyser is "analyzer": {
"auto_complete": {
"type": "custom",
"tokenizer": "whitespace",
"tokenizer": "uax_url_email",
"filter": [
"stop",
"standard",
"custom_ngram"
]
}
}

but it is not working ...

Could any one tell me how to make it correctly.

--
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.

You need to define your analyzer as default analyzer. Here is an example:

On Thursday, April 18, 2013 4:30:52 AM UTC-4, narendra choudhary wrote:

Hi ,

I am using the free text search with _all on email for eg

_all:narendr...@gmail.com <javascript:>

but it is making the parts into the narendra.choudhary and gmail.combacause of special character ..

My mapping for the analyser is "analyzer": {
"auto_complete": {
"type": "custom",
"tokenizer": "whitespace",
"tokenizer": "uax_url_email",
"filter": [
"stop",
"standard",
"custom_ngram"
]
}
}

but it is not working ...

Could any one tell me how to make it correctly.

--
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.