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

ArangoIndex Json Deserialization with Inverted Index and Persistant Index #69

Closed
WGertner opened this issue Nov 28, 2023 · 2 comments
Closed

Comments

@WGertner
Copy link

WGertner commented Nov 28, 2023

Hello, i have been trying to create/init a collection with a couple of indexes.
When i am trying to read all existing indexes of a collection i am getting a System.Text.Json.JsonException with the Message "The JSON value could not be converted to System.String. Path: $.indexes[1].fields[0]."
After some research, I found out that there is a difference between the model of the persistent index and the model of the inverted index.

The 'fields' property is a string array in the persistent index and an object array in the inverted index. When querying, however, it tries to convert both to an IList<string>

@coronabytes
Copy link
Owner

yeah only newtonsoft works well with ilist

@vitalii-wowl-work
Copy link

vitalii-wowl-work commented Sep 27, 2024

@coronabytes In version 3.11.3 it still appear. And listing the indexes is not possible

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

3 participants