Hi Abhishek,
Even I tried this one before also. And everytime getting below result.

> C:\solr\bin>post -c films example/books_data.csv

'post' is not recognized as an internal or external command,
operable program or batch file.

C:\solr\bin>cd ..


C:\solr>bin/post -c films example/books_data.csv

'bin' is not recognized as an internal or external command,
operable program or batch file.

I google it but not able to find exact solution.
Please check and Provide me solution.

Thanks

On Tue, Feb 6, 2018 at 10:15 PM, abhi Abhishek <abhi26...@gmail.com> wrote:

> you can try using the post Tool.
>
> https://lucene.apache.org/solr/guide/6_6/post-tool.html
>
> bin/post -c film example/books_data.csv
>
>
> Cheers!
> Abhishek
>
>
> On Tue, Feb 6, 2018 at 1:22 PM, @Nandan@ <nandanpriyadarshi...@gmail.com>
> wrote:
>
> > Hi ,
> > I created core name as "films". Now I am trying to insert my csv file by
> > below step:-
> > C:\solr>curl "http://localhost:8983/solr/films/update?commit=true";
> > --data-binary @example/books_data.csv -H 'Content-type:application/csv'
> > Got Below result.
> > {
> >   "responseHeader":{
> >     "status":0,
> >     "QTime":279}}
> >
> > But in Solr Admin UI, can't able to see any data.
> > please tell me where am i wrong ?
> > Thanks
> >
> >
> > On Tue, Feb 6, 2018 at 1:42 PM, Shawn Heisey <apa...@elyograg.org>
> wrote:
> >
> > > On 2/5/2018 10:39 PM, Shawn Heisey wrote:
> > >
> > >> In order for this solr script command to work, the argument to the -d
> > >> option (which you have as C:\solr) would have to be a config
> directory,
> > >> containing a minimum of solrconfig.xml and the schema.
> > >>
> > > Replying to myself because I made an error here.
> > >
> > > The directory provided with -d needs to contain a "conf" subdirectory,
> > > which in turn must contain the files that I mentioned.
> > >
> > > Thanks,
> > > Shawn
> > >
> >
>

Reply via email to