It's all about the answers!

Ask a question

Jazz Full Text Search API


Petcharat Viriyakattiyaporn (4113) | asked Jul 03 '08, 3:13 p.m.
Hi,

I would like to be able to use the Jazz full text search api to implement an eclipse-based applicaition. Can somebody point me out to where I should look at or what are the classes/interfaces that I need?

Also, for future reference, how can I find a full Jazz API? I would sometimes like to know, for example, the available type ID's for team artifacts (e.g. work items, changesets, etc).

Your help will be greatly appreciated.

Thanks,
Petcharat

2 answers



permanent link
Patrick Streule (4.9k21) | answered Jul 04 '08, 12:13 p.m.
JAZZ DEVELOPER
Hi Petcharat

I would like to be able to use the Jazz full text search api to
implement an eclipse-based applicaition. Can somebody point me out
to where I should look at or what are the classes/interfaces that I
need?

The starting point for your task is probably:
com.ibm.team.fulltext.client.IFullTextClientLibrary

You can get the client library by using
ITeamRepository repository=...
IFullTextClientLibrary library= (IFullTextClientLibrary)
repository.getClientLibrary(IFullTextClientLibrary.class);

The JavaDoc for IFullTextClientLibrary contains further references.

Also, for future reference, how can I find a full Jazz API? I would
sometimes like to know, for example, the available type ID's for team
artifacts (e.g. work items, changesets, etc).

The Jazz components all have the same structure. The API (on the client)
is typically available from a client library (the full text library
mentioned above is one example).

To find the client library for a component look into the plugin and
package named
com.ibm.team.<component>.client

The item types are also always available on the interface of an
artifact, e.g.
IWorkItem.ITEM_TYPE
IChangeSet.ITEM_TYPE
....

HTH,
Patrick
Jazz Work Item Team

permanent link
Petcharat Viriyakattiyaporn (4113) | answered Jul 04 '08, 2:47 p.m.
Thank you very much!

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.