WebSphere Portal Server - SIAPI Problem

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2006 > SIAPI Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SIAPI Problem

2006-01-18, 2:51 am

Hi,

I am trying to use SIAPI to build a custom search portlet.

I am follwing the code from the sample SIAPI portlet. I can get a
'com.ibm.siapi.search.SearchService' object but I am unable to get any
'com.ibm.siapi.search.Searchable' objects.

I have set up two search collections in the portal search administration. I can
search these from the search portlet supplied with the portal.

Would any one have an idea what might be wrong?

How do you get a 'collectionID' for a search collection created in the portal administration.

Any help would be greatly appreciated.

Dennis te Lintelo

2006-01-18, 2:51 am

If you have the SearchService object than you should be able to get a Searchable object by using:
Searchable searchable = searchService.getSearchable(null, "C://your-collections-directory//your-collection");

Have fun!
Dennis



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com