Namespace: Consultingwerk.SmartIndex
Interface 
ISmartIndexQueryEngine Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartIndex.ElasticSearch.SmartIndexQueryEngine




Top Method Summary
Options Name Purpose
Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (character, character, JsonObject, handle) Executes the given Query based on the Index Name, Query and Request Payload (JSON)
Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (SmartIndexQuery, handle) Executes the given Query based on the Index Name, Query and Request Payload (JSON)
Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (URI, character, character, JsonObject, handle) Executes the given Query based on the Index Name, Query and Request Payload (JSON)
Consultingwerk.SmartIndex.SmartIndexQueryResult FetchNext (SmartIndexQuery, SmartIndexQueryResult, handle) Fetches the batch of documents following the given result


Method Detail
Top

Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (character, character, JsonObject, handle)

Purpose: Executes the given Query based on the Index Name,
Query and Request Payload (JSON)
Notes: Uses the configured endpoint

Parameters:
pcIndexName CHARACTER
The name of the Index to Query
pcQuery CHARACTER
The query argument
poPayload Progress.Json.ObjectModel.JsonObject
The JSON object with the request details
phResultBuffer HANDLE
The handle of the buffer to receive the resulting records
Returns Consultingwerk.SmartIndex.SmartIndexQueryResult
The result of the query
Top

Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (SmartIndexQuery, handle)

Purpose: Executes the given Query based on the Index Name,
Query and Request Payload (JSON)
Notes: Uses the configured endpoint

Parameters:
poQuery Consultingwerk.SmartIndex.SmartIndexQuery
The SmartIndexQuery instance
phResultBuffer HANDLE
The handle of the buffer to receive the resulting records
Returns Consultingwerk.SmartIndex.SmartIndexQueryResult
The result of the query
Top

Consultingwerk.SmartIndex.SmartIndexQueryResult ExecuteQuery (URI, character, character, JsonObject, handle)

Purpose: Executes the given Query based on the Index Name,
Query and Request Payload (JSON)
Notes: Uses the given endpoint rather than the configured one

Parameters:
poUri OpenEdge.Net.URI
The URL of the search engine endpoint
pcIndexName CHARACTER
The name of the Index to Query
pcQuery CHARACTER
The query argument
poPayload Progress.Json.ObjectModel.JsonObject
The JSON object with the request details
phResultBuffer HANDLE
The handle of the buffer to receive the resulting records
Returns Consultingwerk.SmartIndex.SmartIndexQueryResult
The result of the query
Top

Consultingwerk.SmartIndex.SmartIndexQueryResult FetchNext (SmartIndexQuery, SmartIndexQueryResult, handle)

Purpose: Fetches the batch of documents following the given result
Notes: Continues at From + Size of the previous result. The records are
added to the temp-table - emptying it between two batches is up
to the caller.
Without a previous result this behaves exactly like
ExecuteQuery, so a paging loop can call FetchNext from the
start without a special case for the first batch

Parameters:
poQuery Consultingwerk.SmartIndex.SmartIndexQuery
The SmartIndexQuery instance that produced the previous result
poPreviousResult Consultingwerk.SmartIndex.SmartIndexQueryResult
The result of the preceding fetch, or the unknown value for the first batch
phResultBuffer HANDLE
The handle of the buffer to receive the resulting records
Returns Consultingwerk.SmartIndex.SmartIndexQueryResult
The result of the query


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:17:21