Naanou.Common.Search
Class ContentSearchKey

Used for metadata or filename based searches. Contexts are distilled and hashed.

Field Summary
string[] context
string keyHash

Fields inherited from class Naanou.Common.Search.ContentKey
content, inserter, source

Constructor Summary
ContentSearchKey(Naanou.Common.IEntry content, string[] context, Naanou.Common.Search.ContentSource source)
         Constructor

Property Summary
string[] Context
         Gets context
string KeyHash
         Gets key hash

Properties inherited from class Naanou.Common.Search.ContentKey
Content, Inserter, Source

Methods inherited from class Naanou.Common.Search.ContentKey
ToString

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone


Field Detail

context

private string[] context


keyHash

private string keyHash

Constructor Detail

ContentSearchKey

protected ContentSearchKey(Naanou.Common.IEntry content,
                           string[] context,
                           Naanou.Common.Search.ContentSource source)

Constructor

Parameters:
content - Content
context - Context
source - Source
Property Detail

Context

public string[] Context

Gets context


KeyHash

public string KeyHash

Gets key hash