janhoy commented on PR #2274:
URL: https://github.com/apache/solr/pull/2274#issuecomment-1948431295

   The failure in `TestFreeTextSuggestions` is due to the need to configure a 
SPACE as separator, see 
https://github.com/apache/solr/blob/main/solr/core/src/test-files/solr/collection1/conf/solrconfig-phrasesuggest.xml#L152
   
   So with the general `strip()` the space is reduced to empty string and we 
get an IAOOB exception. Options:
   
   * Only trim leading/trailing newline
   * Leave as is and make code reading config from XML more robust and do a 
local `trim()` where crucial, e.g. if the value is a URI?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to