Use to search indexes or to search without an index.
There are three components to the search request that can be included in a SearchJob:
(2) BooleanConditions: A string in the boolean syntax expressing any conditions that must be satisfied in addition to whatever is in Request. This provides a way to add boolean conditions (such as field criteria) to a user-supplied query, which may be in the all words or any words syntax.
(3) FileConditions: A string expressing conditions such as filename matches, file size matches, etc., that documents must satisfy.
For more information, see: Search Requests Overview
For more information, see: Limiting Searches.
A SearchFilter represents a set of documents that can be returned in a search. To limit a search to the documents in a SearchFilter, set up a SearchFilter object with the filter to use, and assign it to SearchJob.SearchFilter. Example:
After the search, every document retrieved in the search will be selected in the output search filter. The generated search filter can then be used to limit a subsequent search, which can be useful for implementing a "search within these results" feature.
SearchJob.MaxFilesToRetrieve does not affect the generated output SearchFilter, which will include every item retrieved in the search. However, if AutoStopLimit causes the search to terminate before it is complete, then only items found before the search stopped will be selected in the SearchFilter.
For more information, see: Limiting searches with SearchFilters.