summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Indexer v3 Rewrite: streamline indexing of deleted or disabled pagesTom N Harris2011-01-24
|
* Indexer v3 Rewrite: Use the metadata index for backlinks; add ↵Michael Hamann2011-01-23
| | | | | | | | | | | INDEXER_METADATA_INDEX event This new event allows plugins to add or modify the metadata that will be indexed. Collecting this metadata in an event allows plugins to see if other plugins have already added the metadata they need and leads to just one single indexer call thus fewer files are read and written. Plugins could also replace/prevent the metadata indexer call using this event.
* Indexer v3 Rewrite: fix addMetaKeys and lockingMichael Hamann2011-01-23
| | | | | | | | | | | | | | This fixes addMetaKeys so it actually removes values. This also changes the functionality of the function: It now updates the key for the page with the current value instead of adding new values as this will be the default use case. A new parameter could be added to restore the "old" behavior when needed. addMetaKeys now only saves the index when the content has really been changed. Furthermore no empty number is added anymore to the reverse index when it has been empty previously. addMetaKeys now releases the lock again and really fails when the lock can't be gained.
* Indexer v3 Rewrite: implement lookupKey()Michael Hamann2011-01-22
| | | | | Saving and looking up metadata key/value pairs seems to work now at least with some basic tests.
* Indexer v3 Rewrite: _saveIndexKey now really writes on the desired lineMichael Hamann2011-01-22
| | | | | | | Now _saveIndexKey inserts empty lines when the index isn't long enough. This is necessary because the page ids are taken from the global page index, but there is not every page in the metadata key specific index so e.g. line 10 might be the first entry in the index.
* Indexer v3 Rewrite: fix obvious typos and type errorsMichael Hamann2011-01-22
|
* Indexer v3 Rewrite part two, update uses of indexerTom N Harris2010-12-29
|
* Indexer v3 Rewrite part one (unstable)Tom N Harris2010-12-27
| | | | | | | | | | | | | | | | | | | | | | | | The indexer functions have been converted to a class interface. Use the Doku_Indexer class to access the indexer with these public methods: addPageWords addMetaKeys deletePage tokenizer lookup lookupKey getPages histogram These functions are provided for general use: idx_get_version idx_get_indexer idx_get_stopwords idx_addPage idx_lookup idx_tokenizer These functions are still available, but are deprecated: idx_getIndex idx_indexLengths All other old idx_ functions are unsupported and have been removed.
* Merge branch 'tokenizer-rewrite' into michituxTom N Harris2010-11-20
|\
| * Restore io_runcmd, use io_exec for exec with pipesTom N Harris2010-11-18
| |
| * Use a different indexer version when external tokenizer is enabledTom N Harris2010-11-17
| |
| * Use external program to split pages into wordsTom N Harris2010-11-16
| | | | | | | | | | | | | | | | | | An external tokenizer inserts extra spaces to mark words in the input text. The text is sent through STDIN and STDOUT file handles. A good choice for Chinese and Japanese is MeCab. http://sourceforge.net/projects/mecab/ With the command line 'mecab -O wakati'
| * Repurpose io_runcmd for pipesTom N Harris2010-11-16
| |
| * tokenizer was returning prematurelyTom N Harris2010-11-15
| |
| * Refactor tokenizer to avoid splitting multiple timesTom N Harris2010-11-14
| |
| * Measure length of multi-character Asian wordsTom N Harris2010-11-14
| |
| * Do not assume that index files will be backward compatibleTom N Harris2010-11-14
| |
| * Remove unused idx_touchIndex functionTom N Harris2010-11-14
| |
* | Indexer improvement: regex instead of arrays for linesMichael Hamann2010-11-15
| | | | | | | | | | | | | | | | | | | | When updating a single line that line was split into an array and in a loop over that array one entry was removed and afterwards a new one added. Tests have shown that using a regex for doing that is much faster which can be easily explained as that regex is very simple to match while a loop over an array isn't that fast. As that update function is called for every word in a page the impact of this change is significant.
* | Indexer improvement: Only write the words index when neededMichael Hamann2010-11-15
| | | | | | | | | | | | | | | | This adds a simple boolean variable that tracks if new words have been added. When editing a page in many cases all words have already been used somewhere else or just one or two words are new. Until this change all words indexes read were always written, now only the changed ones are written. The overhead of the new boolean variable should be low.
* | Indexer improvement: replace _freadline by fgetsMichael Hamann2010-11-15
| | | | | | | | | | | | | | In PHP versions newer than 4.3.0 fgets reads a whole line regardless of its length when no length is given. Thus the loop in _freadline isn't needed. This increases the speed significantly as _freadline was called very often.
* | Indexer speed improvement: joined array vs. single linesMichael Hamann2010-11-15
| | | | | | | | | | | | | | | | From my experience with a benchmark of the indexer it is faster to first join the array of all index entries and then write them back together instead of writing every single entry. This might increase memory usage, but I couldn't see a significant increase and this function is also only used for the small index files, not for the large pagewords index.
* | Use native PHP JSON functions when availableMichael Hamann2010-11-15
|/
* improved some metadata commentsDominik Eckelmann2010-11-13
|
* FS#2079: always show profile and subscribe links/buttonsAnika Henke2010-11-13
|
* Introduce metadata write wrapper p_save_metadataAdrian Lang2010-11-13
| | | | p_purge_metadata now updates the metadata cache and the INFO array like the other metadata writing functions
* initialised media options modal popup with display:none in JSAnika Henke2010-11-13
|
* added minimal needed styles for modal windowsAnika Henke2010-11-13
|
* improved lib stylesAnika Henke2010-11-13
|
* Simpler ID trimmingAdrian Lang2010-11-13
|
* Remove metadata conversion from 0a7e3bce (2006-11-26)Adrian Lang2010-11-13
|
* removed fixme commentDominik Eckelmann2010-11-13
|
* fixed mediamanager options + ie6 fix (FS#2074)Dominik Eckelmann2010-11-13
|
* Merge branch 'master' of github.com:splitbrain/dokuwikiAnika Henke2010-11-12
|\
| * Merge branch 'sitemap'Michael Hamann2010-11-12
| |\
| | * Only add successfully created sitemap items to the sitemapMichael Hamann2010-11-02
| | |
| | * Merge branch 'master', remote branch 'sitemap/master'Michael Hamann2010-11-02
| | |\
| | | * Merge remote branch 'origin/master' into sitemapMichael Hamann2010-10-10
| | | |\
| | | * | Action handler for sitemaps improvedMichael Hamann2010-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | The action handler for the sitemap now makes use of the sitemapper methods for determining the filename and uses http conditional requests.
| | | * | Sitemapper code improved and documentation addedMichael Hamann2010-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | Removed some calls to dbglog, improved the code performance and added documentation for all functions and classes of the Sitemapper.
| | | * | Restructured the sitemapperMichael Hamann2010-09-22
| | | | |
| | | * | Transformed the sitemapper into a classMichael Hamann2010-09-22
| | | | | | | | | | | | | | | | | | | | This makes it possible to autoload the sitemapper when needed.
| | | * | Sitemap rewriteMichael Hamann2010-09-22
| | | | |
* | | | | FS#1839: take favicon from mediadir (if it exists)Anika Henke2010-11-12
|/ / / /
* | | | maintain the list of removed files in the repositoryAndreas Gohr2010-11-11
| | | | | | | | | | | | | | | | | | | | this is mainly for use with plugin:upgrade and thus will be cherrypicked into the current stable branch as well.
* | | | added missing styles to print.css (underline, centered images and clearer)Anika Henke2010-11-07
| | | |
* | | | release preparationsAndreas Gohr2010-11-07
| | | |
* | | | spam list updateAndreas Gohr2010-11-07
| | | |
* | | | Merge branch 'master' of github.com:splitbrain/dokuwikiAnika Henke2010-11-07
|\ \ \ \
| * | | | - copy over identical sxw,odt fileiconsElan Ruusamäe2010-11-07
| | | | |