How to create my own Searcher for my customfield?

Hi,

I'm planning to write my own Searcher for my new customfield. Could anybody give me pointer:

1. which class I need to extend/implement?

2. what are the methods I need to implement/override?

3. Could you please explain what it is basically what it returns?

Thanks a million in advance!

1 answer

That seems to be how to re-use one of the bundled searchers for your custom field type.

I went thru that link, but I want to create my own searcher. Any how Thanks!

Mizan Community Champion Feb 20, 2013

Right.. Even for a new customfield type we usually extend the built-in type

Jamie,

Please let me know how to proceed. I hope you can answer this. At least give me few clues.

Thanks a billion in advance!

Not sure... I can't think of any plugins that have a custom field type and their own searcher, and aren't really complicated. What's your main problem again, performance?

Yes, I have performance problem. You can see it in https://answers.atlassian.com/questions/139381/how-to-avoid-two-time-search . I'm trying to implement your suggestion of using Lucene terms with customfield instead of only JQL.

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

137 views 6 8
View post

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