OSID Logo
OSID Specifications
search package
Version 3.1.0
Interfaceosid.search.EngineQueryInspector
Implementsosid.OsidCatalogQueryInspector
Used Byosid.search.EngineQueryInspector
osid.search.EngineSearchResults
Description

The query inspectors provide a means of accessing the match terms of a query. These interfaces are used to examine the actual query terms used in a search or that may be used to create a smart catalog. Query inspectors may be converted to OsidQuery interfaces for reuse or modification in the search sessions.

MethodgetAncestorEngineIdTerms
Description

Gets the ancestor engine Id query terms.

Returnosid.search.terms.IdTerm[] the ancestor engine Id terms
Compliancemandatory This method must be implemented.
MethodgetAncestorEngineTerms
Description

Gets the ancestor engine query terms.

Returnosid.search.EngineQueryInspector[] the ancestor engine terms
Compliancemandatory This method must be implemented.
MethodgetDescendantEngineIdTerms
Description

Gets the descendant engine Id query terms.

Returnosid.search.terms.IdTerm[] the descendant engine Id terms
Compliancemandatory This method must be implemented.
MethodgetDescendantEngineTerms
Description

Gets the descendant engine query terms.

Returnosid.search.EngineQueryInspector[] the descendant engine terms
Compliancemandatory This method must be implemented.
MethodgetEngineQueryInspectorRecord
Description

Gets the engine query inspector record corresponding to the given Engine record Type. Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypeengineRecordType an engine record type
Returnosid.search.records.EngineQueryInspectorRecord the engine query inspector record
ErrorsNULL_ARGUMENT engineRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(engineRecordType) is false
Compliancemandatory This method must be implemented.