积极答复者
使用fulltext检索pdf文件

问题
-
请教如何使用全文索引检索pdf文档。
已经安装ifilter60.exe ,并且注册dll文件。
执行 select * from sys.fulltext_document_types 可以看到document_type下存在.pdf
但是在对应的table执行populate之后,检索仍然没有结果。
use FTUNSIGNEDCOMPONENTS
go
select * from ttt
go
sp_fulltext_catalog 'cat', 'start_full'
go
while fulltextcatalogproperty('cat','populatestatus')<> 0
waitfor delay '00:00:02'
go
select * from ttt where contains(pdf,'clause')
go
每当风再起,想起你
答案
-
32位还是64位?32位装PDF Reader,64位装ifilter90。不要装那个60。
想不想时已是想,不如不想都不想。- 已标记为答案 rita_zhao1 2010年1月15日 7:01
- 取消答案标记 rita_zhao1 2010年1月15日 7:01
- 已标记为答案 rita_zhao1 2010年1月15日 7:02
全部回复
-
log 日志:
2010-01-13 22:59:09.45 spid22s Informational: Full-text Full population initialized for table or indexed view '[FTUNSIGNEDCOMPONENTS].[dbo].[ttt]' (table or indexed view ID '2073058421', database ID '5'). Population sub-tasks: 1.
2010-01-13 22:59:10.46 spid22s Error '0x80004005' occurred during full-text index population for table or indexed view '[FTUNSIGNEDCOMPONENTS].[dbo].[ttt]' (table or indexed view ID '2073058421', database ID '5'), full-text key value 0x00000001. Attempt will be made to reindex it.
2010-01-13 22:59:10.47 spid22s The component 'MSFTE.DLL' reported error while indexing. Component path 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\MSFTE.DLL'.
貌似用错了dll...应该是D:\Program Files\Adobe\PDF IFilter 6.0\PDFFILT.dll 吧?
每当风再起,想起你 -
32位还是64位?32位装PDF Reader,64位装ifilter90。不要装那个60。
想不想时已是想,不如不想都不想。- 已标记为答案 rita_zhao1 2010年1月15日 7:01
- 取消答案标记 rita_zhao1 2010年1月15日 7:01
- 已标记为答案 rita_zhao1 2010年1月15日 7:02