LuceneAutoCompleteIndexCreator class
Revision as of 11:11, 1 June 2017 by Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>LuceneAutoCompleteIndexCreator</nowiki> |Description=<nowiki>Creates and updates lucene indexes to help find things</nowiki> |Constructo...")
LuceneAutoCompleteIndexCreator
Creates and updates lucene indexes to help find things
Constructors
- (string name "Name of the index", int parentResourceId "Resource to check permissions on", int nrPrefix "Number of chars before prefix is used before infix", Dictionary dict "Dictionary of searchValues and weight (number of occurances)") - Initialize a brand new index, or overwrite all values in existing
Methods
- Empty Commit() - Ensure all changes are serialized to disc. No changes are allowed after calling this.
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.