Data Processor in Solr

I am trying a data import handler for a MySQL database.

I added a DIhandler to the solrconfig.xml file, created a data-config.xml file according to my database schema, and also added a field to schema.xml that was different. I am connecting to a MySQL database

After I connected and I started dataimport?command=full-import, I get this answer

"00C:\solr\conf\data-config.xmlfull-importidle1102011-03-05 15:01:04Indexing completed.    Added/Updated: 0 documents. Deleted 0 documents.2011-03-05 15:01:042011-03-05  15:01:040:0:0.400This response format is experimental. It is likely to change in the future."

The xml files are in this http://pastebin.com/iKebKGSZ

+3
source share
1 answer
<field column="manu" name="manu" />
<field column="id" name="id" />
<field column="weight" name="weight" />
<field column="price" name="price" />
<field column="popularity" name="popularity" />
<field column="instock" name="inStock" />
<field column="includes" name="includes" />

Are these fields in yours schema.xml?

I could not see them in the pastebin link. Make sure you have all the fields in your schema.

+1
source

Source: https://habr.com/ru/post/1796471/


All Articles