Keyoti SearchUnit API Docs
GroupElement Class
API DocumentationKeyoti.SearchEngine.SearchGroupElement
Keyoti SearchUnit v6
Implements a group for a search expression; group entity has elements (words, not-words, phrases and other nested groups) connected through a unique logic operator (AND is assumed for 'space')
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public class GroupElement : Element
public class GroupElement : Element
Public Class GroupElement
	Inherits Element
Public Class GroupElement
	Inherits Element
public ref class GroupElement : public Element
public ref class GroupElement : public Element
type GroupElement =  
    class
        inherit Element
    end
type GroupElement =  
    class
        inherit Element
    end
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
GroupElement(Configuration)
Creates an empty group.

GroupElement(String, Configuration)
Creates a group containing the expression

AddMissingOperators()()()()
Add implied operators where the operator is missing between entities (eg. by default space is assumed to be AND)

AddMissingOperatorsAsAnd()()()() Obsolete.
Obsolete - Renamed to AddMissingOperators, please use new name.

ChildElements
Returns a list of Element objects, representing the sub elements of the query.

Configuration
The instance of the Configuration class that holds the settings to be used.
(Inherited from Element.)
Content
Returns a string representing the content of the element, this should typically be; WordElement.Content => theWord NotWordElement.Content => -theWord GroupElement.Content => null PhraseElement.Content => thePhrase (no quotes)
(Overrides Element.Content.)
CreateLexiconQueries(SearcherIO)
Creates the LexiconQuery for this element.
(Overrides Element.CreateLexiconQueries(SearcherIO).)
CreateWordSubgroup(String)
Creates an Element based on the parameter.

elementQueryCollection
The lexicon queries used for the element
(Inherited from Element.)
elements
The Element objects within the group.

Equals(Object) (Inherited from Object.)
Finalize()()()() (Inherited from Object.)
GetChildElementContents()()()()
Returns ArrayList of all child element .Content properties

GetHashCode()()()() (Inherited from Object.)
GetIgnoredWords()()()()
Returns the stop words from the original query that were ignored.
(Overrides Element.GetIgnoredWords()()()().)
GetMatchingDocumentIDs(SearcherIO, IntHashtable, SearchOptions, Hashtable)
Gets all document IDs matching this group.
(Overrides Element.GetMatchingDocumentIDs(SearcherIO, IntHashtable, SearchOptions, Hashtable).)
GetType()()()() (Inherited from Object.)
GroupOperator
The logic operator that all elements in the group are bound with (AND or OR).

IsStopWord()()()()
Whether is stop word.
(Inherited from Element.)
MemberwiseClone()()()() (Inherited from Object.)
ParseExpression(String)
Loads the elements field with elements (words, phrases, groups, logic operators) in expression.

RemoveOperatorAmbiguities()()()()
Removes operators ambiguities (if there are both "AND" and "OR" operators in a group, re-adjust groups like: (x OR y) AND z)

RunLexiconQueries(SearcherIO)
Runs lexicon queries for every element in the group, allowing occurrence lookups to occur.

ToString()()()() (Inherited from Object.)
Inheritance Hierarchy
Object
Element
 GroupElement

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