LuceneAutoCompleteSearcher class

From Catglobe Wiki
Revision as of 12: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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.