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!
A very good tutorial http://www.j-tricks.com/1/post/2010/09/custom-field-searchers.html
That seems to be how to re-use one of the bundled searchers for your custom field type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I went thru that link, but I want to create my own searcher. Any how Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right.. Even for a new customfield type we usually extend the built-in type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.