We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a problem in finding through properties .
In the example he cites :
This will return all the vertices que have a "name " property with a value of " James" : g.vertices.index.lookup vertices = ( name = " James" ) .
I created a model called Product :
from bulbs.titan import Graph as Rexter from bulbs.model import Node, NodeProxy, Relationship, build_data from bulbs.property import String, Integer, DateTime from bulbs.utils import current_datetime # Nodes class Product(Node): element_type = "product" name = String(nullable=False) pid = Integer(nullable=False, indexed=True) view_count = Integer(default=0, nullable=False) created = DateTime(default=current_datetime, nullable=False)
And add with some information .
When i run g.vertices.index.lookup(pid =318) the return is as follows:
g.vertices.index.lookup(pid =318)
GET url: http://localhost:8182/graphs/graph/vertices?value=318&key=pid GET body: None
If I am in the Gremlin and run g.V( 'pid ', 318) .map() it returns :
g.V( 'pid ', 318) .map()
== > { created = 1437049813 , name = Gladiator (2000 ) , pid = 3578 , ELEMENT_TYPE = product, view_count = 0}
Why can not I get the vertex by Bulbs ?
Thanks!
The text was updated successfully, but these errors were encountered:
+1 Looks like index lookup for integer properties isn't working, irrespective of the underlying DB.
Here's the mailing list post related to this issue : https://groups.google.com/forum/#!msg/gremlin-users/HmWNz83Ma3k/RbgOBMmOidoJ
Sorry, something went wrong.
No branches or pull requests
I have a problem in finding through properties .
In the example he cites :
I created a model called Product :
And add with some information .
When i run
g.vertices.index.lookup(pid =318)
the return is as follows:If I am in the Gremlin and run
g.V( 'pid ', 318) .map()
it returns :Why can not I get the vertex by Bulbs ?
Thanks!
The text was updated successfully, but these errors were encountered: