| 程序包 | 说明 |
|---|---|
| io.github.dengliming.redismodule.redisearch | |
| io.github.dengliming.redismodule.redisearch.index | |
| io.github.dengliming.redismodule.redisearch.search |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
RediSearch.addDocument(Document document)
Adds a document to the index.
|
boolean |
RediSearch.addDocument(Document document,
DocumentOptions options) |
org.redisson.api.RFuture<Boolean> |
RediSearch.addDocumentAsync(Document document,
DocumentOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
Document |
Document.field(String field,
String value) |
Document |
Document.setPayload(byte[] payload) |
Document |
Document.setScore(double score) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Document> |
SearchResult.getDocuments() |
| 构造器和说明 |
|---|
SearchResult(long total,
List<Document> documents) |
Copyright © 2024. All rights reserved.