(Tag: visualeditor-switched) |
|
Line 1: |
Line 1: |
− | {{CGscriptClass_Template
| + | [[Category:Archive]] |
− | |Name=<nowiki>LuceneAutoCompleteIndexCreator</nowiki>
| |
− | |Description=<nowiki>Creates and updates lucene indexes to help find things</nowiki>
| |
− | |Constructors=
| |
− | {{CGscriptConstructors_Template|Parameters=
| |
− | {{CGscriptParameters_Template|Type=string|Name=<nowiki>name</nowiki>|Description=<nowiki>Name of the index</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>nrPrefix</nowiki>|Description=<nowiki>Number of chars before prefix is used before infix</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=Dictionary|Name=<nowiki>dict</nowiki>|Description=<nowiki>Dictionary of searchValues and weight (number of occurances)</nowiki>}}
| |
− | |Description=<nowiki>Initialize a brand new index, or overwrite all values in existing</nowiki>}}
| |
− | |Methods=
| |
− | {{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Commit</nowiki>|Description=<nowiki>Ensure all changes are serialized to disc. No changes are allowed after calling this.</nowiki>}}
| |
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
| |
− | |Properties=
| |
− | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
| |
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
| |
− | }}
| |