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!

How to display document summary/description in search results

Status
Not open for further replies.

levzak

Programmer
May 21, 2010
4
CA
Hello,

I use ApplyQuery function and am trying to search in specific folder under the Enterprise workspace.

1. I didn't find how to start search under a particular folder that's why I forced to use the following query:
where = @"((OTDataID :'3489819'|'3489944')) AND
// ((OTData :'" + criteria + "') OR (OTName :'" + criteria + "')) AND
// (OTSubType:'144')";

where the OTDataID - I take from my previous document browse. I guess there is another way to do it.

2.After having the search results I need to display it LiveLink-like with a short summary/description. Maybe there are other field that i could include to the search result like OTDescrioption?

3.I was also thinking about using URL query like:
?func=search&lookfor1=allwords&where1=sail+boat
but again I need the parameter to define the folder under which start the search.

Thanks
 
Not an answer but some clues
a lot of good info is covered in this thread.
or this

The OTSummary is what livelink knows that region as


David Templeton has written a search xml api tutorial FAQ in this itself.

Mostly the searchxmlapi is better than LAPI or webservices to get the desired result.

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
 
Just enable some regions on the Index datasource and check them in the "Change the Way Results are Displayed" in your search template.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top