Tokenize a query string

How I can tokenize a query string? for example

".../?x=1&y=foo&z=bar"

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

Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/6.2/kv-processor.html
Logstash: https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html

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.