lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6893) DIH doen't work using URL and wget
Date Mon, 29 Dec 2014 11:09:13 GMT

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

Dani commented on SOLR-6893:
----------------------------

It doesn't work for me. Without '#' nothing works:

{code}
wget -O response "http://localhost:8983/solr/sintesicontratti/dataimport?command=full-import&indent=true"
{code}

*ERROR 404: Not Found.*


With '#':
{code}
wget -O response "http://localhost:8983/solr/#/sintesicontratti/dataimport?command=full-import&indent=true"
{code}

I get html file with error.

With browser I use this URL:
{code}
http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import&entity=fileImport&clean=true&commit=true
{code}

where
{code}
'/importazione'
{code}
is entity name.

Maybe some Solr configuration error? But using browser everything works good.

> DIH doen't work using URL and wget
> ----------------------------------
>
>                 Key: SOLR-6893
>                 URL: https://issues.apache.org/jira/browse/SOLR-6893
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6.1, 4.8.1, 4.10.2
>         Environment: Linux (Ubuntu, CentOS)
>            Reporter: Dani
>            Priority: Minor
>
> I put this URL on browser and import correctly starts:
> http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import&entity=fileImport&clean=true&commit=true
> But if I use wget it doens't work:
> wget "http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import&entity=fileImport&clean=true&commit=true"
> nor also using escape:
> wget "http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import\&entity=fileImport\&clean=true\&commit=true"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message