LuceneAutoCompleteIndexCreator class

From Catglobe Wiki
Jump to: navigation, search

LuceneAutoCompleteIndexCreator



Creates and updates lucene indexes to help find things

Parent class

Inherits from object

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
  • (From object) string ToString() - The string representation of the object.
  • Empty UpdateWeights(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 change in weight (number of occurances, may be negative). Must have atleast 1 value") - Update weights

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.