LuceneAutoCompleteIndexCreator

From Catglobe Wiki
Revision as of 10:55, 18 May 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

LuceneAutoCompleteIndexCreator



Creates and updates lucene indexes to help find things

Constructors

  • (string name "Name of the index", 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.