LuceneAutoCompleteIndexCreator class

From Catglobe Wiki
Revision as of 08:12, 21 June 2017 by Nguyenduyan (talk | contribs)
Jump to: navigation, search

LuceneAutoCompleteIndexCreator



Creates and updates lucene indexes to help find things

Constructors

  • () - Initialize a index creator

Methods

  • Empty CreateOrOverwrite(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). Must have atleast 1 value") - Initialize a brand new index, or overwrite all values in existing
  • 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.