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