Skip to content

Does pgsync support analysis ik tokenizer?I want to set fields during synchronization that require IK tokenization. How should I modify schema.json #595

@531128151

Description

@531128151

this is my schema.json:
[
{
"database": "agent",
"index": "agent_line_index",
"nodes": {
"table": "ai_line_info",
"schema": "public",
"columns": [
"line_id",
"line_name",
"line_type",
"voltage_level"
],
"transform": {
"line_name": {
"type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
]
When I execute on Kibana:GET /agent_line_index/_mapping ;The tokenizer is not working,May I ask if there are any issues with my schema.json format or syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions