[ https://issues.apache.org/jira/browse/SOLR-15895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469396#comment-17469396 ]
Thomas Corthals commented on SOLR-15895: ---------------------------------------- You can see the 0 byte file on disk, but it is not easy to delete. Windows Explorer, cmd.exe and PowerShell claim the file doesn't exist when trying to delete it. {code} C:\solr-8.11.1\example\techproducts\solr\techproducts\conf>del "_schema_analysis_stopwords_test " Could Not Find C:\solr-8.11.1\example\techproducts\solr\techproducts\conf\_schema_analysis_stopwords_test {code} It can be deleted successfully from a bash shell (I used Git Bash). > Managed Resources with invalid filename characters on Windows > ------------------------------------------------------------- > > Key: SOLR-15895 > URL: https://issues.apache.org/jira/browse/SOLR-15895 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Schema and Analysis > Affects Versions: 8.11 > Environment: Windows 10 Enterprise, version 20H2, build 19042.867, > Windows Feature Experience Pack 120.2212.551.0 > > Solr 8.11.1 > {code:bash} > solr start -e techproducts > {code} > Reporter: Thomas Corthals > Priority: Major > Labels: REST, Windows, managedResource > > It's possible to create a Managed Resource with characters in its name that > are invalid in a filename on Windows. The created file has its name truncated > at the first invalid character and remains empty (0 bytes). While it is > possible to add stopwords/synonyms to the list/map, they don't actually get > written to disk. Solr only throws an error when you try to delete the > list/map. > {code:json} > "msg":"Illegal char <:> at index 91: > C:\\solr-8.11.1\\example\\techproducts\\solr\\techproducts\\conf\\_schema_analysis_stopwords_test > : list.json" > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org