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

Invalid index name #30

Open
gabriel-f-santos opened this issue Jan 15, 2023 · 1 comment
Open

Invalid index name #30

gabriel-f-santos opened this issue Jan 15, 2023 · 1 comment

Comments

@gabriel-f-santos
Copy link

Hello, i am facing this issue:
elasticsearch.exceptions.RequestError: RequestError(400, 'invalid_index_name_exception', "Invalid index name [__catalogue_product], must not start with '_'.")
There is something wrong?
Thanks!

@specialunderwear
Copy link
Member

Hi, Ithink you've incomplete configuration, did you include the "INDEX" name in your WAGTAILSEARCH_BACKENDS settings:

WAGTAILSEARCH_BACKENDS = {
    "default": {
        "BACKEND": "oscar_elasticsearch.search.backend",
        "URLS": ["http://127.0.0.1:9200"],
        "INDEX": "my-index-name",
        "TIMEOUT": 120,
        "OPTIONS": {},
        "INDEX_SETTINGS": {},
        "ATOMIC_REBUILD": True,
        "AUTO_UPDATE": True,
    }
}

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

2 participants