Skip to content

Commit

Permalink
Add comment about edismax
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer authored Aug 29, 2024
1 parent 5bb5792 commit b88563d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/search_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class SearchBuilder < Blacklight::SearchBuilder
self.default_processor_chain += [:consolidate_home_page_params]
self.default_processor_chain += [:modify_single_term_qf]

# Tweak advanced search's boolean query output to use edismax instead of dismax
# Tweak advanced search's boolean query output to use edismax instead of dismax.
# By using the same (edismax) query parser for advanced search as we do for regular search,
# the search syntax and relevance ranking are consistent.
def add_edismax_advanced_parse_q_to_solr(solr_params)
add_advanced_parse_q_to_solr(solr_params)

Expand Down

0 comments on commit b88563d

Please sign in to comment.