Home
last modified time | relevance | path

Searched hist:"06053 dca2fac9a1da4eb1accf8c2488942da5d2a" (Results 1 – 6 of 6) sorted by relevance

/dokuwiki/_test/tests/Search/Index/
H A DFileIndexTest.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.

H A DMemoryIndexTest.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.

H A DAbstractIndexTestCase.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.

/dokuwiki/_test/tests/Search/Collection/
H A DFrequencyCollectionTest.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.

/dokuwiki/inc/Search/Index/
H A DMemoryIndex.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.

H A DFileIndex.php06053dca2fac9a1da4eb1accf8c2488942da5d2a Fri Apr 10 19:06:30 UTC 2026 Andreas Gohr <andi@splitbrain.org> SearchIndex: remove write side effect from retrieveRow()

retrieveRow() padded the index file when the requested RID was beyond
the current length. This was an optimization for subsequent changeRow()
calls, but changeRow() already handles padding on its own. The side
effect was also inconsistent with retrieveRows() which is a pure read.

Added a cross-index integration test verifying RID consistency across
entity, token, frequency and reverse indexes when multiple entities
share tokens.