Base class for all query elements, see remarks.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public abstract class Element
public abstract class Element
Public MustInherit Class Element
Public MustInherit Class Element
public ref class Element abstract
public ref class Element abstract
[<AbstractClassAttribute>] type Element = class end
[<AbstractClassAttribute>] type Element = class end
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
Element(Configuration) |
Creates an instance of Element class.
| |
Configuration |
The instance of the Configuration class that holds the settings to be used.
| |
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)
| |
CreateLexiconQueries(SearcherIO) |
Creates the LexiconQuery objects for this element.
| |
elementQueryCollection |
The lexicon queries used for the element
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | (Inherited from Object.) | |
GetHashCode()()()() | (Inherited from Object.) | |
GetIgnoredWords()()()() |
Returns the stop words from the original query that were ignored.
| |
GetMatchingDocumentIDs(SearcherIO, IntHashtable, SearchOptions, Hashtable) |
Gets all document IDs matching this element.
| |
GetType()()()() | (Inherited from Object.) | |
IsStopWord()()()() |
Whether is stop word.
| |
MemberwiseClone()()()() | (Inherited from Object.) | |
ToString()()()() | (Inherited from Object.) |
Remarks
A search query contains one or more 'elements' - these are identified as follows.
- PhraseElement - a part of a query between quotes, eg. "this phrase"
- GroupElement - a part of a query between brackets, eg. (this group). Typically holds other elements within it.
- NotWordElement - a word in the query marked with a minus sign, eg. -excludeMe
- WordElement - a word in the query, eg. this
Inheritance Hierarchy
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120