-
Notifications
You must be signed in to change notification settings - Fork 108
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
Creating an arangoSearchView does not set the properties #621
Comments
I just checked the Source Code, and I am not 100% sure but maybe the following code in "src/view.ts"
should be
so it matches the specification (https://www.arangodb.com/docs/stable/http/views-arangosearch.html) |
Weird. I guess this may have been the result of a change between an early development version of the Views API and the final GA. I'm fairly certain we did test for this at some point and it worked at the time. Thanks for reporting. This looks like a bug. |
The ArangoSearch docs were wrong in multiple places about this. It looked like an object with an attribute |
Thanks for the fix. Will there be a release including this soon? Without this fix we cannot use primarySort as it can only be set during view-creation. |
There's a new bugfix release 6.11.1 out which contains the fix. |
Hi,
I am having a problem when creating ArangoSearch-Views via arangojs.
When I provide an "ArangoSearchViewPropertiesOptions" object it gets ignored and no properties get set.
If i use the setProperties command afterwards with the same "ArangoSearchViewPropertiesOptions" object i can set the properties without any problems.
The problem with this though is that the "primarySort" property that was added in 3.5 can only be set during creation of the view.
I used the following Code to replicate the issue:
I used arangojs 6.11.0 and arangodb 3.5.0 for the replication, although i had the same issue with arangojs 6.10.0 and arangodb 3.4.7.
Am I doing something wrong, or might this be a bug?
The text was updated successfully, but these errors were encountered: