I am very pleased by the progress we achieved in this topic so far, and I would 
like to add some input from the consumers' perspective.

With the start of the new Admin UI development (SIP-7), we now have an 
additional source for evaluating the v2 API and polish it based on additional 
scenarios. While the new UI is far from finished, I have some questions about 
the v2 API capabilities.

Right now I am focusing on the logging part (see 
https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=14-3933&t=39r2LtHZr4zMGLnu-1
 for reference), so the endpoints I am referring to below are related to 
anything from /api/node/logging/*.

>From how I understand the new endpoints, I assume they are specific to the 
>node currently connected, since we have "/node" in the URL path.
- If this assumption is correct, can one update the log level of all nodes with 
a single request?
  - If not, how would one update all nodes / each node?
- If the assumption is wrong, would interacting with the API endpoint always 
affect all nodes?
  - If all nodes are always affected, does that mean that the log 
configurations are identical (including the current log watcher, log levels and 
log history received)?

Can each node configure only one log watcher (like Log4j2) at a time, or is 
there an option to configure more than one log watcher and configure them 
individually (since I believe the log levels may differ depening on the 
watcher)?
- If only one log watcher is possible, I think the API in this part would only 
require a bit of documentation about the returned objects (e.g. LogLevelInfo).
- If more than one log watcher are possible, then it seems to me that the 
current API does not provide any option to configure each log watcher 
individually or get data from a specific log watcher.

The class LogLevelInfo does not provide much information about the fields. So I 
am wondering,
- is "LogLevelInfo#level" always nullable / not nullable, regardless of the 
value of "LogLevelInfo#set"?
- can "LogLevelInfo#name" be any string and is it always not null and not empty?

In LogMessagesResponse, the "docs" field is currently just an object and has an 
open TODO. Who is currently defining the object of "docs"?

I may get into a bit too much detail for this thread, but I think having a 
single thread for all the API-related questions would be beneficial? Let me 
know if I should create individual threads for such grouped questions. :)

Best,
Christos

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to