URI Search is mapped to query string See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-uri-request.html And http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
Although it should work, you should not use that in production. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html#query-dsl-wildcard-query > Note this query can be slow, as it needs to iterate over many terms. For a end user query, you should define a better analyzer than the default one and use ngrams. My 2 cents. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 30 mai 2014 à 20:18, Lam Pham <[email protected]> a écrit : Hi, Is it possible to do a wildcard search via the request URI? For example http://localhost:9200/index1/type1/_search?q=type1.text_ID=* If yes, what is the correct format? I tried the above format and did not get any hit for my data. I'm new to ElasticSearch. So, please pardon me if this question had been asked before. I did some search but could not find the answer. Thanks, Lam -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c516a69e-eb3d-47ba-bef5-3e56823b7d5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/F1B0996A-FB32-4308-B23C-ED5809DA5CBF%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
