Search 2.5 PerformSearch
Execute a full text search on content and metadata and will immediately return you the result set.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant. |
| psXMLQuery | String | In | Query XML structure containing the metadata for the full text search. |
| plMaxHitsToReturn | Long | In | Indicates the maximum number of hits to return for the executed query. |
| plHitsTotalNumber | Long | Out | Indicates the total number of hits found for the executed query. |
| psOutXMLSearchResults | String | InOut | The Search Result XML structure with the search results |
Note that:
- Read security will be applied on the search results.
- This function replaces the
NewSearch/GetResultfunctions. An important difference here is that Content Manager doesn't cache your search anymore. The tool which is executing this function is responsible for caching the query and for example requesting more hits if the previous maximum number of hits has been met. We suggest to start your initial query with a maximum result set of1000. - The search results will be sorted. This allows you to apply sorting on the logical, version and/or language level fields of the content objects matching your search criteria.
The search will be handled on the application server by InfoShare's Full-Text-Retrieval engine which is a combination of the Trisoft InfoShare Crawler service(s) and Solr Lucene.
- A search result list will only contain content objects. A content object is the combination of a language level, combined with the information of its version and of its logical level. This means that objects that only have a logical and version part cannot be found using this search function.
- The parameter
plMaxHitsToReturncan contain the following values:Value Description 0 The search is executed and the total number of hits is returned, BUT the results are not returned Exact number (e.g. 500) If there are more than 500 records, the first 500 records will be returned.