Hi,

I have the following issue when I search on a not_analyzed String.

Mapping:
filename: {
type: "string",
index: "not_analyzed"
}


field: "filename"
value: "Stream_Flash_Video_129518.log"

query_string: filename:*lash* -- get results
query_string: filename:*Flash* -- get no results
query_string: filename:*flash* -- get no results
query_string: filename:*129518* -- get results

Why does filename:*Flash* get no results?
I dont understand the the logic that ES use. If I have a string with this 
value.
And i use a regex .*Flush.* (what is sthe same as *Flush*) then it will 
match.

How is it possible to search this value with a query_string?

On an analyzed filed it works.
Best regards
Messias

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f434f7da-2328-43bc-b113-06be660fd489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to