2015-01-14 19 views
0

我在同一個solr內核中有兩個數據源。
數據源1:候選(這是JDBC數據源)
datesource 2:PDF(這是文件系統的數據源[個個都是PDF])
存在使用pdf文件名
在兩個數據源之間的映射考生,字段名PDFName和PDF格式,它的名字是文件名
現在:
我想誰在他們的PDF所有考生檔案字放射Solr在同一內核中加入兩個數據源

 
http://solr.example.com:8888/solr/mycore/select?q=*:*&facet=true&fq={!join%20from=fileName%20to=PDFName}pdfbody:radiology&rows=10 

給出 <result name="response" numFound="33681" start="0"> 33681是我的所有文檔! 而我期待得到26只

 
http://solr.example.com:8888/solr/mycore/select?q=*:*&facet=true&fq=pdfbody:radiology&start=0&rows=10 

the result is 
<result name="response" numFound="26" start="0"> 

任何知道我錯過了還是做錯了?

+0

什麼是您使用的solr版本? – notdang

+0

@notdang,我正在使用solr碼頭 solr-spec-version 4.0.0.2011.09.07.12.37.34 它有什麼區別嗎?! – Alaa

回答

0

您的索引有問題。請添加debugQuery = true參數並顯示響應

相關問題