Commit 8e994806 authored by Nick Thomas's avatar Nick Thomas

Resolve search conflicts

parent 3c834a57
......@@ -9,7 +9,6 @@ module Search
end
def execute
<<<<<<< HEAD
if current_application_settings.elasticsearch_search?
Gitlab::Elastic::SearchResults.new(current_user, params[:search], elastic_projects, elastic_global)
else
......@@ -34,9 +33,6 @@ module Search
def elastic_global
true
=======
Gitlab::SearchResults.new(current_user, projects, params[:search])
>>>>>>> ce/master
end
def projects
......
......@@ -14,7 +14,6 @@ module Search
@projects = super.inside_path(group.full_path)
end
<<<<<<< HEAD
def elastic_projects
@elastic_projects ||= projects.pluck(:id)
......@@ -23,7 +22,5 @@ module Search
def elastic_global
false
end
=======
>>>>>>> ce/master
end
end
......@@ -37,7 +37,6 @@ describe Search::GroupService, services: true do
describe 'basic search' do
include_examples 'group search'
end
<<<<<<< HEAD
describe 'elasticsearch' do
before(:each) do
......@@ -59,6 +58,4 @@ describe Search::GroupService, services: true do
include_examples 'group search'
end
=======
>>>>>>> ce/master
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment