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

�� Rector and PHPCS fixes


# 0b1bbbbb 06-Apr-2026 Andreas Gohr <andi@splitbrain.org>

SearchIndex: rewrite FulltextSearch to use FrequencyCollectionSearch

Replace FulltextIndex->lookupWords() with FrequencyCollectionSearch which
correctly handles the compact tuple format written by t

SearchIndex: rewrite FulltextSearch to use FrequencyCollectionSearch

Replace FulltextIndex->lookupWords() with FrequencyCollectionSearch which
correctly handles the compact tuple format written by the new Indexer.

Introduce QueryEvaluator with typed stack entries (PageSet,
NamespacePredicate, NegatedEntry) for RPN query evaluation. NOT wraps
its operand instead of computing a universe complement, so AND with a
negated operand becomes efficient set subtraction. The full page index
is only loaded for standalone negative or namespace-only queries.

Move QueryParser and QueryEvaluator into the new Search\Query namespace
along with the stack entry types.

Simplify FulltextSearch to orchestration: parse query, look up words,
evaluate, filter, sort. Replace FT_SNIPPET_NUMBER constant with
maxSnippets property. Combine ACL/existence/time filtering into a
single pass.

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 ...


# e2d055f5 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/Ui


# 9329b002 02-Feb-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change static methods into instance methods


# 46b83514 19-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

resolve conflictions, CodeSniffer errors


# 0cba610b 14-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

rewrite deprecated ft_* functions


# 5d021066 15-Apr-2018 Anika Henke <anika@selfthinker.org>

Fix links with invalid empty target attributes

The advanced search options list links with an invalid empty target
attribute. This fixes that by skipping empty parameters.


# 422bbbc6 29-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor: rename dta and dtb parameters

They are now named min and max respectively, which is hopefully less
cryptic.


# 52d4cd42 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): rewite SearchState to make behavior more obvious

As suggested by @splitbrain SearchState now behaves simliar to the PSR-7
message interfaces.


# 1265b193 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): shorten get parameters


# df977249 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search) more nuanced tool deactivation

This gives create control over when a query is too complex for tool
support.


# 8d0e286a 26-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search) add option to sort by mtime


# 18856c5d 26-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): extract simplified SearchState class

Building the new search links is complex and we're going to add another
parameter with the new sorting by mtime. Extracting a new class seems
l

refactor(search): extract simplified SearchState class

Building the new search links is complex and we're going to add another
parameter with the new sorting by mtime. Extracting a new class seems
like the cleanest way to handle that increasing complexity.

show more ...