public class IndexKey extends Object implements Serializable
| Constructor and Description |
|---|
IndexKey() |
IndexKey(IndexKey other)
create index config from another index key
|
IndexKey(List<String> token,
boolean caseSensitive)
create Index config for a key
|
IndexKey(List<String> token,
boolean caseSensitive,
String type) |
IndexKey(List<String> token,
boolean caseSensitive,
String type,
String alias) |
IndexKey(List<String> token,
boolean caseSensitive,
String type,
String alias,
String embedding,
String vector_index) |
| Modifier and Type | Method and Description |
|---|---|
void |
FromJsonObject(com.alibaba.fastjson.JSONObject dict) |
void |
FromJsonString(String indexKeyString) |
String |
getAlias() |
boolean |
GetCaseSensitive() |
String |
getEmbedding() |
List<String> |
GetToken() |
String |
GetType() |
String |
getVectorIndex() |
boolean |
IsChn() |
boolean |
IsDocValue() |
void |
setAlias(String alias) |
void |
SetCaseSensitive(boolean caseSensitive) |
void |
SetChn(boolean chn) |
void |
SetDocValue(boolean docValue) |
void |
setEmbedding(String embedding) |
void |
SetToken(List<String> token) |
void |
SetType(String type) |
void |
setVectorIndex(String vector_index) |
com.alibaba.fastjson.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
com.alibaba.fastjson.JSONObject |
ToRequestJson() |
String |
ToRequestString() |
public IndexKey()
public IndexKey(List<String> token, boolean caseSensitive)
token - the token used to split log datacaseSensitive - true is case sensitivepublic IndexKey(List<String> token, boolean caseSensitive, String type, String alias, String embedding, String vector_index)
public IndexKey(IndexKey other)
other - another index keypublic String getAlias()
public void setAlias(String alias)
public boolean IsChn()
public void SetChn(boolean chn)
public boolean IsDocValue()
public void SetDocValue(boolean docValue)
docValue - to be setpublic String GetType()
public void SetType(String type)
type - to be setpublic boolean GetCaseSensitive()
public void SetCaseSensitive(boolean caseSensitive)
caseSensitive - the caseSensitive to setpublic String getEmbedding()
public String getVectorIndex()
public void setEmbedding(String embedding)
embedding - public void setVectorIndex(String vector_index)
vector_index - public com.alibaba.fastjson.JSONObject ToRequestJson()
throws LogException
LogExceptionpublic String ToRequestString() throws LogException
LogExceptionpublic com.alibaba.fastjson.JSONObject ToJsonObject()
throws LogException
LogExceptionpublic String ToJsonString() throws LogException
LogExceptionpublic void FromJsonObject(com.alibaba.fastjson.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String indexKeyString) throws LogException
LogExceptionCopyright © 2025. All Rights Reserved.