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

Shawn Heisey commented on SOLR-10188:
-------------------------------------

This hasn't come up on the mailing list, and it's been two days.  For the sake 
of others who come across this issue in the future, I will respond with the 
solution.

URLs with "#" in them are only usable in an actual browser -- the web server 
(the servlet container that's running Solr, in this case) never sees that 
character or any other character that comes after it.  Those URLs will not work 
with other tools like a Solr client or wget.  Removing # is not enough -- the 
admin UI almost always has slightly different parameter/path syntax than the 
actual HTTP API.

Below is the wget command you'll need to initiate a full import.  The clean 
parameter defaults to true on full-import, so I removed it:

{noformat}
wget "http://server:8983/solr/collection1/dataimport?command=full-import";
{noformat}


> wget command not working with full import SOLR 4.10
> ---------------------------------------------------
>
>                 Key: SOLR-10188
>                 URL: https://issues.apache.org/jira/browse/SOLR-10188
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: ram Chaudhary
>
> Hi all,
> if i hit
>  
> http://<serverurl>:8983/solr/#/collection1/dataimport//dataimport?command=full-import&clean=true
> Then it import all data 
> but if i doing same things with Linux command 
> wget http://<serverurl> or 
> Localhost:8983/solr/#/collection1/dataimport//dataimport?command=full-import&clean=true
> It is not importing the data
> Also i tried after remove the "#" from the url
> Also i tried with the like this too
> wget http://<serverurl> or 
> Localhost:8983/solr/#/collection1/dataimport//dataimport?command=full-import\&clean=true
> But it is not able to import the data..
> Can anyone help for it



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to