我試圖使用後的Windows版本索引文檔,使用命令狀波紋管:如何將文檔內容存儲在Solr 6.4中?
java -Dc=docs -Dauto=yes -Dc=docs -Ddata=files -Drecursive=yes -jar
post.jar C:\docs
我可以看到文檔索引正確,但我希望存儲提取的文本使用突出。我說我喜歡的託管架構領域:
<field name="text" type="text_general" multiValued="true" indexed="true" stored="true"/>
<field name="source" type="text_general" multiValued="true" indexed="true" stored="true"/>
<field name="content" type="text_general" multiValued="true" indexed="true" stored="true"/>
<field name="content" type="strings"/>
,但它不工作,我不能在我的文檔搜索的內容返回。如何存儲從doc,docx,pdf文件中提取的文本並將其返回到我的查詢中?
沒有得到你在找什麼。您在結果中突出顯示查詢詞時遇到問題。 ? – vinod
據我所知,我需要存儲提取的文本來使用突出顯示。所以,我的問題是,我不知道如何檢索文檔的內容並使Solr存儲它。對不起,如果有什麼不清楚,但我是Solr的新手,我不知道它是如何工作的。 – Damian