1using System.Collections.Generic;
69 Dictionary<string, PropertyDefinition> ByName =
new Dictionary<string, PropertyDefinition>();
90 ByName.Values.CopyTo(Definitions, 0);
92 this.Properties = Definitions;
93 this.IndexForFullTextSearch =
true;
106 Dictionary<string, PropertyDefinition> ByName =
new Dictionary<string, PropertyDefinition>();
107 bool Removed =
false;
121 int c = ByName.Count;
124 ByName.Values.CopyTo(Definitions, 0);
126 this.Properties = Definitions;
127 this.IndexForFullTextSearch = c > 0;
Contains information about a collection, in relation to full-text-search.
bool IndexForFullTextSearch
If collection should be indexed.
bool AddIndexableProperties(params PropertyDefinition[] Properties)
Adds properties for full-text-search indexation.
PropertyDefinition[] Properties
Properties to index
string CollectionName
Collection Name
CollectionInformation(string IndexCollectionName, string CollectionName, bool IndexForFullTextSearch, params PropertyDefinition[] Properties)
Contains information about a collection, in relation to full-text-search.
string IndexCollectionName
Index Collection Name
bool RemoveIndexableProperties(params PropertyDefinition[] Properties)
Removes properties from full-text-search indexation.
PropertyType[] PropertyTypes
Types of indexed properties.
CollectionInformation()
Contains information about a collection, in relation to full-text-search.
Defines an indexable property.
string Definition
Definition, as a string.
TypeNameSerialization
How the type name should be serialized.
PropertyType
Type of indexed property.