stephan
|
da5f813878
|
Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.
FossilOrigin-Name: f50c21484d3cac73589da0376c423de39ae8b842218105786c5aa3726e4dcaed
|
2025-02-27 21:17:55 +00:00 |
|
dan
|
8d4edd0d67
|
Add fts5 auxiliary function fts5_get_locale(). For querying the locale of a stored value.
FossilOrigin-Name: 396f720f36a937145ac727c2750acfd26e4eda350b46d648d82a7e9985545a9f
|
2024-08-23 15:18:02 +00:00 |
|
dan
|
10e54e365a
|
Fix further issues to do with fts5 locale support.
FossilOrigin-Name: e626123580065986f7df50b6140f00048944becce179b9391fbf09f97ac55485
|
2024-08-12 17:03:37 +00:00 |
|
dan
|
1286677773
|
Update the auxiliary function API to include xTokenize_x2() instead of xSetLocale().
FossilOrigin-Name: f7d56a1f2149f0da117167db62e2c28ec337e8da3403873b64cdfc6a951e2e8e
|
2024-08-12 11:13:56 +00:00 |
|
dan
|
5bd8cc7dd5
|
Fix various problems with the code on this branch.
FossilOrigin-Name: 8bd4ae7e95c7b6ce34db5ea705dc136e742a22f333d0e7370b485ebd736b5ec2
|
2024-07-31 20:49:00 +00:00 |
|
dan
|
8174305e17
|
Update the highlight() and snippet() functions to use locales when available.
FossilOrigin-Name: 569ae56a673a2e101fac7003a1cb41c7a02a515adf55bd1e1f2a03c19eb2b085
|
2024-07-30 15:55:51 +00:00 |
|
dan
|
d82320ac9a
|
Ensure that the xColumnText(), xQueryPhrase() and xPhraseFirstColumn() APIs all return SQLITE_RANGE if they are passed a bad column or phrase number.
FossilOrigin-Name: 1a8a9b1c89519d265869251e8b6d3c5db733f0d3a7dea6c7962811a8f1157dff
|
2023-12-26 15:52:40 +00:00 |
|
dan
|
ab8a4b2bb0
|
Fix a case where adjacent tokens are handled incorrectly by the fts5 snippet() function.
FossilOrigin-Name: 8f5e9c192ff2820d8cfb076ab28f30697d10c22710583d6c7fd7019c4a0ea795
|
2023-11-03 17:20:20 +00:00 |
|
dan
|
d548f74024
|
Fix a problem with the fts5 highlight() and snippet() functions when used with tokenizers like "trigram" that output overlapping tokens. Forum post [forum:/forumpost/63735293ec|63735293ec].
FossilOrigin-Name: d570aa02f79b1d7d3889e33f9eebab1b7edcf5231b1357451eed9a538607de54
|
2023-10-24 15:53:02 +00:00 |
|
dan
|
5f708cc832
|
Fix a problem with the fts5 snippet() function that shows up when snippets just 1 token in length are requested.
FossilOrigin-Name: 96d5116d17cbf3de6be38952881c6ddf6a226ddfd7649197bdb2df39c42b5d8e
|
2023-03-10 13:36:19 +00:00 |
|
dan
|
cad760d16e
|
Fix a compiler warning in fts5_aux.c.
FossilOrigin-Name: 8edb983bc87898eff2cd2e7e672a32a47c71b2be9d818513d339e95560d45b2b
|
2020-11-27 19:40:13 +00:00 |
|
dan
|
6d19bf9460
|
Add missing cast to fts5 bm25() code.
FossilOrigin-Name: 6ff9673847c0b4174d9435e93d19af0ee7406b1a12edeb6edec98697e1646824
|
2020-11-27 16:15:55 +00:00 |
|
dan
|
3181706895
|
Remove a redundant "if( rc==SQLITE_OK )" from the fts5 bm25() code.
FossilOrigin-Name: d85f4f27f58adcc75fc7d59e63af95b2a338052d8748a11f22ec1e48d1aff4cc
|
2020-11-27 16:08:15 +00:00 |
|
dan
|
66efc393c5
|
Move an "if( rc==SQLITE_OK )" to outside a loop body in the fts5 bm25() code.
FossilOrigin-Name: 14a4dcf3474566d072007a37d214c892397c21dd3b7f8b55ad0e5edfb7130dd6
|
2020-11-27 16:05:31 +00:00 |
|
mistachkin
|
065f3bf4f2
|
Fix various harmless compiler warnings seen with MSVC.
FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
|
2019-03-20 05:45:03 +00:00 |
|
dan
|
e25646d64c
|
Avoid an integer overflow in the fts5 snippet() function triggered by a corrupt database record.
FossilOrigin-Name: 7c862c4655841e1263cf548d01f5b4331685ab7d396494891cad0a5f50c63e16
|
2019-01-29 16:34:45 +00:00 |
|
dan
|
e88609f23e
|
Fix asan warnings in fts5 triggered by corrupt databases - passing NULL to memcmp, out-of-range left-shift values and signed integer overflow.
FossilOrigin-Name: 93f8ec146d63af13f04e337ada4fa75e9254f72b1394df09701ae12e185f27e2
|
2019-01-25 16:54:06 +00:00 |
|
dan
|
27a037354c
|
Avoid a division-by-zero error in fts5 caused by a corrupt database.
FossilOrigin-Name: 928e622178bd004be52b2271ac554176aebe9d6e115ecac4e7072eccbb4262b5
|
2019-01-19 15:55:27 +00:00 |
|
dan
|
1a39d2bb5c
|
Handle SQL NULL values without crashing in the fts5 snippet() and highlight()
functions.
FossilOrigin-Name: a5e9cc794f17566160c4b2b5791601a744a21ace987b19ff8a5816fd78dce56a
|
2019-01-15 18:14:27 +00:00 |
|
drh
|
2d77d80a65
|
Use 64-bit math to compute the sizes of memory allocations in extensions.
FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
|
2019-01-08 20:02:48 +00:00 |
|
dan
|
c8f44d245c
|
Fix crashes that could occur if SQL NULL values were passed to the built-in
FTS5 snippet function. Edit: breaks amalgamation builds.
FossilOrigin-Name: 6a790b67a0a5c698526db16ea262b13ecdd1b6ca74e80bdccfcad88ddbdc933a
|
2017-12-26 14:32:25 +00:00 |
|
dan
|
642f0146d7
|
Fix some compiler warnings in fts5.
FossilOrigin-Name: b066637bb75959267fe6104da323c5112ad78f82
|
2016-10-05 20:14:29 +00:00 |
|
dan
|
37ff4d4c77
|
Fix a bug in the fts5 snippet function causing it to return text containing zero phrase instances.
FossilOrigin-Name: b174ed2bde43a1872374ce18b85ac9f067e86fbb
|
2016-08-24 18:50:47 +00:00 |
|
dan
|
783e778f38
|
Fix other minor problems with the fts5 snippet() function.
FossilOrigin-Name: b56b2a85cf377686727f3929208ede43f797cf76
|
2016-08-20 17:23:45 +00:00 |
|
dan
|
7ca1ea16ff
|
Have the fts5 snippet() function avoid favouring snippets that begin with sentences that do not contain search terms. Add an extra bias in favour of the first sentence in the document.
FossilOrigin-Name: d8180af2adfc101dfce95a0498b5cd7b30643b30
|
2016-08-19 14:25:38 +00:00 |
|
dan
|
e7036202bc
|
Bias the fts5 snippet() function to return snippets that look like they start at the start of sentences.
FossilOrigin-Name: 60de159476edbd48dc363f7f77f09c32ea68422f
|
2016-08-17 19:05:12 +00:00 |
|
dan
|
8c2b1fde58
|
Fix a problem in the fts5 snippet() auxiliary function.
FossilOrigin-Name: a861713cc6a3868a1c89240e8340bc7b2b9559da
|
2016-08-17 11:14:39 +00:00 |
|
dan
|
22e8356368
|
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
FossilOrigin-Name: bc3f7900d5a06829d123814a5ac7b951bcfc1560
|
2016-02-11 17:01:32 +00:00 |
|
dan
|
e9eb1593f5
|
Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode.
FossilOrigin-Name: 72d53699bf0dcdb9d2a22e229989d7435f061399
|
2016-01-23 18:51:59 +00:00 |
|
dan
|
3e6a141130
|
Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code.
FossilOrigin-Name: 5d44d4a6cf5c6b983cbd846d9bc34251df8f4bc5
|
2015-12-23 16:42:27 +00:00 |
|
mistachkin
|
cdabd7bd50
|
Fix harmless compiler warnings.
FossilOrigin-Name: 1c46c194a2da24fe613d77b5a8d727cc2fc9faa4
|
2015-10-14 20:34:57 +00:00 |
|
dan
|
351ccb3825
|
Fix two more warnings in fts5 code.
FossilOrigin-Name: 5343e601fb6f0f24f4e4d5d442f7b5b074734143
|
2015-10-08 20:28:33 +00:00 |
|
dan
|
ee0c0a8de3
|
Another change to the fts5 tokenizer API.
FossilOrigin-Name: fc71868496f45f9c7a79ed2bf2d164a7c4718ce1
|
2015-08-29 15:44:27 +00:00 |
|
dan
|
57e0add3f9
|
Change the fts5 tokenizer API to allow more than one token to occupy a single position within a document.
FossilOrigin-Name: 90b85b42f2b2dd3e939b129b7df2b822a05e243d
|
2015-08-28 19:56:47 +00:00 |
|
mistachkin
|
532f179cab
|
Fix some harmless compiler warnings.
FossilOrigin-Name: 3de030c904d125ccf41fa1929646b8a002b5341b
|
2015-07-14 17:18:05 +00:00 |
|
dan
|
3f09beda45
|
Remove "#ifdef SQLITE_ENABLE_FTS5" from individual fts5 source files. Add a single "#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5)" to fts5.c.
FossilOrigin-Name: 7819002ed85497bbd0f9cf4d39df641573324436
|
2015-07-02 15:52:21 +00:00 |
|
dan
|
7b2ec1ae41
|
Improve fts5 tests.
FossilOrigin-Name: c1f07a3aa98eac87e2747527d15e5e5562221ceb
|
2015-04-29 20:54:08 +00:00 |
|
dan
|
6f876c339d
|
Fix the bm25() function so that it multiplies scores by -1 before returning them. This means better matches have a lower numerical score, so "ORDER BY rank" (not "ORDER BY rank DESC") does what you want.
FossilOrigin-Name: 3ee7b5a9f987c269251620ae7cc0fc7876b58ee5
|
2015-03-07 11:50:31 +00:00 |
|
dan
|
47c467c80e
|
Fix a couple of build problems.
FossilOrigin-Name: a5d5468c0509d129e198bf9432190ee07cedb7af
|
2015-03-04 08:29:24 +00:00 |
|
dan
|
aacf3d1a3b
|
Remove the iPos parameter from the tokenizer callback. Fix the "tokenchars" and "separators" options on the simple tokenizer.
FossilOrigin-Name: 65f0262fb82dbfd9f80233ac7c3108e2f2716c0a
|
2015-01-06 19:08:26 +00:00 |
|
dan
|
ded4f41d1a
|
Tests and fixes for fts5 external content tables.
FossilOrigin-Name: 047aaf830d1e72f0fdad3832a0b617e769d66468
|
2015-01-05 20:41:39 +00:00 |
|
dan
|
2a615fa627
|
Fix the fts5 bm25() function so that it matches the documentation.
FossilOrigin-Name: 1ac7a8d0af9a71ddf6a1421033dcb9fa67c6120c
|
2014-12-23 19:18:34 +00:00 |
|
dan
|
005e10e39a
|
Fixes and simplifications for the snippet() and highlight() functions.
FossilOrigin-Name: ca5d44042aa7461dcc8b700b0763df4df9d4a891
|
2014-12-22 21:01:52 +00:00 |
|
dan
|
1616d55153
|
Remove the fts5_test() aux function. Test aux functions using the tcl interface instead.
FossilOrigin-Name: 67e3ffd950c5347d219a06b33ad51949cffa7d90
|
2014-12-19 20:53:51 +00:00 |
|
dan
|
cb11e73fc2
|
Add a %_config table to fts5.
FossilOrigin-Name: 83491c56661ca78f96020ba68184bb3fb19e674f
|
2014-11-27 20:03:45 +00:00 |
|
dan
|
cb62aae034
|
Add the auxiliary highlight() function to fts5.
FossilOrigin-Name: 059092379f981eb919b500ce447006f9e645fc5a
|
2014-11-24 16:24:33 +00:00 |
|
dan
|
48d7014067
|
Fix the customization interfaces so that they match the documentation.
FossilOrigin-Name: fba0b5fc7eead07a4853e78e02d788e7c714f6cd
|
2014-11-15 20:07:31 +00:00 |
|
dan
|
7b71fbaf93
|
Add support for savepoints to fts5.
FossilOrigin-Name: 3b19eba042bb2eeb1be60f8d58ebaa0a045d6a5c
|
2014-08-06 16:30:21 +00:00 |
|
dan
|
937490d4b4
|
Add further tests for the extension APIs with "ORDER BY rank" queries.
FossilOrigin-Name: 37a417d27e4ebafd4783f62728d7467316b75b17
|
2014-07-31 11:57:59 +00:00 |
|
dan
|
fdb4a30af2
|
Add hidden column "rank". Currently this always returns the same value as the bm25() function.
FossilOrigin-Name: 4cc048c3651e830a6aeded924c7f3a60b634e133
|
2014-07-30 19:41:58 +00:00 |
|