thx Jörg, like always very helpful answer,
On Sunday, March 16, 2014 12:46:58 PM UTC, Jörg Prante wrote: > > In a plugin, you could either add query/filter classes per index creation, > look at IndexQueryParserModuleTests > > Or you could add programmatically query/filter classes > to IndicesQueriesModule instance by using addQuery()/addFIlter() methods, > which means for the whole node / all indices. > > Jörg > > > On Sun, Mar 16, 2014 at 11:52 AM, Karol Gwaj <[email protected] > <javascript:>>wrote: > >> Hi, >> >> is it possible, with current elasticsearch extensibility model, to create >> custom filter handlers ? >> >> so i could do something like this: >> { >> "query" : >> { >> "filtered" : >> { >> "filter" : >> { >> * "my_custom_filter" : * >> * {* >> * ....* >> * }* >> }, >> "query" : >> { >> "match_all" : {} >> } >> } >> } >> } >> >> and my 'handler' will be executed only for 'my_custom_filter' >> so i can mix my custom filters with default elasticsearch filters >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/315ec396-634b-4198-b7eb-765a4bfb08c2%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/315ec396-634b-4198-b7eb-765a4bfb08c2%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/9bae1b8d-9c3d-467a-b0b2-2168260550dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
