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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

300 views 2 4
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