Post by leviya » Wed Jan 10, 2018 6:45 pm

Hi folks,
I download solr 6.5.1 within my core folder and added data-config.xml

<dataSource type="JdbcDataSource"
driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/opencart"
user="root"
password=""/>
solrconfig.xml

<requestHandlername="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">data-config.xml</str>
</lst>
</requestHandler>
schema.xml

<field name="catids" type="int" indexed="true" stored="true" multiValued="true"/> <field name="manuids" type="int" indexed="true" stored="true" multiValued="true"/>

I tried to import data but not able to import. what should I do now? Please guide me. Any help would be appriciated.

Thank you

Newbie

Posts

Joined
Wed Jan 10, 2018 6:00 pm

Who is online

Users browsing this forum: No registered users and 8 guests