lib/search_results.rb in onemorecloud-websolr-rails-1.1.1 vs lib/search_results.rb in onemorecloud-websolr-rails-1.3.3
- old
+ new
@@ -56,9 +56,13 @@
def query_time
@solr_data[:query_time]
end
+ def highlights
+ @solr_data[:highlights]
+ end
+
alias docs results
alias records results
alias num_found total
alias total_hits total
alias highest_score max_score
\ No newline at end of file