Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
URGENT- Help with Java LAPI Search API and Livelink 8.1.5
Ray_Peterson_(rpeterso_-_(deleted))
When I execute a search against Livelink using the Java APIs, the results returned include all versions of a document. Is it possible to set the Search APIs to only return results for the current documents in Livelink. I figured since the search page from within the Livelink application only returns results based on the most current version of documents, the Search APIs _should_ provide the same feature, right?Let me know if I need to attach a code example.Thanks in advance.
Find more posts tagged with
Comments
Richard_Boyne_(boyne_(Delete)_891609)
"...the search page from within the Livelink application only returns results based on the most current version of documents..." because that interface adds somthing like the following to the web interface searches which users submit: and ("TRUE")For your LAPI searches to behave in a similar manner you should append one of the following:1. and ("TRUE")2. and ("OTCurrentVersion" : "TRUE" )3. and ( [ region "OTCurrentVersion" ] "TRUE" )I have heard that option one is more efficient.OTCurrentVersion is referenced in the online LAPI Search documentation. Following the links: Lapi Search Overview/(OTSTARTS|LivelinkQueryLanguage)/"common region names"specifically:"OTCurrentVersionWhether this is the current version for the corresponding document (TRUE or FALSE). "happy searching...
Ray_Peterson_(rpeterso_-_(deleted))
Thank you. That worked. Do you know what exactly the Livelink Search does when you enter some text in the text box and click the "Search" button? I'm still not getting the same results, and I'm thinking the Livelink Search is adding more stuff that I'm not aware of (like, for example, the OTCurrentVersion parameter). Is there any way I can figure out what the Livelink Search is doing, or does anyone out there know what it is doing?Thanks in advance.