Date
1 - 7 of 7
keys are not indexed
Ankur Goel <ankur...@...>
Robert, If both vertex has mobile property then comparing the value is not a problem. Problem that i am facing is how to identify if a vertex contains that property key or not? ~ On Tuesday, October 3, 2017 at 1:26:16 PM UTC+5:30, Ankur Goel wrote:
|
|
Robert Dale <rob...@...>
Looks like you're running into a time limit on the server. You could adjust that, but it's probably not a good use case for a remote connection. You'll probably want to use a local (embedded) JanusGraph for this. Marc's suggestion is good. Along the same lines, you could do something like for (x in 0..9) g.V().has('mobile', textPrefix(x)), depending on the 'mobile' data type and index type. Robert Dale On Wed, Oct 4, 2017 at 7:10 AM, Ankur Goel <ankur...@...> wrote:
|
|
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:
|
|
marc.d...@...
Hi Ankur, For an alternative approach with an Elasticsearch indexing backend you can also look into: It is not clear form the examples, however, whether you could use the returned vertices to create edges on it. Marc Op dinsdag 3 oktober 2017 09:56:16 UTC+2 schreef Ankur Goel:
|
|
Ankur Goel <ankur...@...>
This is equivalent to disable force-index. Is there any way i can use index power to speed up this operation. Also when i execute this i am getting below exception: gremlin> g.withComputer().V().has('mobile') TraversalInterruptedException Type ':help' or ':h' for help. Display stack trace? [yN]y org.apache.tinkerpop.gremlin.groovy.plugin.RemoteException: TraversalInterruptedException at org.apache.tinkerpop.gremlin.console.groovy.plugin.DriverRemoteAcceptor.submit(DriverRemoteAcceptor.java:170) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) at org.apache.tinkerpop.gremlin.console.GremlinGroovysh.execute(GremlinGroovysh.groovy:99) at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122) at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:124) at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) at org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:152) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:455) ~ On Tuesday, October 3, 2017 at 1:26:16 PM UTC+5:30, Ankur Goel wrote:
|
|
Robert Dale <rob...@...>
You can do OLAP without indexes which will do full scans: g.withComputer().V().has('mobile') Robert Dale On Tue, Oct 3, 2017 at 3:56 AM, Ankur Goel <ankur...@...> wrote:
|
|
Ankur Goel <ankur...@...>
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. ---- |
|