Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Index and search attachment content
grifone
#1 Posted : Thursday, May 06, 2010 10:41:48 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/22/2010(UTC)
Posts: 31
Location: England
So I have upgraded to 2.1.1.0 in order to take advantage of the "Index and search attachment content" feature.
I have installed and applied MS Office and Adobe PDF IFilters.

Columns that I want indexed for the News folder, I have ticked as "true" for 'Search Index' in the Text Schema, including the File attachment field.

Text is getting indexed and returned by SearchService.Search().

But content in attachment files is not.

Am I missing anything?
vincent
#2 Posted : Thursday, May 06, 2010 11:20:52 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/29/2010(UTC)
Posts: 62
Location: xiamen
I am very sure of the reason now. If a content is already in the Lucene Index, even after you install the ifilter, the content will not be re-index.

Can you try to add a new content with attachment and see if that works?
grifone
#3 Posted : Thursday, May 06, 2010 11:28:08 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/22/2010(UTC)
Posts: 31
Location: England
I have tried adding new content after the installation of the IFilters, but still not working.

Is there any Service or Activity monitor to check that the attachments are being indexed?
vincent
#4 Posted : Friday, May 07, 2010 12:06:03 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/29/2010(UTC)
Posts: 62
Location: xiamen
Will check this tomorrow. I am not sure right now.
jifeng
#5 Posted : Friday, May 07, 2010 11:05:01 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
1. Make sure that you have the Search Index schedule task enabled. You may also check to see whether the index file is changed or not.

2. Use below tools to open attachment in the OS that runs Kooboo. If you can read text out of the files, that means ifilter is installed correctly.
File Attachment(s):
IFilterTester.zip (24kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
grifone
#6 Posted : Friday, May 07, 2010 6:12:12 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/22/2010(UTC)
Posts: 31
Location: England
Thanks Jifeng.

The Search Index schedule was enabled. Also your test showed that IFilters were installed.

The problem was with the new DownloadableFile ControlType.

I had replaced the field's File to DownloadableFile ControlType in the schema. Then I proceeded with installing Search.

The problem was the DownloadableFile was not uploading the external attachment to the Content folders in the filesystem. So there was actually nothing to index!

I replaced the DownloadableFile ControlType to File and Index and Search worked normally and returned results.
zguoqi
#7 Posted : Saturday, May 08, 2010 4:51:18 PM(UTC)
Rank: Administration
Groups: Registered, Administrators

Joined: 9/2/2009(UTC)
Posts: 692
Location: xiamen
This is seems like a bug of the downloadablefile control type. We have reported to our development team and should be fixed in the next release.
Regards,

Vincent

Kooboo Team
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.373 seconds.