Too many items in unified search (lucene) tiki_queue prevent wiki page editing.
- Status
- Open
- Subject
- Too many items in unified search (lucene) tiki_queue prevent wiki page editing.
- Version
- 9.x
- Category
- Conflict of two features (each works well independently)
- Feature
- Search
Wiki (page view, edit, history, rename, etc) - Resolution status
- New
- Submitted by
- Jean-Marc Libs
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
Since unified searches are done against an index for performance and scalability instead of against the whole content of the database as before, every new or changed content needs to be indexed. When someone imports a bunch of tracker items through the csv import feature, Tiki knows better than to index all at once, and it indexes 10 items and queues the rest for later indexing (10 at a time). There were 592 items in the queue!
When we edit a page and save it afterwards, there is a bug: Tiki forgets to be clever and presumably tries to index the new page content as well as the whole queue on unindexed data. So, it times out with the following message:
Fatal error: Maximum execution time of 90 seconds exceeded in /data/root_www/promusa.alsawiki.com/20140801_www.promusa.org/vendor/bombayworks/zendframework1/library/Zend/Search/Lucene/Search/QueryLexer.php on line 348Raising Maximum execution time is no solution: it only blows after more time.
The page is actually saved
Going to the admin → Search → Index maintenance → reindex All
empties the queue and aftewards editing wiki pages is possible again.- Importance
- 9
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5403
- Created
- Tuesday 05 August, 2014 09:31:12 UTC
by Jean-Marc Libs - LastModif
- Tuesday 05 August, 2014 09:31:12 UTC