Keyoti SearchUnit API Docs
IsMatch Method (candidate, compareCulture)
API DocumentationKeyoti.SearchEngine.DataAccessLexiconQueryIsMatch(String, CultureInfo)
Keyoti SearchUnit v6
Whether candidate is a suitable match for this query.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual int IsMatch(
	string candidate,
	CultureInfo compareCulture
)
public virtual int IsMatch(
	string candidate,
	CultureInfo compareCulture
)
Public Overridable Function IsMatch ( 
	candidate As String,
	compareCulture As CultureInfo
) As Integer
Public Overridable Function IsMatch ( 
	candidate As String,
	compareCulture As CultureInfo
) As Integer
public:
virtual int IsMatch(
	String^ candidate, 
	CultureInfo^ compareCulture
)
public:
virtual int IsMatch(
	String^ candidate, 
	CultureInfo^ compareCulture
)
abstract IsMatch : 
        candidate : string * 
        compareCulture : CultureInfo -> int 
override IsMatch : 
        candidate : string * 
        compareCulture : CultureInfo -> int 
abstract IsMatch : 
        candidate : string * 
        compareCulture : CultureInfo -> int 
override IsMatch : 
        candidate : string * 
        compareCulture : CultureInfo -> int 
Parameters
candidate (String)
compareCulture (CultureInfo)
Return Value
Int32
The element index in Variations of the match. -1 if no match found.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120