Re: keys are not indexed


Ankur Goel <ankur...@...>
 

Marc,

I am using Solr for indexing.

My requirement is to connect two vertex in a graph (15 million+ vertex) based on same property value having on both vertex.

Example:

Vertex1 has following properties:
 moble: 1112
 name: asd
 data: qwe

Vertex2 has following properties:
 moble: 1112
 name: abc
 bf: 1

Vertex3 has following properties:
 name: abc
 bf: 2
emai...@a.com


Then we will have connection between:
  - vertex1 and vertex2 based on mobile.
  - vertex1 and vertex2 based on name.

~


On Tuesday, October 3, 2017 at 1:26:16 PM UTC+5:30, Ankur Goel wrote:
Hi,

i need to create dynamic edges based on- if certain property exists or not:

g.V().has('mobile')

I have enabled forced indexes. i am getting below error:

Could not find a suitable index to answer graph query and graph scans are disabled: [()]:VERTEX

Is there any way to create index on property name or alternate approach to achive the same.

----

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.