Dear All,

I am trying my hands on SOLR and as such i am trying to follow a reference guide provided at

https://solr.apache.org/guide/8_11/solr-tutorial.html

I am trying to index the films collection data which is provided by default in the SOLR package on windows 10 machine but i am getting below issue: -

C:\Neha\SOLR\solr-8.11.1\bin>java -jar -Dc=films -Dparams=f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=| -Dauto example\exampledocs\post.jar example\films\*.csv

*& was unexpected at this time.*

*
*

Also while adding new field in the schema, error was coming: -

|C|url -X POST -H 'Content-type:application/json' --data-binary '{"add-field": {"name":"name", "type":"text_general", "multiValued":false, "stored":true}}' http://localhost:8983/solr/films/schema

curl: (3) [globbing] unmatched brace in column 1
curl: (3) Port number ended with 't'
curl: (3) Port number ended with 'f'
curl: (3) [globbing] unmatched close brace/bracket in column 12
{
  "responseHeader":{
    "status":400,
    "QTime":0},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"no stream",
    "code":400}}


Please help me out what is the problem with this command as i have just pasted it from the reference guide.


Thanks and Regards

Neha Gupta

Reply via email to