PEGA0094 alert: Could not run query in optimal way
The PEGA0094 alert is triggered when a report could not be run against Elasticsearch indexes and instead runs the report directly against the database.
Example message text
Could not run query in an optimal way, hints: eventually consistent storage. Failed to execute query on Elasticsearch for <class>, reason: <reason why the report could not run against Elasticsearch>
The class is the class against which the report was run.
Reason for the alert
This alert occurs for the following reasons:
- The index could not be found.
- Some stored fields are missing.
- Some indexed fields are missing.