2012-03-16 1478 views
0

我已經創建了索引,下面是信息:的MySQL +獅身人面像只有一個索引工作,而有的則沒有

indexing index 'acdphotos'... 
collected 0 docs, 0.0 MB 
total 0 docs, 0 bytes 
total 0.065 sec, 0 bytes/sec, 0.00 docs/sec 
indexing index 'acdphotos_delta'... 
collected 0 docs, 0.0 MB 
total 0 docs, 0 bytes 
total 0.033 sec, 0 bytes/sec, 0.00 docs/sec 
indexing index 'acdusers'... 
collected 11 docs, 0.0 MB 
sorted 0.0 Mhits, 99.1% done 
total 11 docs, 311 bytes 
total 0.008 sec, 34736 bytes/sec, 1228.63 docs/sec 
indexing index 'acdalbums'... 
collected 0 docs, 0.0 MB 
total 0 docs, 0 bytes 
total 0.006 sec, 0 bytes/sec, 0.00 docs/sec 
total 2 reads, 0.000 sec, 4.1 kb/call avg, 0.1 msec/call avg 
total 19 writes, 0.001 sec, 1.2 kb/call avg, 0.0 msec/call avg 

,但是當我試圖尋找的東西,只有用戶可以返回一些結果,而照片和相冊什麼都不返回.BTW,「acdphotos_delta」是基於「acdphotos」的增量索引。

回答

1

看行:

collected 0 docs, 0.0 MB 

這意味着什麼也沒有收錄。 檢查你的sql_query並確保它從數據庫中獲取一些數據。

+0

謝謝你雅羅斯拉夫,我檢查了數據庫,它是空的....所以沒有什麼可以索引的。謝謝你的建議! – 2012-03-19 01:16:08

相關問題