| #
39134585 |
| 05-Mar-2014 |
Christopher Smith <chris@jalakai.co.uk> |
add some braces (just style, not E_ALL)
|
| #
5a1d0548 |
| 11-Dec-2013 |
Michael Hamann <michael@content-space.de> |
Fix indexing numeric words in page contents
Since a8dba4523d2ecd09dd69a68a36673eaf5c009c57 the search index didn't properly index numeric words anymore, instead they were added as new words to the w
Fix indexing numeric words in page contents
Since a8dba4523d2ecd09dd69a68a36673eaf5c009c57 the search index didn't properly index numeric words anymore, instead they were added as new words to the word list each time they were indexed, leading to an ever-increasing index size.
show more ...
|
| #
d9529222 |
| 20-Oct-2013 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #380 from splitbrain/phpstrict
Php strict
|
| #
a8dba452 |
| 19-Oct-2013 |
Michael Hamann <michael@content-space.de> |
Fix FS#2854: Treat numerically different keys as different
|
| #
443e135d |
| 16-Oct-2013 |
Christopher Smith <chris@jalakai.co.uk> |
replace boolean conditional checks on possibly uninitialized vars with \!empty/empty/isset as appropriate
|
| #
ffec1009 |
| 31-Jul-2013 |
Michael Hamann <michael@content-space.de> |
Index media file usage in the metadata index and use it in ft_mediause()
|
| #
b1720e5c |
| 05-May-2013 |
Michael Hamann <michael@content-space.de> |
Indexer: Remove broken and dead readdircache code FS#2771
The code that is removed in this commit has either never been used (listIndexLenghts) or was completely broken (cacheIndexDir) and was intro
Indexer: Remove broken and dead readdircache code FS#2771
The code that is removed in this commit has either never been used (listIndexLenghts) or was completely broken (cacheIndexDir) and was introduced in the indexer rewrite in 2010. The idea of the rewrite was to update the readdir cache after every index change instead of on demand. What the code actually did was removing every updated index from the cache as it used a wrong if condition. Simply fixing the condition wouldn't fix the problem as then only updated indexes would be added to the cache and furthermore the rewrite simply ignored the readdircache setting. For now the safest solution seems to be removing the code. It could be added again in a changed form in a future version.
show more ...
|
| #
9e64ca0d |
| 05-May-2013 |
Michael Hamann <michael@content-space.de> |
Indexer: Fix wrong suffix parameter
The suffix parameter is only for the word length in the word index and not for the metadata index.
|
| #
bc27f3e2 |
| 26-Jan-2013 |
Michael Hamann <michael@content-space.de> |
Indexer: abort page rename if deletion of new id fails
|
| #
25adeb91 |
| 26-Jan-2013 |
Michael Hamann <michael@content-space.de> |
Indexer: added internal deletePageNoLock method
The new deletePageNoLock method is used by renamePage and avoids that the index needs to be unlocked and locked again for deleting the page.
|
| #
af73bba6 |
| 26-Jan-2013 |
Michael Hamann <michael@content-space.de> |
Clarified the behavior of the Doku_Indexer::renamePage method
|
| #
5eb9e867 |
| 19-Jan-2013 |
Michael Hamann <michael@content-space.de> |
Indexer: Added page and meta value rename functions
With these functions that search index can be updated after page moves or mass metadata updates without the need to reindex the whole page/wiki. T
Indexer: Added page and meta value rename functions
With these functions that search index can be updated after page moves or mass metadata updates without the need to reindex the whole page/wiki. These functions will be used by the new pagemove plugin.
show more ...
|
| #
4f708321 |
| 20-Dec-2012 |
Michael Hamann <michael@content-space.de> |
Remove global $Indexer, clear index in the testing system instead
|
| #
3cf3c7d6 |
| 20-Dec-2012 |
Michael Hamann <michael@content-space.de> |
Add clear function to the indexer that deletes the whole index
|
| #
1421e548 |
| 04-Dec-2012 |
Michael Hamann <michael@content-space.de> |
Indexer: Make $Indexer in idx_get_indexer() global instead of static
This avoids problems with test cases that use the indexer and the PID cache - the index is cleaned between test cases but the PID
Indexer: Make $Indexer in idx_get_indexer() global instead of static
This avoids problems with test cases that use the indexer and the PID cache - the index is cleaned between test cases but the PID cache wasn't cleaned. Now PHPUnit can unset the global $Indexer between test cases.
show more ...
|
| #
3d2ce006 |
| 04-Dec-2012 |
Michael Hamann <michael@content-space.de> |
Indexer: Add cache for getPID()
This avoids re-reading of the page index file for every getPID()-call by using a simple FIFO cache, limited to 10 items. In idx_addPage() and the functions that it ca
Indexer: Add cache for getPID()
This avoids re-reading of the page index file for every getPID()-call by using a simple FIFO cache, limited to 10 items. In idx_addPage() and the functions that it calls getPID() is called 3 times for the same PID.
show more ...
|
| #
03aafe1c |
| 02-Dec-2012 |
Michael Hamann <michael@content-space.de> |
Indexer: add getPID/getPageFromPID functions and PID to INDEXER_PAGE_ADD
This allows plugins to get the PID for a page and also to get the page for a certain PID. That way plugins can build their ow
Indexer: add getPID/getPageFromPID functions and PID to INDEXER_PAGE_ADD
This allows plugins to get the PID for a page and also to get the page for a certain PID. That way plugins can build their own index that uses numeric ids.
show more ...
|
| #
3e8e3ae6 |
| 28-Jul-2012 |
Michael Hamann <michael@content-space.de> |
Fix inconsistent return values in the indexer and in getInfo()
|
| #
e3ab6fc5 |
| 28-Jul-2012 |
Michael Hamann <michael@content-space.de> |
Fixed and extended PHPDoc comments and added additional @var comments
|
| #
9a9b579a |
| 28-Jul-2012 |
Michael Hamann <michael@content-space.de> |
Fix index histogram minlen parameter for metadata keys
This includes a test for the minlen parameter for metadata keys
|
| #
92a5d126 |
| 28-Jul-2012 |
Michael Hamann <michael@content-space.de> |
Remove unused variables
|
| #
b3d1090e |
| 25-Jul-2012 |
Michael Hamann <michael@content-space.de> |
Fix type declarations in some PHPDoc comments
|
| #
63703ba5 |
| 16-Mar-2012 |
Andreas Gohr <andi@splitbrain.org> |
coding style updates
|
| #
c55c59e3 |
| 15-Mar-2012 |
Michael Hamann <michael@content-space.de> |
Fix page deletion in the indexer
This fixes page deletion in the indexer and fixes a but where empty lines were added to the _i.idx file of metadata for which no value was set (harmless, and wasn't
Fix page deletion in the indexer
This fixes page deletion in the indexer and fixes a but where empty lines were added to the _i.idx file of metadata for which no value was set (harmless, and wasn't executed anyway).
show more ...
|
| #
a23ac4d7 |
| 15-Mar-2012 |
Michael Hamann <michael@content-space.de> |
Indexer: Check for deleted pages first FS#2469
This move the check if the page doesn't exist anymore but is still in the index before the check if the index needs to be updated as otherwise deleted
Indexer: Check for deleted pages first FS#2469
This move the check if the page doesn't exist anymore but is still in the index before the check if the index needs to be updated as otherwise deleted pages won't be deleted from the index.
show more ...
|