[
https://issues.apache.org/jira/browse/SOLR-6893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260099#comment-14260099
]
Dani edited comment on SOLR-6893 at 12/29/14 1:31 PM:
------------------------------------------------------
I found it!
Everyone use:
{code}
"/dataimport?"
{code}
but not me, I use:
{code}
"/importazione"
{code}
as declared in requestHandler:
{code:xml}
<requestHandler name="/importazione"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">importazione-config.xml</str>
</lst>
</requestHandler>
{code}
was (Author: dani_bs):
I found it!
Everyone use:
{code}
"/dataimport?"
{code}
but not me, I use:
{code}
"/importazione"
{code}
as declared in requestHandler:
<requestHandler name="/importazione"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">importazione-config.xml</str>
</lst>
</requestHandler>
Ci ho messo solo 2 mesi a capire questa cosa!... Meglio così.
Ancora grazie infinite! E buon anno!
> 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:
> {code}
> http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import&entity=fileImport&clean=true&commit=true
> {code}
> But if I use wget it doens't work:
> {code}
> wget
> "http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import&entity=fileImport&clean=true&commit=true"
> {code}
> nor also using escape:
> {code}
> wget
> "http://localhost:8983/solr/#/sintesicontratti/dataimport//importazione?command=full-import\&entity=fileImport\&clean=true\&commit=true"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]