Hi,
I follow the search sample from Kyle and wanted to add some more regions to get retrieved (I added all I could come by in various documents, mostly from OpenText Content Server 10.0.8 - Search API Programming Guide English (LLESSRC100008-PGD-EN-1).pdf).
None of them (save for OTObjectSize, OTMIMEType) show up in my results.
What do I wrong here?
string[] lsSlices = this.searchClient.GetDataCollections(ref this.searchAuth);
this.searchQuery.DataCollectionSpec = "'" + lsSlices[0] + "'"; // use the first search slice in the list
this.searchQuery.QueryLanguage = "Livelink Search API V1"; // use the Search API for queries
this.searchQuery.FirstResultToRetrieve = nFrom; // start retrieving results at Result #1
this.searchQuery.NumResultsToRetrieve = nTo; // retrieve up to 5 search results
this.searchQuery.ResultSetSpec = "where1=" + whereClause; // set the where clause of the query
this.searchQuery.ResultTransformationSpec = new string[] { "OTSummary", "Score", "OTName", "OTLocation", "OTObject", "OTObjectDate", "OTFileType", "OTMIMEType", "OTObjectSize", "OTObjectDate", "OTSummary", "OTDComment", "OTOwnerID", "OTcreatedbynameN", "OTmodifydateN", "OTSubType" }; // set the displayed/retrieved regions for each result
Sample output:
ID=DataId=22374593\u0026Version=1
Location=2000 18803 46612 47405 -47405 718981 788952 937216 21729296
Document Type=application/pdf
Name=test.pdf
Size=925940
Score=81
Date=11/10/2011 @ 12:00 AM