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')
| C# | Visual Basic |
public class GroupElement : Element
Public Class GroupElement Inherits Element
| 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.
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) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it 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.) | |
| 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()()()() | 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.) |
| Object | ||
| Element | ||
| GroupElement | ||
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610