Confluence Lucene Query Mapper (custom) not working

Hi all,
I'm working on a brand new Confluence 6.2.2 instance to test a new feature that I would like to implement, to be more specific a query mapper for a custom search. Using this guide https://developer.atlassian.com/confdev/plugin-cookbook/extending-the-v2-search-api that extends V2 search (so I guess that should work on Confluence 6.2.2) I create my SimpleQuery and my SimpleQueryMapper class and added in my atlassian-plugin.xml the following

<lucene-query-mapper key="simple" class="com.my.package.confluence.SimpleQueryMapper" handles="simple"/>

When I install the plugin I can see the component on the Add-on interface, but the constructor of the SimpleQueryMapper is not called at all. 

Am I missing something or what?

Thank you,
Marco

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

374 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you