LuceneAutoCompleteSearcher class
Revision as of 11:07, 1 June 2017 by Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>LuceneAutoCompleteSearcher</nowiki> |Description=<nowiki>Find documents</nowiki> |Constructors= {{CGscriptConstructors_Template|Paramete...")
LuceneAutoCompleteSearcher
Find documents
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
- 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.