Keyoti Search for ASP.NET API Docs
Element Class
API DocumentationKeyoti.SearchEngine.SearchElement
Keyoti Search for ASP.NET 2010
Base class for all query elements, see remarks.
Declaration Syntax
C#Visual BasicVisual C++
public abstract class Element
Public MustInherit Class Element
public ref class Element abstract
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
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)
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.

GetMatchingDocumentIDs(SearcherIO, IntHashtable, SearchOptions, Hashtable)
Gets all document IDs matching this element.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
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.)
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: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609