Skip to content
This repository

Use Cypher query when finder method does not have a lucene index #210

andreasronge opened this Issue August 14, 2012 · 0 comments

1 participant

Andreas Ronge
Andreas Ronge

I want to be able to find anything even if there is no lucene index.
I also want to find relationships.
But if there is a lucene index on the property in the given condition hash then a lucene query should be used instead.


class User < Neo4j::Rails::Model

class Note < Neo4j::Rails::Model
  has_one(:owner).from(User, :notes)

Note.first(:owner => user)
Andreas Ronge andreasronge closed this September 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.