jasonmk / datastax_rails

A Ruby-on-Rails interface to Datastax Enterprise. Replaces the majority of ActiveRecord functionality.
MIT License
23 stars 9 forks source link

Add highlighting to full text search #9

Closed cattywampus closed 11 years ago

cattywampus commented 11 years ago

Allows users to chain #highlight(...) to a Datastax::Relation to enable Solr highlighting when performing full text searching.

Highlight results can be found on the Datastax::Collection#highlights method after a Solr search respose is returned.

cattywampus commented 11 years ago

I originally said that there were 3 commits, but I decided to squash them into a single commit and then rebase the highlight branch ontop of master to make your life a little easier :smile: