Cannot search for text "WAS"?

I'm running into a strange issue where I don't get results when I do a query string search for "WAS". Any other string I search for works fine, as far as I'm aware.

I've created a gist to walk anyone through what I'm doing:

Is "WAS" some kind of keyword in ElasticSearch?

It's an english common word. So, if you use default mapping for strings, words
like the, are, was, ... are not indexed.
See here :

http://www.elasticsearch.org/guide/reference/index-modules/analysis/standard-analyzer.html
It uses the default token filter

http://www.elasticsearch.org/guide/reference/index-modules/analysis/stop-tokenfilter.html

HTH
David.

Le 4 juin 2012 à 17:26, zibarth zibarthtx@gmail.com a écrit :

I'm running into a strange issue where I don't get results when I do a query
string search for "WAS". Any other string I search for works fine, as far as
I'm aware.

I've created a gist to walk anyone through what I'm doing:
ElsaticSearch mapping and documents demonstrating the WAS problem · GitHub

Is "WAS" some kind of keyword in Elasticsearch?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Cannot-search-for-text-WAS-tp4018790.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet

Thanks for the info!