SIAPI Problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > SIAPI Problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SIAPI Problem  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-18-06 07: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 porta
l administration.

Any help would be greatly appreciated.






[ Post a follow-up to this message ]



    Re: SIAPI Problem  
Dennis te Lintelo


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-18-06 07:51 AM

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

Have fun!
Dennis








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:31 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register