Difference between revisions of "LuceneAutoCompleteSearcher class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>LuceneAutoCompleteSearcher</nowiki> |Description=<nowiki>Find documents</nowiki> |Constructors= {{CGscriptConstructors_Template|Paramete...")
 
 
Line 2: Line 2:
 
|Name=<nowiki>LuceneAutoCompleteSearcher</nowiki>
 
|Name=<nowiki>LuceneAutoCompleteSearcher</nowiki>
 
|Description=<nowiki>Find documents</nowiki>
 
|Description=<nowiki>Find documents</nowiki>
|Constructors=
+
|InheritsFrom=object|Constructors=
 
{{CGscriptConstructors_Template|Parameters=
 
{{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>parentResourceId</nowiki>|Description=<nowiki>Resource to check permissions on</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>nrPrefix</nowiki>|Description=<nowiki>Must be the same as when index was created</nowiki>}}
 
{{CGscriptParameters_Template|Type=string|Name=<nowiki>name</nowiki>|Description=<nowiki>Name of the index</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>parentResourceId</nowiki>|Description=<nowiki>Resource to check permissions on</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>nrPrefix</nowiki>|Description=<nowiki>Must be the same as when index was created</nowiki>}}
Line 10: Line 10:
 
{{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>}}
 
{{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>}}
 
|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>}}
+
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
 
|Properties=
 
|Properties=
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 
{{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>}}
+
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}

Latest revision as of 05:44, 2 July 2020

LuceneAutoCompleteSearcher



Find documents

Parent class

Inherits from object

Constructors

  • (string name "Name of the index", int parentResourceId "Resource to check permissions on", int nrPrefix "Must be the same as when index was created") - Instanciate searcher

Methods

  • array Search(string searchString "Partial substring to search for.", int nrHits "How many results to try to get") - Find values. The returned value is a ordered list of an LuceneAutoCompleteSearchResult
  • (From object) string ToString() - The string representation of the object.

Properties

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