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

Update Elasticsearch mapping to allow very long strings #374

Closed
benjben opened this issue Mar 20, 2023 · 0 comments
Closed

Update Elasticsearch mapping to allow very long strings #374

benjben opened this issue Mar 20, 2023 · 0 comments

Comments

@benjben
Copy link
Contributor

benjben commented Mar 20, 2023

So that very long strings can be indexed, mapping for good and bad should be updated to include :

        "analysis": {
            "analyzer": {
                "default": {
                    "tokenizer": "keyword",
                    "filter": ["oversized-fields"]
                }
            },
            "filter": {
                "oversized-fields": {
                    "type": "length",
                    "max": 8191
                }
            }
        },
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