<feed xmlns='http://www.w3.org/2005/Atom'>
<title>search/includes, branch master</title>
<subtitle>Bitweaver search package repository
</subtitle>
<id>https://git.rdm1.uk/search/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/search/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/'/>
<updated>2026-06-03T17:49:44Z</updated>
<entry>
<title>search: always use syllable expansion; fix PHP 8 null arithmetic</title>
<updated>2026-06-03T17:49:44Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-03T17:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=c694c8477dd0a46a9697d8f4db97934a6aaa23ba'/>
<id>urn:sha1:c694c8477dd0a46a9697d8f4db97934a6aaa23ba</id>
<content type='text'>
- Remove broken $plUsePart gate (literal $ in key meant it never fired);
  syllable expansion now always runs so partial terms like 'TLC' expand
  to indexed words like 'tlc5917n'
- Cast getOne() to int before time() subtraction — PHP 8 rejects int-null
  arithmetic when syllable row doesn't exist yet

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Wrap insert_index() in transaction to prevent stuck Firebird locks</title>
<updated>2026-05-21T11:36:34Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-21T11:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=4a3fcb583cbe52466d2e935caf65f1103c196692'/>
<id>urn:sha1:4a3fcb583cbe52466d2e935caf65f1103c196692</id>
<content type='text'>
Uncaught duplicate-key exception during search indexing left Firebird
transactions uncommitted, holding locks that blocked subsequent page reads.
StartTrans/CompleteTrans/RollbackTrans ensures the transaction is always
closed cleanly regardless of INSERT failure.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix Index On Submit flag logic and session lock on save</title>
<updated>2026-05-20T15:43:50Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-20T15:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=6116768df56c3085073953e78e605752071116c4'/>
<id>urn:sha1:6116768df56c3085073953e78e605752071116c4</id>
<content type='text'>
bit_setup_inc.php: flag was previously ignored — refresh_index was
always called synchronously on save regardless of setting, and the flag
only controlled the background random refresh. Now correctly:
- Flag ON: index synchronously on every save (refresh_index)
- Flag OFF: background random refresh only, no synchronous indexing

refresh_functions.php: add session_write_close() before indexing in
refresh_index() so the session lock is released before the per-word
INSERT loop, preventing 'not found' on redirect after saving large pages.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix And Terms Together search for Firebird and PHP namespaces</title>
<updated>2026-05-20T15:25:58Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-20T15:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=2d9e56ca5f29c9dc1e295f534d1be18ed11df9a7'/>
<id>urn:sha1:2d9e56ca5f29c9dc1e295f534d1be18ed11df9a7</id>
<content type='text'>
- ORDER BY relevancy/hits by name instead of position 9/5; position 9
  resolved to lc.data (BLOB) in find_with_and due to extra hash_key
  column, causing Firebird to error on BLOB sort
- Qualify i_count with table alias to avoid ambiguity
- Replace string callback 'search_relevance_sort' with closure; string
  callbacks resolve in global namespace but function is in Bitweaver\Search
- Remove now-redundant standalone search_relevance_sort function

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Restore ability to add information for the search results from liberty objects</title>
<updated>2026-05-18T08:18:24Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-18T08:18:24Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=5b06664aad390e609268549e5a35aa4815ded9e2'/>
<id>urn:sha1:5b06664aad390e609268549e5a35aa4815ded9e2</id>
<content type='text'>
blog title initial target
</content>
</entry>
<entry>
<title>php-cs-fixer tidies to php8.5 standards</title>
<updated>2026-05-14T08:52:56Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-14T08:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=ed7ded38465662eabdd1b16dd9cd4008d6c5528f'/>
<id>urn:sha1:ed7ded38465662eabdd1b16dd9cd4008d6c5528f</id>
<content type='text'>
Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add fisheye to the full text search to support the processing of the text layer in pdf's</title>
<updated>2026-04-16T10:37:30Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-04-16T10:37:30Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=758faa3c26c4756874616e87e0433691e8393b6e'/>
<id>urn:sha1:758faa3c26c4756874616e87e0433691e8393b6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Missing namespace references</title>
<updated>2026-04-02T09:11:29Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-04-02T09:11:29Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=d2f35d9923f9022f80e09056b659231653e1c391'/>
<id>urn:sha1:d2f35d9923f9022f80e09056b659231653e1c391</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move functions used by liberty to Liberty namespace. This fixes search not running on save.</title>
<updated>2026-02-01T15:42:04Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-02-01T15:42:04Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=365bfac8fbcee3a37fb816a1a15c536d51915424'/>
<id>urn:sha1:365bfac8fbcee3a37fb816a1a15c536d51915424</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy use of stats as a class</title>
<updated>2026-02-01T15:39:58Z</updated>
<author>
<name>lsces</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-02-01T15:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/search/.git/commit/?id=ed6575e1613ab86e82f28f96f614501822acfebc'/>
<id>urn:sha1:ed6575e1613ab86e82f28f96f614501822acfebc</id>
<content type='text'>
</content>
</entry>
</feed>
