Represents a 'not word', appearing in queries as -word
Declaration Syntax
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
NotWordElement(String, Configuration) |
Creates a new NotWordElement.
| |
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).) | |
elementQueryCollection |
The lexicon queries used for the element
(Inherited from Element.) | |
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.) | |
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 element (not containing the notword).
(Overrides Element.GetMatchingDocumentIDs(SearcherIO, IntHashtable, SearchOptions, Hashtable).) | |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsStopWord()()() | (Overrides Element.IsStopWord()()().) | |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Examples
CopyC#
query = "this -notthis";
Inheritance Hierarchy
Object | ||
Element | ||
NotWordElement |