QueryText supports multiple formats of query and is dependant on QueryType. This will generally be query text, but can also be a ISYSDocument to support FindSimilar.
Syntax
[VBScript]
property ISYSSearch.QueryText as variant
[ColdFusion/Java]
System.Object ISYSSearch.QueryText() throws ComException; void ISYSSearch.set_QueryText(
System.Object value
);
Examples
[VBScript]
<%
' This sample demostrates creating a new ISYSSearch object and specifying the' QueryText, QuerySource and QueryType and executing it to get the result list.' Create the new ISYSSearch objectdim ISYSSearch : set ISYSSearch = ISYSEngine.NewSearch
' Specify the Index to Search
ISYSSearch.QuerySource = "c:\indexes\documents"' Specify the Query Text
ISYSSearch.QueryText = "Policies"' Specify the Query Type
ISYSSearch.QueryType = isysQueryISYS
' Execute the Searchdim SearchResults : set SearchResults = ISYSSearch.Execute
%>