Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Code examples #3

Open
nspyke opened this issue Jul 17, 2014 · 0 comments
Open

Request: Code examples #3

nspyke opened this issue Jul 17, 2014 · 0 comments

Comments

@nspyke
Copy link

nspyke commented Jul 17, 2014

In the readme.md, would it be possible to put a code example of how to implement the analyzer, filter and tokenizer?

In the ES customer analyzer documentation there are options to set.
What options are available to be set? What are some sensible default options?

For example, I have this configuration;

{
    "template": "template_ko",
    "settings": {
        "analysis": {
            "analyzer": {
                "kr_analyzer": {
                    "type": "custom",
                    "tokenizer": "kr_tokenizer",
                    "filter": [
                        "kr_filter"
                    ]
                }
            },
            "tokenizer": {
                "kr_tokenizer": {

                }
            },
            "filter": {
                "kr_filter": {}
            }
        }
    }
}

What should I be putting in tokenizer.kr_tokenizer and filter.kr_filter??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant