Find Method (String)

UltimateSearch

Collapse imageExpand ImageCopy imageCopyHover image
Finds the search terms.

Namespace: Karamasoft.WebControls.UltimateSearch
Assembly: UltimateSearch (in UltimateSearch.dll) Version: 3.7.4186.26690

Syntax

C#
public DataView Find(
	string searchTerms
)
Visual Basic
Public Function Find ( _
	searchTerms As String _
) As DataView
Visual C++
public:
DataView^ Find(
	String^ searchTerms
)

Parameters

searchTerms
Type: System..::..String
Search terms.

Return Value

Data view that contains search results sorted by score in descending order. Search type is set to AllWords by default. However, you can use search operators as below: 1) Put on "OR" operator between words to find documents that have either of those words 2) Put a "+" sign in front of a word to make an exact search for that word 3) Put the word between "" characters to make an exact search for that phrase 4) Put a * at the end of a word to make a partial match search for the words starting with those letters 5) Put a "-" sign in front of a word to find documents that don't have that word Note that you can put the "-" sign in front of a regular word, exact phrase or partial match.

See Also