orientjs
orientjs copied to clipboard
rid bags (?)
I have a vertex with edges of 4 diff classes. There are 36 edges by each of two classes and by one edge on rest of.
select from #vertex shows me all edges in orient studio
but orientjs leaves first two classes empty (like have no edges) why?
rid bags are disabled
my bad — there are 42 edges for each of two classes so it seems like a rid bags issue sorry for noob question, how can i set RID_BAG_EMBEDDED_TO_SBTREEBONSAI_THRESHOLD without java?
config set index.embeddedToSbtreeBonsaiThreshold 1000 has no effect
Per your recommendation on README.md
: "it is strongly recommended that you set RID_BAG_EMBEDDED_TO_SBTREEBONSAI_THRESHOLD to a very large value, e.g. 2147483647." , I haven't been able to find in the documentation or in forums clear instructions on how to set this configuration property.
I'm trying the following in my local orientdb installation:
bin/server.sh -DridBag.embeddedToSbtreeBonsaiThreshold=2147483647
but I'm not sure if the var is actually set or not. Is this the correct way of setting it up?
Thanks!
Any update on this ?
Something similar happend with me as well.
Created more than 40 edges between two nodes, then I could see them in the studio but not using orientjs
.
After updating the setting embeddedToSbtreeBonsaiThreshold
, edges between new nodes are working fine (I can create more than 40 edges and fetch them) but for the initial node (for which I was not able to fetch records using orientjs
before increasing the limit), I still cannot fetch edges.
I had to drop and recreate new nodes :(
hi @royalpinto
the setting embeddedToSbtreeBonsaiThreshold
does not change the created nodes
The support for Tree-Based Ridbag is not yet implemented.
Thanks @maggiolo00 for the quick reply. I noticed that opening node/vertex from studio and saving it (update) fixes the node which was created before setting the limit. Not sure how effective it is, but at least I could fetch edges of it from orientjs
.
Any ways to update nodes created before applying in the setting embeddedToSbtreeBonsaiThreshold
?
If I update nodes from studio, (open node and hit save), edges can be fetched from orientjs. Please let me know if there is any way to update previously created nodes programatically.
I have tried updating nodes by update query but no luck :(
Ex: update users set updatedAt = sysdate()
I tried inspecting studio to see what it's doing. It's basically making a PUT request with all the fields. Not sure which field is fixing the node.
It will be supported in protocol V37
https://github.com/orientechnologies/orientjs/issues/251