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

elasticsearch index reset or rebuild triggers error #15083

Closed
giannik opened this issue Jan 12, 2024 · 4 comments
Closed

elasticsearch index reset or rebuild triggers error #15083

giannik opened this issue Jan 12, 2024 · 4 comments
Labels

Comments

@giannik
Copy link
Contributor

giannik commented Jan 12, 2024

When enabling elastic search and creating an index if you try to reset or rebuild the index I get the following error :

I am using "ConnectionType": "CloudConnectionPool" in the appsettings to connect to elastic search using a cloud Id.

image

@Skrypt @MikeAlhayek

@MikeAlhayek
Copy link
Member

It seems to be data related.

image

But also, look at the yessql warning before

image

If you can somehow export your content-type and content-items that are expected to be indexed, I can try to reproduce it locally. Otherwise, you may want to take your content definition and items and import them on a new site using OC source and trace the problem.

@Skrypt may have other ideas.

@giannik
Copy link
Contributor Author

giannik commented Jan 12, 2024

It happens even on an index with an indexed content type that has no content items yet.

@MikeAlhayek
Copy link
Member

MikeAlhayek commented Jan 12, 2024

What version are you using? I just tried to reset an index and it worked for me. I think the code I tested is using 1.9 preview

maybe share you're content definition. perhaps you have a unique fields that are causing the issue

@giannik
Copy link
Contributor Author

giannik commented Jan 13, 2024

in the indexingTasks table i had some contentitem ids for indexing from a year ago. I deleted all these records and started from zero and it worked.

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

No branches or pull requests

2 participants