# Url percolation index:no, "index" : "not\_analyzed" and uax\_url\_email not working

**URL:** <https://discuss.elastic.co/t/url-percolation-index-no-index-not-analyzed-and-uax-url-email-not-working/22446>\
**Category:** Elasticsearch\
**Created:** [February 28, 2015, 12:20am UTC](https://discuss.elastic.co/t/url-percolation-index-no-index-not-analyzed-and-uax-url-email-not-working/22446 "2015-02-28T00:20:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexandre\_klein](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@alexandre\_klein](https://discuss.elastic.co/u/alexandre_klein)\
**Post date:** [February 28, 2015, 12:20am UTC](https://discuss.elastic.co/t/url-percolation-index-no-index-not-analyzed-and-uax-url-email-not-working/22446/1 "2015-02-28T00:20:27Z")

</div>

Sorry, another question, i really have some difficulties :D.

I don't understand something in elasticsearch percolation Here is my first  
mapping :

curl -XPUT 'localhost:9200/blacklist' -d '{  
"domains": {  
"properties": {  
"domain": {  
"type": "string",  
"index" : "not\_analyzed"  
}  
}

}  
}'

My Second Mapping :

curl -XPUT 'localhost:9200/blacklist' -d '{  
"domains": {  
"properties": {  
"domain": {  
"type": "string",  
"index" : "no",  
"include\_in\_all" : false  
}  
}

}  
}'

My Percolator :

curl -XPUT localhost:9200/blacklist/.percolator/toto -d '{"query" : { "match" : {"domain" : "[totolasticot2.com](http://totolasticot2.com)" } }}'

And my "percolations" :

curl -XGET localhost:9200/blacklist/domains/\_percolate -d '{"doc" : { "domain" : "[totolasticot2.com](http://totolasticot2.com)" } }'  
{"took":3,"\_shards":{"total":5,"successful":5,"failed":0},"total":1,"matches":[{"\_index":"blacklist","\_id":"toto"}]}

curl -XGET localhost:9200/blacklist/domains/\_percolate -d '{"doc" : { "domain" : "com" } }'  
{"took":3,"\_shards":{"total":5,"successful":5,"failed":0},"total":1,"matches":[{"\_index":"blacklist","\_id":"toto"}]}

Anyone as an idea of why does he tokenize ?

Ps : Just tried this :

curl -XPUT 'localhost:9200/blacklist' -d '{  
"mappings":{  
"domains":{  
"properties":{  
"domain":{  
"type":"string",  
"analyzer":"notoken"  
}  
}  
}  
},  
"settings":{  
"analysis":{  
"analyzer":{  
"notoken":{  
"tokenizer":"uax\_url\_email"  
}  
}  
}  
}  
}'

Not working either

i tried with keyword tokenizer but i can send doc like this "text" :  
"blablabla [http://www.lemonde.com](http://www.lemonde.com)" so... it's not accurate

Someone can explain me

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5ba1d759-6368-4745-8b74-e65b5aea7fb4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5ba1d759-6368-4745-8b74-e65b5aea7fb4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:29am UTC](https://discuss.elastic.co/t/url-percolation-index-no-index-not-analyzed-and-uax-url-email-not-working/22446/2 "2017-07-06T00:29:19Z")

</div>

Closed on July 6, 2017, 12:29am UTC


