Loading...
 
Skip to main content

Search Indexing not working for msdoc type.

Status
Pending
Subject
Search Indexing not working for msdoc type.
Version
5.x
Category
  • Usability
Feature
File Gallery (elFinder or standard UI)
Search
Submitted by
gorillass
Lastmod by
gorillass
Rating
(0)
Description

I'm running a OpenSuSE Linux server and Tikiwiki 5.1 and trying to use search indexing to search within uploaded files.

This is working fine for other mime types but not MS Word documents. E.g.

"application/pdf" works using "pdftotext %1 -" as it's file handler
and
"application/vnd.ms-excel" works with "strings %1".

I've tried using strings and catdoc, but neither are populating the the search_data field in the tiki_files table. I've tried reindexing and re-uploading the file. The file_type field in the DB is also correctly matched to the mime type.

Both strings and catdoc work successfully from the command line so I'm inclined to write a script to run the commands from cron and update the data into the database. But this is obviously a bit of a bodge so I'd rather have it done natively.

I've tried to get help in IRC and have posted onto the forums, but have been unsuccessful in getting the problem fixed.

Workaround
I've currently installed a fresh copy onto a different Ubuntu install and the search function has worked straight away. Unless someone has a suggestion to why this has happened, I'll keep fiddling around and maybe someone will come back on the forums
Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3604
Created
Sunday 24 October, 2010 02:35:46 UTC
by gorillass
LastModif
Sunday 24 October, 2010 05:42:48 UTC


Show PHP error messages