Date
1 - 4 of 4
Fastest way to check if a property key is mixed indexed or not
hadoopmarc@...
Hi Harshit,
The performance impact for JanusGraph when including a property key in multiple mixed indices, is negligable (the selection of the index for a specific query will be a tat slower). Additional mixed indices imply a heavier load on the indexing backend (in particular memory and storage, CPU during inserts) but with little impact on response times if the cluster is dimensioned properly.
Marc
The performance impact for JanusGraph when including a property key in multiple mixed indices, is negligable (the selection of the index for a specific query will be a tat slower). Additional mixed indices imply a heavier load on the indexing backend (in particular memory and storage, CPU during inserts) but with little impact on response times if the cluster is dimensioned properly.
Marc
Harshit Sharma
Will there be any performance impact if i will index a property key in multiple indices (mixed index)?
On Sat, 15 Jan, 2022, 3:55 pm , <hadoopmarc@...> wrote:
Hi Harshit,
The concept "property is indexed or not" is ambiguous because an index can have multiple property keys. If you want to know if there is an index with a specific property key as the only key, indeed you would have to do something like in your example code (but modified).
Best wishes, Marc
hadoopmarc@...
Hi Harshit,
The concept "property is indexed or not" is ambiguous because an index can have multiple property keys. If you want to know if there is an index with a specific property key as the only key, indeed you would have to do something like in your example code (but modified).
Best wishes, Marc
The concept "property is indexed or not" is ambiguous because an index can have multiple property keys. If you want to know if there is an index with a specific property key as the only key, indeed you would have to do something like in your example code (but modified).
Best wishes, Marc
Harshit Sharma
Is there a way I can check if a particular property is indexed or not?
I know the following method but there I will have to traverse all indexes
List<JanusgraphIndex> indexList = mgmt.getIndexes(Vertex.class)
For(index : indexList){
propertyKeys = index.getFieldKeys()
if (propertyKeys.contains("KEY1")
return true;
}
return false;
is there a better way to do the same?
-- Regards,
Harshit Sharma
+91-9901459920