我是Solr的新手并且已经设法从我的SQL DB上传了大约500K行(*原谅我对尖括号的粗略尝试: - ):
[lst name="statusMessages"]
[str name="Total Requests made to DataSource">1</str]
[str name="Total Rows Fetched">499999</str]
[str name="Total Documents Skipped">0</str]
[str name="Full Dump Started">2012-08-21 22:30:55</str]
[str name="">Indexing completed. Added/Updated: 499999 documents. Deleted 0 documents.</str]
[str name="Committed">2012-08-21 22:31:18</str]
[str name="Total Documents Processed">499999</str]
[str name="Time taken">0:0:23.321</str]
[/lst]
相关内容的架构是:
[field name="tid" type="int" indexed="true" stored="true" /]
[field name="ReviewAuthor" type="text_general" indexed="false" stored="true" /]
[field name="ReviewTitle" type="text_general" indexed="false" stored="true" /]
[field name="ReviewText" type="text_general" indexed="true" stored="true" /]
[field name="ReviewRating" type="float" indexed="true" stored="true" /]
[field name="VersionNumber" type="text_general" indexed="true" stored="true" /]
但是,当我尝试查询ReviewText
或ReviewRating
时,不会返回任何结果。检索到另一个tid
,但没有返回任何关联的其他字段。只需tid + id
。
我可以尝试任何建议吗?提前谢谢你。
ANKUR