History log of /dokuwiki/bin/indexer.php (Results 1 – 25 of 41)
Revision Date Author Comments
# 8788dbbd 06-May-2026 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes


# 83b3accc 06-Apr-2026 Andreas Gohr <andi@splitbrain.org>

SearchIndex: rewrite Indexer to use Collection classes

Replace the intermediate #2943 classes (FulltextIndex, MetadataIndex)
with the new Collection-based architecture. The Indexer is now a thin
sta

SearchIndex: rewrite Indexer to use Collection classes

Replace the intermediate #2943 classes (FulltextIndex, MetadataIndex)
with the new Collection-based architecture. The Indexer is now a thin
stateless orchestrator that delegates all index work to collections.

Key changes:
- Indexer no longer extends AbstractIndex; page name passed to methods
- addPage/deletePage/clear use PageTitleCollection,
PageFulltextCollection, and PageMetaCollection
- New PageMetaCollection replaces separate ReferencesCollection and
MediaCollection with a single class that handles arbitrary metadata
keys dynamically
- Shared writable FileIndex('page') passed to all collections
- Logger callback replaces verbose parameter
- Methods return void instead of bool
- Index classes implement IteratorAggregate for clean data access
- Indexer tests consolidated into namespaced IndexerTest.php
- All callers updated to new stateless API

show more ...


# 7f394dd6 05-Apr-2026 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison in auth session check. fixes #4602
Translation update (pt-br)
Translation update (pt-br)
remove utf8_encode() from authad plugin
todo checker action: ignore vendor
updated rector and applied it
removed another php 7.4 workaround
removed an old PHP 5 workaround in HTTPClient
remove checks for mbstring.func_overload
removed php 8 polyfills
ignore HTML validation issue with skipped headline levels
declare PrefCookie constant visibility
update slika which fixes another php 8.5 deprecation issue
fix http tests
fix destructuring false returns from changelog functions
avoid using null as cache key
Fix deprecation warning in UTF8/Conversion
...

show more ...


# 9df9f0c8 27-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvemen

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvements
Translation update (it)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Remove HTML from strings based on title and tagline
SECURITY: fix XSS vulnerability. fixes #4512
translation update
Fix typos in usermanager English strings
Replace hardcoded message by localized string
set DOKU_INC in rector
...

show more ...


# 141d9fe1 20-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

Make bin/indexer.php more robust

Wraps the indexing process into a try/catch so that any exceptions
during indexing will not abort the whole process.

This also makes use of the CLI plugin log level

Make bin/indexer.php more robust

Wraps the indexing process into a try/catch so that any exceptions
during indexing will not abort the whole process.

This also makes use of the CLI plugin log levels and deprecates the
quiet option.

show more ...


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# 8c7c53b0 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: class declaration braces


# b1f206e1 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to bin and toplevel


# a32da6dd 25-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change Index objects to non-singleton

Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrict

change Index objects to non-singleton

Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrictions.

show more ...


# b9c8f036 10-Sep-2020 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into Refactor_Fulltext

* master: (111 commits)
Update translation
translation update
don't crush tables too narrow. fixes #3250
translation update
Thorough tests for

Merge branch 'master' into Refactor_Fulltext

* master: (111 commits)
Update translation
translation update
don't crush tables too narrow. fixes #3250
translation update
Thorough tests for EO, DE, PT and ES
translation update
Optimized pageRestoreConfirm function
Tests for Portuguese and Spanish
Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2
adjust callstack depth for deprecation message further
better deprecation messages for self required plugin base files
don't test on old PHP releases anymore
increase minimum PHP version to 7.2
fixed tests for cleanID and romanization for Greeklish
Improved the transliteration from greek to latin.
extension cli: do not try to upgrade bundled plugins
Public access to patterns in external link parser
test the collator fallback always
cleanup for collator tests
wrap sorting functions into their own class
...

show more ...


# cbfa4829 13-Jun-2020 Phy <git@phy25.com>

use envvars in shebang


# 4027a91a 30-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

use Indexer.php instead of PageIndex.php


# 3f4a342b 14-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

rewrite deprecated idx_* functions


# 2b2d0ba9 01-Jun-2018 Andreas Gohr <andi@splitbrain.org>

PSR2 adjustments for bin scripts


# cbeaa4a0 10-Nov-2017 Andreas Gohr <andi@splitbrain.org>

replace Doku_CLI with splitbrain\phpcli\CLI

It has few more features (like turning down verbosity) and looks nicer


# 1c36b3d8 16-May-2014 Andreas Gohr <andi@splitbrain.org>

code reformat


# b0b7909b 20-Mar-2014 Andreas Gohr <andi@splitbrain.org>

converted some more CLI tools, minor CLI class updates


# bff17c53 20-Dec-2012 Michael Hamann <michael@content-space.de>

Remove superfluous requires and variables from bin/indexer.php


# 3cf3c7d6 20-Dec-2012 Michael Hamann <michael@content-space.de>

Add clear function to the indexer that deletes the whole index


# 4b938509 18-Jun-2011 Michael Hamann <michael@content-space.de>

Properly clean up the whole index in bin/indexer.php

There were some index files that haven't been cleaned up, now also the
files of the metadata index are cleaned/removed when a clean is
requested.


# d041f8db 02-May-2011 Michael Hamann <michael@content-space.de>

Add a force option to idx_addPage()


# ad79cb7c 06-Mar-2011 Michael Hamann <michael@content-space.de>

Adjust bin/indexer.php for the new indexer

Now the indexer is directly called instead of duplicating a large part
of the indexer code.


# fc756e0d 23-Jan-2011 Michael Hamann <michael@content-space.de>

Merge branch 'master' into indexer_improvements

Conflicts:
inc/fulltext.php
inc/indexer.php
lib/exe/indexer.php


12