Help > Web Development > Object Reference > Object Reference > ISYSFilter
<a name="kanchor385"></a>ISYSFilter Object
The filter object is used on both the ISYSSearch and ISYSResultList object and is used to contain all available filter values. You need to specify one or more values to apply a filter.
ISYSFilter Methods
ApplyApplies the filter to the ISYSResultList. Not available when used with ISYSSearch object.
ResetClears the filter on the ISYSResultList. Not available when used with ISYSSearch object.
ISYSFilter Properties
CategoryLikeA documents category must match this pattern to be included in the result list
CategoryUnlikeA documents category must not match this pattern to be included in the result list.
DateThe last modified date of the document date must fall between this range.
FileTypeFilter by ISYS document file type.
FirstDateThe first date in the document must fall between these two values. Requires Intelligent Date Recognition.
IndexedDateThe date that the document was indexed must fall between these two dates.
MetaRefinementAllows filters to be applied to the metadata facets calculated at indexing time.
NameLikeA documents name must match this pattern to be included in the result list.
NameUnlikeA documents name must not match this pattern to be included in the result list.
PathContainsA documents path must contain this text to be included in the result list.
PathOmitsA documents path must not contain this text to be included in the result list.
Examples
[VBScript]
<% ' This sample demostrates creating a new ISYSSearch object and specifying the ' QueryText, QuerySource and QueryType, filtering it and executing it to get ' the result list. ' Create the new ISYSSearch object dim 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 ' Limit the search to show only PDF files modify in the last month ISYSSearch.Filter.NameLike = "*.PDF" ISYSSearch.Filter.Date.RangeTo = Now ISYSSearch.Filter.Date.RangeTo = DateAdd("m", -1, Now) ' Execute the Search dim SearchResults : set SearchResults = ISYSSearch.Execute %>
See Also
ISYSSearch::Filter
ISYSResultList::Filter