[jira] [Commented] (SOLR-6893) DIH doen't work using URL and wget

2014-12-28 Thread Tomoko Uchida (JIRA)

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

Tomoko Uchida commented on SOLR-6893:
-

Hi,
At my environment (Mac OS), DIH works well with wget command.
Maybe you should remove '/#/' from request url.

I have tested two patterns with /#/ and without /#/
It works.
{code}
$ wget -O response 
"http://localhost:8983/solr/wikipedia/dataimport?command=full-import&indent=true";
$ wget -O response 
"http://localhost:8983/solr/wikipedia/dataimport?command=status&indent=true";
$ cat response 




  0
  0


  
db-data-config.xml
  

status
busy
A command is still running...

  0:6:59.792
  1
  121772
  60885
  0
  2014-12-28 19:38:24


{code}

It does not work.
{code}
$ wget -O response 
"http://localhost:8983/solr/#/wikipedia/dataimport?command=full-import&indent=true";
{code}

Please try again after removing '#' character (this character has special 
meaning in URI specification.)

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6893) DIH doen't work using URL and wget

2014-12-29 Thread Dani (JIRA)

[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6893) DIH doen't work using URL and wget

2014-12-29 Thread Dani (JIRA)

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

Dani commented on SOLR-6893:


I found it!
Everyone use:

{code}
"/dataimport?"
{code}

but not me, I use:
{code}
"/importazione"
{code}

as declared in requestHandler:

  

  importazione-config.xml

  


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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org