1using System.Collections.Generic;
2using System.Threading.Tasks;
53 public override bool Equals(
object obj)
81 IEnumerable<KeyValuePair<string, TokenReferences>> Records = await this.
GetTokenReferences(Process);
83 foreach (KeyValuePair<string, TokenReferences> Rec
in Records)
85 string Token = Rec.Key;
90 for (j = 0; j < d; j++)
108 Count = References.
Counts[j],
119 LinkedList<ulong> ToRemove =
null;
125 if (ToRemove is
null)
126 ToRemove =
new LinkedList<ulong>();
132 if (!(ToRemove is
null))
139 if (
Process.ReferencesByObject.Count == 0)
Abstract base class for keywords.
virtual bool Ignore
If keyword should be ignored.
abstract new bool Equals(object obj)
virtual int OrderComplexity
Order complexity (within category) of keyword
abstract Task< IEnumerable< KeyValuePair< string, TokenReferences > > > GetTokenReferences(SearchProcess Process)
Gets available token references.
abstract new string ToString()
Represents a required keyword.
override bool Optional
If keyword is optional
override async Task< bool > Process(SearchProcess Process)
Processes the keyword in a search process.
override bool Ignore
If keyword should be ignored.
override bool Required
If keyword is required
override Task< IEnumerable< KeyValuePair< string, TokenReferences > > > GetTokenReferences(SearchProcess Process)
Gets available token references.
override string ToString()
override int OrderComplexity
Order complexity (within category) of keyword
override bool Equals(object obj)
RequiredKeyword(Keyword Keyword)
Represents a required keyword.
override int OrderCategory
Order category of keyword
Contains information about a search process.
Contains a reference to an indexed object.
Contains matching information about a document in a search.
Contains a reference to a token.
Contains a sequence of object references that include the token in its indexed text properties.
DateTime[] Timestamps
Timestamps when corresponding object refernces were indexed.
uint[] Counts
Token counts for respective object reference.
ulong[] ObjectReferences
References to objects containing the token.
uint LastBlock
Index to last block in index representing the same token.