Ontotext-AD / graphdb-mongodb-plugin

GraphDB MongoDB Plugin
Apache License 2.0
1 stars 0 forks source link

GDB-8161 MongoDB connector: Multiple index calls in the same query #21

Open VPetrova00 opened 1 year ago

VPetrova00 commented 1 year ago

The MR includes fixes for GDB-8161 and GDB-8473 tasks.

VPetrova00 commented 1 year ago

The MR resolves the issue with the second query from the documentation (GDB-8161) and the problem described in GDB-8473. With the proposed solution it will be possible to create custom graphs (regarding the second query from the documentation) using the two namespaces - "http://www.ontotext.com/connectors/mongodb#" and "http://www.ontotext.com/connectors/mongodb/instance#". If we want to use only the one namespace (as it was before the proposed fix), we can change the example in the documentation because it uses the other namespace and because of that the query doesn’t work. If we want to use the both namespaces, again can be clarified in the documentation because with different namespaces the query will not work.