Keyoti SearchUnit API Docs
NotWordElement Class
API DocumentationKeyoti.SearchEngine.SearchNotWordElement
Keyoti SearchUnit v6
Represents a 'not word', appearing in queries as -word
Declaration Syntax
C#Visual Basic
public class NotWordElement : Element
Public Class NotWordElement
	Inherits Element
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
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 try to free resources and perform other cleanup operations before it 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()()()()
Whether is stop word, only Word elements can be stop words.
(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
 Copy imageCopy
query = "this -notthis";
"this" will be a WordELement. "notthis" will be a NotWordElement.
Inheritance Hierarchy
Object
Element
 NotWordElement

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