我是Solor的新手,很抱歉这是一个基本问题。
我正在效仿这个例子:
http://entropytc.com/importing-a-mysql-database-into-apache-solr/#codesyntax_3
我已在我的服务器上添加记录,并显示此结果:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
</lst>
<lst name="initArgs">
<lst name="defaults">
<str name="config">data-config.xml</str>
</lst>
</lst>
<str name="command">full-import</str>
<str name="status">idle</str>
<str name="importResponse"/>
<lst name="statusMessages">
<str name="Total Requests made to DataSource">1</str>
<str name="Total Rows Fetched">62</str>
<str name="Total Documents Skipped">0</str>
<str name="Full Dump Started">2014-07-23 04:12:02</str>
<str name="">
Indexing completed. Added/Updated: 0 documents. Deleted 0 documents.
</str>
<str name="Committed">2014-07-23 04:12:02</str>
<str name="Total Documents Processed">0</str>
<str name="Time taken">0:0:0.824</str>
</lst>
<str name="WARNING">
This response format is experimental. It is likely to change in the future.
</str>
</response>
但是当我搜索我的记录时,它什么也没给我:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
<lst name="params">
<str name="start">0</str>
<str name="q">*:*</str>
<str name="rows">10</str>
<str name="indent">on</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>
我做错了什么