【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1,为了支持增量建索引,我们需要把上述文中的mysql-data-config.xml内容改为 <dataConfig> <dataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/basic" user="root" password="123"/> <document> <entity name="article" transformer="HTMLStripTransformer" query="SELECT id, title, content FROM article" deltaImportQuery="SELECT id, title, content FROM article WHERE id='${dataimporter.delta.id}'" deltaQuery="SELECT id FROM article WHERE update_time > '${dataimporter.last_index_time}'"> <field column="id" name="id" /> <field column="title" name="title" /> <field column=