Wildcard-Filter on String

Hey,

I have a problem with searching for a specific filename via wildcards.

You can find a test-script here:
https://gist.github.com/MakaHost/590cb90e3e1f67d64f91

I expect to get the field I inserted, however it gets returned only when I
search for '' or 'pricesearch.g.js'. I tested it with other file-endings
and seen varying results. '
.css' and '.png' for example works, while
'.js' and '.php' does not.

Can anyone help 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e008e6c4-b196-4fb0-a22d-c764131deb92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.