History log of /dokuwiki/inc/indexer.php (Results 51 – 75 of 156)
Revision Date Author Comments
# 7d939e4e 14-Jun-2011 Michael Hamann <michael@content-space.de>

Force search index update after fixing the lowercasing of words

This increases the indexer version in order to force a rebuild of the
search index in order to "repair" the search index that might co

Force search index update after fixing the lowercasing of words

This increases the indexer version in order to force a rebuild of the
search index in order to "repair" the search index that might contain
uppercase words

show more ...


# 5f27cb0e 14-Jun-2011 Michael Hamann <michael@content-space.de>

Fix lowercasing of words in the indexer FS#2270

On certain PHP installations (it has been reproduced with PHP version
5.2.0-8+etch11) the indexer failed to lowercase words in the indexer
so the full

Fix lowercasing of words in the indexer FS#2270

On certain PHP installations (it has been reproduced with PHP version
5.2.0-8+etch11) the indexer failed to lowercase words in the indexer
so the fulltext search was partially broken.

show more ...


# dbb771bb 23-May-2011 Adrian Lang <lang@cosmocode.de>

Fix variable name typo in indexer


# 65aa8490 08-May-2011 Michael Hamann <michael@content-space.de>

Add more render/cache logic to the metadata code

This adds a new rendering limit of currently 5 pages to the
p_get_metadata function. This means that in one request not more than 3
pages will be par

Add more render/cache logic to the metadata code

This adds a new rendering limit of currently 5 pages to the
p_get_metadata function. This means that in one request not more than 3
pages will be parsed/rendered. Pages for which the cache can be used
aren't counted. This should make the new cache modes safe to use and
should provide backwards compatibility while keeping the advantage of
rendering metadata on demand (i.e. imagine one included page out of 10
is updated, then the metadata for that page can be rendered, but when
you request a purge of the cache not 10 pages are rendered).

In this commit most of the changes to the p_get_first_heading function
are reverted and the title index is no longer used. This makes the first
heading functionality no longer depends on the search index of DokuWiki.
Maybe it can be added again later when the indexer provides a proper API
for getting metadata values for all or selected pages. The performance
of the p_get_first_heading function should be almost back to the
performance in Anteater as the simple cache of p_get_metadata is used
and also the limit of p_get_metadata is of course applied.

show more ...


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

Add a test to do=check that should detect search index corruption

With this test it should be possible to detect if the search index has
been corrupted by using Rincewind RC or a git version of the

Add a test to do=check that should detect search index corruption

With this test it should be possible to detect if the search index has
been corrupted by using Rincewind RC or a git version of the weeks
before the RC release.

show more ...


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

Add a force option to idx_addPage()


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

Add line endings at the end of the file

The bug that is fixed here may have corrupted your search index in a way
that it produces wrong or missing results and won't be fixed
automatically. This occu

Add line endings at the end of the file

The bug that is fixed here may have corrupted your search index in a way
that it produces wrong or missing results and won't be fixed
automatically. This occurs when you have deleted the last occurrence of
a word that has been on the last line of one of the word indexes. A
functionality for checking for a broken search index will be added.

The index can be fixed by deleting it completely (remove all .idx files
in data/index/) and recreating it using bin/indexer.php -c. The
searchindex plugin will be updated to be able to do the same, soon.

show more ...


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

Fix a warning in the indexer when words exist without corresponding index FS#2242


# 93475e69 20-Apr-2011 Michael Hamann <michael@content-space.de>

Enable metadata rendering in the indexer

Metadata is rendered now in the indexer when it's cache is invalid.


# 04d61d11 07-Apr-2011 Michael Hamann <michael@content-space.de>

Merge branch 'master' of https://github.com/akate/dokuwiki into akate-master


# 6a9d9793 07-Apr-2011 Kate Arzamastseva <pshns@ukr.net>

indexer fix updating the search index


# b9d8cc1e 22-Mar-2011 Tom N Harris <tnharris@whoopdedo.org>

Clarify usage of some indexer methods


# 80fb93f6 22-Mar-2011 Tom N Harris <tnharris@whoopdedo.org>

Change Doku_Indexer visibility from private to protected, and get rid of ugly underscores


# 8cd4c12f 19-Mar-2011 Andreas Gohr <andi@splitbrain.org>

replace tokenizer_cmd with action hook

as discussed at
http://www.freelists.org/post/dokuwiki/tokenizer-cmd-in-indexer,1


# a424180e 08-Mar-2011 Michael Hamann <michael@content-space.de>

Remove relation_references from the index when it is missing


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

Merge the two indexer events and use string keys

This merges the INDEXER_PAGE_ADD and INDEXER_METADATA_INDEX events and
introduces the new string keys 'page', 'body' and 'metadata' in the
event data

Merge the two indexer events and use string keys

This merges the INDEXER_PAGE_ADD and INDEXER_METADATA_INDEX events and
introduces the new string keys 'page', 'body' and 'metadata' in the
event data. All plugins that use INDEXER_PAGE_ADD need to be adjusted to
use the key 'page' instead of 0 and 'body' instead of 1.

show more ...


# b6d540bd 28-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Fix wildcard search


# 1538718d 25-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Restrict metadata values in indexer to string; skip unnecessary test


# 675bf41f 25-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Reduce memory footprint of tokenizer; make returned arrays use contiguous keys


# 7233c152 24-Feb-2011 Michael Hamann <michael@content-space.de>

Fix pass by reference error, always return an array in lookupKey()


# f77fc90d 24-Feb-2011 Michael Hamann <michael@content-space.de>

Merge branch 'master' into indexer_rewrite

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


# b8c040db 23-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Add minimum length option to index histogram


# 287bc287 23-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Increase version tag for new indexer


# 5981eb09 23-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Fix variable name type in indexer


# 175193d2 22-Feb-2011 Tom N Harris <tnharris@whoopdedo.org>

Implement histogram method of indexer


1234567