1using System.Collections.Generic;
2using System.Threading.Tasks;
13 private readonly Dictionary<ulong, ObjectReference> references =
new Dictionary<ulong, ObjectReference>();
14 private readonly
string indexCollection;
24 this.indexCollection = IndexCollection;
25 this.ReferencesByObject =
new Dictionary<ulong, MatchInformation>();
26 this.IsRestricted =
false;
51 public Dictionary<ulong, bool>
Found
64 this.IsRestricted =
true;
65 this.Found =
new Dictionary<ulong, bool>();
81 if (CanLoadFromDatabase)
87 this.references[ObjectIndex] = Ref;
Static interface for database persistence. In order to work, a database provider has to be assigned t...
This filter selects objects that conform to all child-filters provided.
This filter selects objects that have a named field equal to a given value.
Contains information about a search process.
async Task< ObjectReference > TryGetObjectReference(ulong ObjectIndex, bool CanLoadFromDatabase)
Tries to get an object reference.
bool IsRestricted
If the search process is restricted.
Dictionary< ulong, bool > Found
Objects found during the processing of the current keyword.
void IncRestricted()
Increments counter of number of restricted keywords.
Dictionary< ulong, MatchInformation > ReferencesByObject
References found.
SearchProcess(IPersistentDictionary Index, string IndexCollection)
Contains information about a search process.
IPersistentDictionary Index
Index dictionary
Contains a reference to an indexed object.
Persistent dictionary that can contain more entries than possible in the internal memory.