|
|
Line 1: |
Line 1: |
| {{CGscriptClass_Template
| | [[Category:Archive]] |
| |Name=<nowiki>LuceneAutoCompleteSearcher</nowiki>
| |
| |Description=<nowiki>Find documents</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>Must be the same as when index was created</nowiki>}}
| |
| |Description=<nowiki>Instanciate searcher</nowiki>}}
| |
| |Methods=
| |
| {{CGscriptMethods_Template|ReturnType=array|Name=<nowiki>Search</nowiki>|Parameters=
| |
| {{CGscriptParameters_Template|Type=string|Name=<nowiki>searchString</nowiki>|Description=<nowiki>Partial substring to search for.</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>nrHits</nowiki>|Description=<nowiki>How many results to try to get</nowiki>}}
| |
| |Description=<nowiki>Find values. The returned value is a ordered list of an LuceneAutoCompleteSearchResult</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>}}
| |
| }}
| |