<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in IndexerTest.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>2cda016644e923dbda996c52bedee2113ba6d653 - Indexer: signal nothing-to-do via boolean return instead of void</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Search/IndexerTest.php#2cda016644e923dbda996c52bedee2113ba6d653</link>
        <description>Indexer: signal nothing-to-do via boolean return instead of voidThe TaskRunner runs indexing, sitemap, digest and changelog-trim tasksin sequence and relies on each task returning false when it did no workso the next one is tried. The indexer rewrite changed addPage(),deletePage() and renamePage() to return void and only abort viaexceptions, breaking that contract: indexing always looked like work wasdone and the following tasks never ran.Restore the boolean return on these three methods (true when work wasdone, false when there was nothing to do) while still using exceptionsto signal errors, and propagate it through TaskRunner::runIndexer().runIndexer() also no longer forces reindexing on every call.The legacy compatibility layer is adjusted to match: LegacyIndexer andidx_addPage() forward the boolean, mapping SearchExceptions back to thehistoric error-message/false returns. LegacyIndexer::renamePage()restores the &apos;page is not in index&apos; message that the move plugin expects.Closes #4661

            List of files:
            /dokuwiki/_test/tests/Search/IndexerTest.php</description>
        <pubDate>Wed, 17 Jun 2026 09:43:26 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;gohr@cosmocode.de&gt;</dc:creator>
    </item>
<item>
        <title>79dae64d6746363b953e6c82844ef285c37c3310 - Indexer: treat same-second save and index as up to date</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Search/IndexerTest.php#79dae64d6746363b953e6c82844ef285c37c3310</link>
        <description>Indexer: treat same-second save and index as up to dateneedsIndexing() compared the .indexed tag mtime against the page mtimewith &lt;=, so a page that was saved and indexed within the same second wasalways reported as still needing indexing. Require the page to bestrictly newer than the index tag instead, so an equal mtime correctlycounts as up to date.

            List of files:
            /dokuwiki/_test/tests/Search/IndexerTest.php</description>
        <pubDate>Wed, 17 Jun 2026 09:42:15 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;gohr@cosmocode.de&gt;</dc:creator>
    </item>
<item>
        <title>2ff7e61c42ef53b6a5d0a212c1785d7adeed08df - fix(indexer): explicitly handle renames</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Search/IndexerTest.php#2ff7e61c42ef53b6a5d0a212c1785d7adeed08df</link>
        <description>fix(indexer): explicitly handle renamesIn an attempt to simplify the index handling, the newly refactoredindexer implemented a rename as delete+add sequence.This had unintended consequences for the move plugin which may moveseveral pages at once, requiring a working index even while some pageshave already been moved while others still remain at their old location.Related to #4646

            List of files:
            /dokuwiki/_test/tests/Search/IndexerTest.php</description>
        <pubDate>Wed, 10 Jun 2026 09:56:23 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;gohr@cosmocode.de&gt;</dc:creator>
    </item>
<item>
        <title>ede4646658cf51245060332d97a319a39c788ea1 - SearchIndex: reorganize and expand test suite</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Search/IndexerTest.php#ede4646658cf51245060332d97a319a39c788ea1</link>
        <description>SearchIndex: reorganize and expand test suiteMove all Search tests from _test/tests/inc/Search/ to _test/tests/Search/to match the dokuwiki\test autoloader convention. Fix namespaces fromtests\* to dokuwiki\test\* so all tests work in isolation.Extract inline test helpers into separate autoloadable mock files:TestDirectCollection &#8594; MockDirectCollection, TestLookupCollection &#8594;MockLookupCollection, TestFrequencyCollection &#8594; MockFrequencyCollection.Rename AbstractIndexTest &#8594; AbstractIndexTestCase to fix PHPUnit warningabout abstract classes with Test suffix.Replace dead xxxRealWord() with proper testWildcardSearch() verifyingexact token matches and frequencies for all three wildcard types.Add testTokenizedPageSearch() using a dedicated test data file. AddtestNoMatchReturnsEmptyFrequencies() which exposed a bug in Term whereuninitialized $tokens/$frequencies caused crashes on zero-match terms.Replace fulltext_query.test.php with modern QueryParserTest in theSearch\Query namespace.Add new test files:- LockTest: acquire/release, reference counting, stale lock override,  foreign lock rejection, releaseAll, independent locks- NamespacePredicateTest: filter/exclude, sub-namespaces, partial prefix  safety, empty sets, score preservation- PageSetTest: intersect, unite, subtract, isEmpty- QueryEvaluatorTest: word lookups, AND/OR/NOT, namespace filtering,  combined queries, partial namespace prefix safetyFix Term.php: initialize $tokens and $frequencies to [] instead of null.

            List of files:
            /dokuwiki/_test/tests/Search/IndexerTest.php</description>
        <pubDate>Mon, 06 Apr 2026 16:45:11 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
