diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index a17a8b9..9401004 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -2,6 +2,7 @@ class SearchController < ApplicationController def index @result = if params[:q].present? es = Elasticsearch::Client.new + # TODO: Add pagination es.search index: 'loris', q: params[:q], size: 30 end end