Package | Description |
---|---|
io.redisearch | |
io.redisearch.client |
Modifier and Type | Method and Description |
---|---|
boolean |
Client.addDocument(Document doc,
AddOptions options)
Add a document to the index
|
boolean[] |
Client.addDocuments(AddOptions options,
Document... docs)
Add a batch of documents to the index
|
Modifier and Type | Method and Description |
---|---|
AddOptions |
AddOptions.setLanguage(String language)
Set the indexing language
|
AddOptions |
AddOptions.setNosave()
Indicate that the document's contents should not be stored in the database.
|
AddOptions |
AddOptions.setNosave(boolean enabled)
Whether document's contents should not be stored in the database.
|
AddOptions |
AddOptions.setReplacementPolicy(AddOptions.ReplacementPolicy mode)
Indicate the behavior for the existing document.
|
AddOptions |
AddOptions.setReplacementPolicy(AddOptions.ReplacementPolicy mode,
String filter)
Indicate the behavior for the existing document.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Client.addDocument(Document doc,
AddOptions options)
Add a document to the index
|
boolean[] |
Client.addDocuments(AddOptions options,
Document... docs)
Add a batch of documents to the index
|
Copyright © 2020 RedisLabs. All rights reserved.