Tokenize a query string

How I can tokenize a query string? for example


I want be able to search for all documents where y equals foo

Not sure I got it but may be this?

GET _search?q=y:foo


Found via #elasticsearch on Freenode, credits are going to Xylakant

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.