-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementstatus/triageteam/sre
Description
Description
Query the client session with
SELECT e.clientId, count(e.clientId) FROM %s as e WHERE e.realmId = :realmId GROUP BY e.clientId ORDER BY e.clientId
shows the message
Distributed sort not supported for non-indexed query 'SELECT C0, C1 FROM Row ORDER BY C0 ASC'. Consider using an index for optimal performance in the Infinispan cluster logs.
Lines 102 to 106 in a2c1055
| @ProtoField(1) | |
| @Basic(projectable = true, sortable = true) | |
| public String getClientId() { | |
| return clientId; | |
| } |
Value Proposition
The field should be annotated with aggregate = true, so Lucene can do the aggregation natively.
Goals
.
Non-Goals
.
Discussion
No response
Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementstatus/triageteam/sre