-
Notifications
You must be signed in to change notification settings - Fork 828
SOLR-18093: Add top-level 'queries' support to JsonQueryRequest in SolrJ #4276
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
Changes from 4 commits
1cd5cbc
0dd1ae9
da63f85
9268fee
f7c8fcb
5c3ec79
0f6e54c
5257c36
68990e1
4d40f6e
23e4413
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc | ||
| title: Add top-level "queries" support to JsonQueryRequest in SolrJ | ||
| type: added | ||
| authors: | ||
| - name: Sonu Sharma | ||
| nick: ercsonusharma | ||
| links: | ||
| - name: SOLR-18093 | ||
| url: https://issues.apache.org/jira/browse/SOLR-18093 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -640,7 +640,14 @@ | |
| </lst> | ||
| </requestHandler> | ||
|
|
||
| <initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,update"> | ||
| <requestHandler name="/search" class="solr.CombinedQuerySearchHandler"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand you are touching the techproducts config because it's necessary in order to demonstrate RRF. And you seem to have chosen "/search" because 2 other names "/select" and "/query" were chosen. If another feature were to come along, would yet another SearchHandler need to be defined for it with an attempt to find yet another synonym? Two counter-proposals: I prefer C. But not as-is with "/search"!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. renamed to /rrf. Will take up the documentation in a follow up change. |
||
| </requestHandler> | ||
|
|
||
| <searchComponent class="solr.CombinedQueryComponent" name="combined_query"> | ||
|
ercsonusharma marked this conversation as resolved.
|
||
| <int name="maxCombinerQueries">2</int> | ||
| </searchComponent> | ||
|
|
||
| <initParams path="/update/**,/query,/search,/select,/tvrh,/elevate,/spell,update"> | ||
| <lst name="defaults"> | ||
| <str name="df">text</str> | ||
| </lst> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmmmm, not sure what I think about adding another handler to one of only 2 configSets we ship with Solr. But I suppose it's fine as this particular one, techproducts, is to show off features. So sure.
CC @epugh for 2nd opinion.