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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,066 views 16 14
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