[ 
https://issues.apache.org/jira/browse/SOLR-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866181#comment-17866181
 ] 

Bogdan Stoica commented on SOLR-17367:
--------------------------------------

I have created a pull request: [https://github.com/apache/solr/pull/2556]

I presumed  postData is used according to its description, only making requests 
to solr server.

I haven't written any testcases due to my limited experience in java 
development. I haven't found a Utils.writeTsv or Utils.writeCsv with a custom 
separator, in order to implement the testRunCsvWithCustomSeparatorParam 
testcase.

 

> org.apache.solr.cli.PostTool is ignoring -params option
> -------------------------------------------------------
>
>                 Key: SOLR-17367
>                 URL: https://issues.apache.org/jira/browse/SOLR-17367
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: cli
>    Affects Versions: 9.6.1
>         Environment: I encountered the issue using docker solr version 9.6.1
>            Reporter: Bogdan Stoica
>            Assignee: Eric Pugh
>            Priority: Minor
>              Labels: easyfix
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> org.apache.solr.cli.PostTool is ignoring the -params option.
> According to the documentation here 
> [https://solr.apache.org/guide/solr/latest/indexing-guide/post-tool.html,] 
> the -params option is to be used when specifying a different separator (for 
> example the tab separator)
> However, looking through the code 
> ([https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/cli/PostTool.java#L244])
>  it seems that even if the option is mentioned, it is never used afterwards. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to