[
https://issues.apache.org/jira/browse/SOLR-7962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903523#comment-14903523
]
Timothy Potter commented on SOLR-7962:
--------------------------------------
bin/solr has never supported -f with -e because it needs to do things after
starting the server, so foreground mode doesn't work ...
also, I'm not seeing any issues with using -a on the mac with 5.3.0:
{code}
[~/dev/lw/tools/solr-5.3.0]$ bin/solr -e techproducts -a
"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
Creating Solr home directory
/Users/timpotter/dev/lw/tools/solr-5.3.0/example/techproducts/solr
Starting up Solr on port 8983 using command:
bin/solr start -p 8983 -s "example/techproducts/solr" -a
"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
Waiting up to 30 seconds to see Solr running on port 8983 [/]
Started Solr server on port 8983 (pid=55115). Happy searching!
Setup new core instance directory:
/Users/timpotter/dev/lw/tools/solr-5.3.0/example/techproducts/solr/techproducts
Creating new core 'techproducts' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=techproducts&instanceDir=techproducts
{
"responseHeader":{
"status":0,
"QTime":1237},
"core":"techproducts"}
Indexing tech product example docs from
/Users/timpotter/dev/lw/tools/solr-5.3.0/example/exampledocs
SimplePostTool version 5.0.0
Posting files to [base] url http://localhost:8983/solr/techproducts/update
using content-type application/xml...
POSTing file gb18030-example.xml to [base]
POSTing file hd.xml to [base]
POSTing file ipod_other.xml to [base]
POSTing file ipod_video.xml to [base]
POSTing file manufacturers.xml to [base]
POSTing file mem.xml to [base]
POSTing file money.xml to [base]
POSTing file monitor.xml to [base]
POSTing file monitor2.xml to [base]
POSTing file mp500.xml to [base]
POSTing file sd500.xml to [base]
POSTing file solr.xml to [base]
POSTing file utf8-example.xml to [base]
POSTing file vidcard.xml to [base]
14 files indexed.
COMMITting Solr index changes to
http://localhost:8983/solr/techproducts/update...
Time spent: 0:00:00.291
Solr techproducts example launched successfully. Direct your Web browser to
http://localhost:8983/solr to visit the Solr Admin UI
{code}
> Passing additional arguments to solr.cmd using "-a" does not work on Windows
> ----------------------------------------------------------------------------
>
> Key: SOLR-7962
> URL: https://issues.apache.org/jira/browse/SOLR-7962
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.3
> Reporter: Dawid Weiss
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]