Topic on Help talk:CirrusSearch

Tracing parameters from API to Elasticsearch

3
Pj quil (talkcontribs)

Hi, While trying to experiment with providing new search options I have been digging around in the wikipedia search code and I find this pattern a lot. Some frontend extension that exposes a search feature generates an action=query API with a bunch of params, which passes through a couple other extensions that create the elasticsearch query. What I am looking for is to simplify this debugging process. Basically for each search feature provided I would like to see the elastic search query parameters produced at the end of the pipeline.

Any suggestions or advice? Thanks!

(am not a PHP dev so apologies if I am overlooking something)

DCausse (WMF) (talkcontribs)
Pj quil (talkcontribs)

ah that made my day! Thanks :)

Reply to "Tracing parameters from API to Elasticsearch"