mirror of
https://github.com/valitydev/exporter-wallet-balances.git
synced 2024-11-06 02:05:22 +00:00
add index for searchRequest
This commit is contained in:
parent
aa2f2d4f9f
commit
491e6b947c
@ -27,6 +27,7 @@ public class OpenSearchCustomClient {
|
||||
@SneakyThrows
|
||||
public List<WalletBalanceData> getWalletBalanceData() {
|
||||
var searchRequest = new SearchRequest.Builder()
|
||||
.index("empayre-processing")
|
||||
.query(q -> q.match(builder -> builder.field("message")
|
||||
.query(builder1 -> builder1.stringValue("Wallet balance"))))
|
||||
.query(q -> q.bool(builder -> builder.filter(this::range)))
|
||||
|
Loading…
Reference in New Issue
Block a user