[
https://issues.apache.org/jira/browse/SOLR-17850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132602#comment-18132602
]
Nick Shanin commented on SOLR-17850:
------------------------------------
[~malliaridis] I implemented the SearchHandler form from this ticket on a
[branch|https://github.com/nick-boss-tech/solr/tree/solr-17850-search-handler-form],
and the
[diff|https://github.com/apache/solr/compare/main...nick-boss-tech:solr-17850-search-handler-form]
is {{SearchHandlerForm.kt}} under
{{ui/shared/src/commonMain/kotlin/org/apache/solr/ui/views/searchhandler/}}
with its test {{SearchHandlerFormTest.kt}} and strings. Spotless and the test
pass at the branch head.
The field set the form exposes is {{q}}, {{fq}}, {{fl}}, {{sort}}, {{start}}
and {{rows}}, with Clear all, Execute and Execute in Debug actions. The
design's Regular Request Builder also shows {{defType}}, {{q.op}} and {{wt}},
paramsets and additional parameters, and the highlighting, faceting, spatial
and spellcheck sections. Are those a later slice, or should they be in this
one? Is the rest of the scope right, and would you review it if I open the
branch as a PR?
🤖 _AI text above_ 🤖 _(reviewed by Nick Shanin)_
> Implement solr.SearchHandler UI form
> ------------------------------------
>
> Key: SOLR-17850
> URL: https://issues.apache.org/jira/browse/SOLR-17850
> Project: Solr
> Issue Type: Sub-task
> Components: Admin UI
> Reporter: Christos Malliaridis
> Priority: Major
> Labels: new-ui, newdev, ui
>
> One of the most basic and common query options is the solr.SearchHandler
> (/select). To interact with it, the Admin UI can provide a simple input form.
> See [designs of the Request Builder of
> /select|https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=137-12066&t=MvuGKNHz6shq1IiD-1]
> for more details. The entire form can be viewed
> [here|https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=156-4776&t=MvuGKNHz6shq1IiD-1].
> h2. Task
> Implement a basic form for the {{solr.SearchHandler}} that executes a request
> based on the user's input.
> h2. Acceptance Criteria
> - The abbreviations of the input fields are displayed together with the
> written-out form
> - Array fields start with a single input field
> - Users can add to array fields additional input fields for each additional
> array item
> - Users can remove additional input fields of array fields
> - The query array input field must have at least one input field (since
> required)
> - Default values are used wherever necessary / reasonable
> - Users can execute the query in normal and debug mode
> - Users can clear the form with a single click on "Clear all"
> h2. Additional Information
> The request preview and response preview are not part of this ticket and will
> be handled separately.
> The response may be displayed in plaintext next to the form.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]