bulbs icon indicating copy to clipboard operation
bulbs copied to clipboard

neo4jserver FulltextIndex not performing as expected on put_unique

Open fphhotchips opened this issue 11 years ago • 0 comments

Traceback (most recent call last):
  File "indexer.py", line 392, in <module>
    add_to_fulltext(int(p.fulltext))
  File "indexer.py", line 303, in add_to_fulltext
    index.put_unique(node, key="title", value=node.title)
  File "/usr/local/lib/python2.7/dist-packages/bulbs/neo4jserver/index.py", line 313, in put_unique
    return self.update(_id, key, value, **pair)
  File "/usr/local/lib/python2.7/dist-packages/bulbs/neo4jserver/index.py", line 269, in update
    for result in self.get(key,value):
AttributeError: 'FulltextIndex' object has no attribute 'get'

I'll take a look at the code now and see if there's an easy patch that I can contribute; apologies if this is user error or if this has been posted before.

fphhotchips avatar May 21 '14 12:05 fphhotchips