neo4jrb / neo4j-searchkick

Lets the Searchkick gem work with ActiveRel models.
MIT License
7 stars 4 forks source link

Bit of a documentation? #1

Open sankalpsingha opened 10 years ago

sankalpsingha commented 10 years ago

A bit of documentation of using this gem would be nice. Does this get multi model search to searchkick?

subvertallchris commented 10 years ago

It would be nice, but this repo is less than 24 hours old and I didn't expect anyone to be curious about it so soon! :-)

All this gem does is change the behavior of Searchkick::Result#result to allow handling of ActiveRel models provided by the Neo4j gem. It lets you use the search method on an ActiveRel model and gives Searchkick the ability to correctly load the results and was my response to someone asking about indexing properties on relationships. It isn't necessary if you want to use Searchkick with ActiveNode models.