Look at simple_query_string http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#query-dsl-simple-query-string-query
in that case, there is not much to do about transforming. Hihglighting is supported independently from user's query string, the field mappingneed some attention http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html Jörg On Mon, Mar 2, 2015 at 9:27 PM, Oranit Dror <[email protected]> wrote: > Hi, > > I am new to ElasticSearch and have a newbie question: I want to have a > user-friendly front-end to the data with a free text search bar. In this > search bar the user inputs a query string, which I would like to parse and > transform to a new string (application-dependent) that will be used on > ElasticSearch. I then want to highlight the matching search terms in the > results. I have implemented a similar application in Solr. > > I thought of using Kibana's Discover page. Is there a way to hook into > Kibana and/or ElasticSearch, so I can transform the user's query string > before it is sent to ES and highlight the results? > > Regards, > Oranit > > -- > 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/648dfc5a-49e4-4a82-8b4a-2497a90dad42%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/648dfc5a-49e4-4a82-8b4a-2497a90dad42%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAKdsXoFjnzjabnVEBJSw53VnehwmDcYh4LW6h_Xnux4CgYcmyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
