Version: current

# Package sapphire\search

## Classes summary

AdvancedSearchForm | More advanced search form
ContentControllerSearchExtension | Extension to provide a search interface when applied to ContentController
EndsWithFilter | Matches textual content with a substring match on a text fragment leading to the end of the string.
ExactMatchFilter | Selects textual content with an exact match between columnname and keyword.
ExactMatchMultiFilter | Checks if a value is in a given set. SQL syntax used: Column IN ('val1','val2')
FulltextFilter | Filters by full-text matching on the given field.
FulltextSearchable | Provides a simple search engine for your site based on the MySQL FULLTEXT index
GreaterThanFilter | Selects numerical/date content greater than the input
LessThanFilter | Selects numerical/date content smaller than the input
NegationFilter | Matches on rows where the field is not equal to the given value.
PartialMatchFilter | Matches textual content with a LIKE '%keyword%' construct.
SearchContext | Manages searching of properties on one or more `DataObject` types, based on a given set of input parameters. SearchContext is intentionally decoupled from any controller-logic, it just receives a set of search parameters and an object class it acts on.
SearchFilter | Base class for filtering implementations, which work together with `SearchContext` to create or amend a query for `DataObject` instances. See `SearchContext` for more information.
SearchForm | Standard basic search form which conducts a fulltext search on all `SiteTree` objects.
StartsWithFilter | Matches textual content with a substring match from the beginning of the string.
StartsWithMultiFilter | Checks if a value starts with one of the items of in a given set. SQL syntax used: Column IN ('val1','val2')
SubstringFilter | Uses a substring match against content in column rows.
WithinRangeFilter | Incomplete.

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -