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
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
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. | |
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) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetChildElementContents()()() |
Returns ArrayList of all child element .Content properties
| |
GetHashCode()()() |
Serves as a hash function for a particular type.
(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()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsStopWord()()() | (Inherited from Element.) | |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(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()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
Object | ||
Element | ||
GroupElement |