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

This widget could not be displayed.
Mizan Community Champion Feb 20, 2013

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

30 views 3 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