Keyoti SearchUnit API Docs
ParseExpression Method (expression)
API DocumentationKeyoti.SearchEngine.SearchGroupElementParseExpression(String)
Keyoti SearchUnit v6
Loads the elements field with elements (words, phrases, groups, logic operators) in expression.
Declaration Syntax
C#Visual Basic
protected virtual void ParseExpression(
	string expression
)
Protected Overridable Sub ParseExpression ( 
	expression As String
)
Parameters
expression (String)
Remarks
Note: at this stage spaces are not yet replaced with "AND" operators, this is resolved internally later.
Examples
If expression = "one two three", then elements will be loaded with 3 WordElement objects. If expression = "one OR two three", then elements will be loaded with 3 WordElement objects and one OperatorElement (for the OR).

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