Skip to content

how can i mapping custom analyzer ??  #100

@ilhee

Description

@ilhee
{
    "settings": {
        "index": {
            "number_of_shards": "3",
            "number_of_replicas": "1"
        },
        "analysis" : {
          "analyzer" : {
            "ilhee_Custom" : {
                "tokenizer" : "whitespace",
                "filter" : ["lowercase", "my_stoplist", "snowball", "word_delimiter"]
                }
            },
        "filter" : {
            "my_stoplist" : {
                "type" : "stop",
                "stopwords_path" : "stopword_list.txt",
                "remove_trailing" : true
                }
            }
        }
    },
    "mappings": {
        "mc": {
            "properties": {
                "id": {
                    "type": "long"
                },
                "code": {
                    "type": "string"
                },
                "mainclass": {
                    "type": "string",
                    "analyzer": "ilhee_Custom"
                }
            }
        }
    }
}

how can i change the plain elastic version from postman source ? 

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