Bean Software Search Control Documentation   
 
 
     




enuTypeOfSearch Enumeration


Description:
Represents enumeration used for TypeOfSearch property.

Member Name

Description

ExactPhrase
Control will return rows that contains exact phrase
AllWords
Returns rows that contains all search terms
AnyWord
Returns rows that contains any of the search terms
Expression
Returns rows using boolean logic with AND, OR and NOT keywords, brackets, quotes, single and multiple wild cards and special characters (+, - and |).
NotContainPhrase
Returns rows that not contains exact phrase
NotContainAllWords
Returns rows that not contains all search terms
NotContainAnyWord
Returns rows that not contains any of search terms

Example: If Text property is set to "apple or banana" and TypeOfSearch is set to enuTypeOfSearch.ExactPhrase, then SQL Query will return only rows that contains a phrase "apple or banana". If TypeOfSearch value changes to enuTypeOfSearch.Expression, SQL Query will return rows that contains a word "apple" or word "banana".