dongza6247 2015-07-10 07:11
浏览 53

使用MySQL的Solr没有返回任何结果

I was trying to connect Apache Solr with MySQL. While indexing, it fetches all records, but indexed nothing. Please see the screenshots below.

This is my schema.xml change.

<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /> -
<field name="loc_code" type="string" indexed="true" stored="true" required="true" multiValued="false" />
<field name="loc_name" type="string" indexed="true" stored="true" required="true" multiValued="false" />

Here is a screenshot of the Data Import Handler after the import finished

enter image description here

Can someone help me to figure out where I went wrong ?

  • 写回答

1条回答 默认 最新

  • douxian3828 2015-07-10 07:22
    关注

    Solved now !!!. This was because of the incorrect mapping of table column name in data-config.xml

    Source Stackoverflow Link

    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决