Skip to content

Commit

Permalink
Merge pull request #4024 from nulib/4789-fix-hybrid-search
Browse files Browse the repository at this point in the history
Remove request_processor from search pipeline
  • Loading branch information
mbklein authored Jun 18, 2024
2 parents 283a374 + 7c39fff commit 628d780
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions app/lib/meadow/search/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,6 @@ defmodule Meadow.Search.Index do
) do
pipeline = %{
"description" => "Search pipeline for #{name}",
"request_processors" => [
%{
"filter_query" => %{
"description" => "Restricts requests to publicly visible documents",
"query" => %{
"bool" => %{
"must" => [
%{
"terms" => %{
"visibility" => ["Public", "Institution"]
}
},
%{
"term" => %{
"published" => true
}
}
]
}
}
}
}
],
"phase_results_processors" => [
%{
"normalization-processor" => %{
Expand Down

0 comments on commit 628d780

Please sign in to comment.