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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Constants not found.

Status
Not open for further replies.

annikan

Programmer
Aug 25, 2006
7
US
I need the constant for SORTBYRELEVANCY. It's used in the ApplyQuery call.
"sortBy a constant that identifies the ranking (sorting) method that should be used. The default ranking method is SORTBYRELEVANCY. "

I've Imports com.opentext.api, but the constant is still undefined.

How can I get it defined or does anyone know what the interger is?

Advance Thanks.
 
Ok, I'm answering my own question:

Dim search As LAPI_SEARCH

search.applyQuery(,,,,search.SORTBYEXISTENCE, _,,)

The documentation said "constant", not member varible of Lapi_search object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top