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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
protected virtual void ParseExpression(
	string expression
)
protected virtual void ParseExpression(
	string expression
)
Protected Overridable Sub ParseExpression ( 
	expression As String
)
Protected Overridable Sub ParseExpression ( 
	expression As String
)
protected:
virtual void ParseExpression(
	String^ expression
)
protected:
virtual void ParseExpression(
	String^ expression
)
abstract ParseExpression : 
        expression : string -> unit 
override ParseExpression : 
        expression : string -> unit 
abstract ParseExpression : 
        expression : string -> unit 
override ParseExpression : 
        expression : string -> unit 
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: 2015.6.15.120