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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public class NotWordElement : Element
public class NotWordElement : Element
Public Class NotWordElement
	Inherits Element
Public Class NotWordElement
	Inherits Element
public ref class NotWordElement : public Element
public ref class NotWordElement : public Element
type NotWordElement =  
    class
        inherit Element
    end
type NotWordElement =  
    class
        inherit Element
    end
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) (Inherited from Object.)
Finalize()()()() (Inherited from Object.)
GetHashCode()()()() (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()()()() (Inherited from Object.)
IsStopWord()()()()
Whether is stop word, only Word elements can be stop words.
(Overrides Element.IsStopWord()()()().)
MemberwiseClone()()()() (Inherited from Object.)
ToString()()()() (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: 2015.6.15.120