Loading...
 
Skip to main content

Zend_Search_Lucene doesn't work on certain servers

Status
Closed
Subject
Zend_Search_Lucene doesn't work on certain servers
Version
6.x
7.x
8.x
9.x
Category
  • Error
  • Dogfood on a *.tiki.org site
Feature
Installer (profiles, upgrades and server-related issues)
Search
Resolution status
Partially solved
Submitted by
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Related-to
Description

To reproduce, search "wiki" in the admin panel here:
http://branding.tiki.org/tiki-admin.php

And you will get:
"No preferences were found for your search query."

Ideally, the problem is solved, but this is maybe tricky. It could be related to:

http://framework.zend.com/manual/1.11/en/zend.search.lucene.index-creation.html wrote:
"Zend_Search_Lucene uses flock() to provide concurrent searching, index updating and optimization. According to the PHP » documentation, "flock() will not work on NFS and many other networked file systems. Do not use networked file systems with Zend_Search_Lucene."


At the very least, Tiki should detect and report to the site admin that he should use MySQL Full Text Search instead.

Ideally, MySQL Full Text Search would work for tiki-admin.php

Workaround
Workaround is to use Unified Index with MySQL (new in Tiki12)
Importance
5
Easy to solve?
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4108
Created
Saturday 14 January, 2012 02:37:19 UTC
by Marc Laporte
LastModif
Monday 04 November, 2013 02:24:51 UTC


Show PHP error messages