Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
andreasronge opened this Issue · 0 comments

1 participant

@andreasronge

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.

Example

class User < Neo4j::Rails::Model
  has_n(:notes).to(Note)
end

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

Note.first(:owner => user)
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.