IMbObjectsImportContext

Assembly: BISearch;

Namespace: Prognoz.Platform.Interop.BISearch;

Description

The IMbObjectsImportContext interface contains properties and methods that are used to set up indexing context of repository object metadata.

Inheritance Hierarchy

          ISearchEngineImportContext

          IMbObjectsImportContext

Comments

The IMbObjectsImportContext interface is used if on getting the indexing object, the SearchEngineTargetType.MbObject value was specified as the ISearchEngineSchema.ImportExecutor property parameter value. After getting the indexing object the IImportExecutor.CreateContext method cast the method result to the IMbObjectsImportContext interface.

NOTE. The ISearchEngineSchema.ImportExecutor property is available only in the Fore.NET language.

Indexed objects can be determined both in one interface property and in several interface properties.

On indexing the Document objects, except for their metadata, the file contents loaded to the document is also indexed. Search is also executed by document metadata and by file contents. To load files with search results, set the ISolrMbObjectsSearchContext.NeedDocumentContent property to True.

Properties

  Property name Brief description
ClassIds The ClassIds property determines the array containing class identifiers of indexed repository objects.
ContainerKeys The ContainerKeys property determines an array of repository objects, for which all child elements must be indexed.
Keys The Keys property determines a keys array of indexed repository objects.

Methods inherited from ISearchEngineImportContext

  Method name Brief description
LoadFromXml The LoadFromXml method loads indexing parameters from the specified XML element.
SaveToXml The SaveToXml method saves indexing parameters to the specified XML element.

See also:

BISearch Assembly Interfaces