Hi,

I've put a couple pages on mw.org to start discussing about the problem we are currently facing as to how extensions can interact with CirrusSearch without stepping on each other toes.

To describe the problem briefly:
some extension provides additional data to the wiki structure (generally through custom Content Handlers) and CirrusSearch itself is not aware of the best ways to take benefits of this additional data to ameliorate ranking or results display.
Cirrus has provided (organically) various hooks to let us build what we have today:
- wikidata search integration for Entities, Properties & Lexemes
- search keywords

But as more and more integrations have to be done (SDoC) we need to step back and decide on better ways to let extensions augment the search experience.

Beware that the discussion at this stage may only be relevant to developers who worked on these extensions. A page describes the current "query construction" mechanism[1] (with an emphasis on parts that poses problems at the moment) and a first list of use cases and a first set of solutions[2].
This is just a starting point for the discussion.

Thanks for your input.