8000 Extract a search_builder for a find one search by jcoyne · Pull Request #3633 · projectblacklight/blacklight · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Extract a search_builder for a find one search #3633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcoyne
Copy link
Member
@jcoyne jcoyne commented May 30, 2025

This gives us parity with the find many search. It allows us to always go to the search_builder for queries about the request.

@jcoyne jcoyne force-pushed the find-one-search branch from dca1891 to fb638d6 Compare May 30, 2025 19:48
This gives us parity with the find many search. It allows us to always go to the search_builder for queries about the request.
@jcoyne jcoyne force-pushed the find-one-search branch from fb638d6 to 6f41b07 Compare May 30, 2025 22:15
self.default_processor_chain = [:add_params]

def add_params(request)
request.reverse_merge!({ fl: '*', 'json.nl' => 'map' })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like all the other request keys are strings; is this intended to be a symbol for fl?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just moved from Solr::Repository#reflect_fields. I was not trying to change what was submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0