Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Content Search and Extract using Livelink 9.7.1 Search Service

Status
Not open for further replies.

mr522

Programmer
Jan 21, 2015
19
SG
Hi ,
I have a requirement in Livelink 9.7.1 to extract the content using search service.I have written one backend java program by calling the Search Service and can able to extract the content based on the input metadata.
I am unable to find the functions for Full text Search in the Search Service. Is there any way to extract the content using Full text search (keywords) using Search Service?

Thank you in advance!
 
Think of it like this when you go to the livelink webgui and type a term the LL is goind after metadata and content.The returned results contain dataid's of objects.When you have the dataid the Document API is reposnible for its operations.So after you run the searchservice api if you get a document with a version you have corresponding api's like FetchVersion,GetVersion etc.Just like you used the wsdl for searchservice you have to use the methods afforded by DocumentManagement.svc and ContentService.svc.All of these are explained in sample programs in the OT KB.

If you are struggling to find the equivalent examples of full text query download the document called the SearchAPI
a rudimentary example published here by OT

You would basically run the examples.I also do it another way it is easy to run search using the GUI.If you put wantsearchlogs on the front end server and execute search it will show you the exact command the search engine is getting .I cut and paste that in my search based code.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thank you for the information.I am using the independent java batch jobs for search based on the content string and export the files into the file system.Can i able to search the content using java api by calling the search service or any content search limitations in Livelink 9.7.1 using Search Service?

Thank you.

 
I am not able to understand what the question is,whether you say search api or regular search the livelink system has only one search code.If I am not mistaken your java search api is a example published by Kyle Swidrwich in OT What I am saying is that the lines in that code
Code:
                string whereClause = "my document";
                
                a lot of others removed for clarity
                query.ResultSetSpec = "where1=" + whereClause;          // set the where clause of the query

                query.ResultTransformationSpec = new string[] { "Score", "OTName", "OTLocation" };      // set the displayed/retrieved regions for each result
That is the traditional search api of livelink,any valid search from the GUI can be put there that is what I meant.Many of us will just use the ?func=search almost like RESTAPI
to do this because the search API is deprecated the CWS stuff .Hopefully you and i are talking the same thing :)

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top