18 this.IndexCollectionName =
string.Empty;
19 this.CollectionName =
string.Empty;
20 this.IndexForFullTextSearch =
false;
73 Dictionary<string, PropertyDefinition> ByName =
new Dictionary<string, PropertyDefinition>();
84 Property.
Type != Prev.Type)
97 ByName.Values.CopyTo(Definitions, 0);
99 this.Properties = Definitions;
100 this.IndexForFullTextSearch =
true;
113 Dictionary<string, PropertyDefinition> ByName =
new Dictionary<string, PropertyDefinition>();
114 bool Removed =
false;
128 int c = ByName.Count;
131 ByName.Values.CopyTo(Definitions, 0);
133 this.Properties = Definitions;
134 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 ExternalSource
External source.
PropertyType Type
Type of property definition
string Definition
Definition, as a string.
TypeNameSerialization
How the type name should be serialized.
PropertyType
Type of indexed property.