Keyoti Search for ASP.NET API Docs
NotWordElement Class
API DocumentationKeyoti.SearchEngine.SearchNotWordElement
Keyoti Search for ASP.NET 2010
Represents a 'not word', appearing in queries as -word
Declaration Syntax
C#Visual BasicVisual C++
public class NotWordElement : Element
Public Class NotWordElement _
	Inherits Element
public ref class NotWordElement : public 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 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";
"this" will be a WordELement. "notthis" will be a NotWordElement.
Inheritance Hierarchy
Object
Element
 NotWordElement

Assembly: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609