dan
|
8d4edd0d67
Add fts5 auxiliary function fts5_get_locale(). For querying the locale of a stored value.
|
vor 4 Monaten |
dan
|
10e54e365a
Fix further issues to do with fts5 locale support.
|
vor 4 Monaten |
dan
|
1286677773
Update the auxiliary function API to include xTokenize_x2() instead of xSetLocale().
|
vor 4 Monaten |
dan
|
5bd8cc7dd5
Fix various problems with the code on this branch.
|
vor 4 Monaten |
dan
|
8174305e17
Update the highlight() and snippet() functions to use locales when available.
|
vor 4 Monaten |
dan
|
d82320ac9a
Ensure that the xColumnText(), xQueryPhrase() and xPhraseFirstColumn() APIs all return SQLITE_RANGE if they are passed a bad column or phrase number.
|
vor 1 Jahr |
dan
|
ab8a4b2bb0
Fix a case where adjacent tokens are handled incorrectly by the fts5 snippet() function.
|
vor 1 Jahr |
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].
|
vor 1 Jahr |
dan
|
5f708cc832
Fix a problem with the fts5 snippet() function that shows up when snippets just 1 token in length are requested.
|
vor 1 Jahr |
dan
|
cad760d16e
Fix a compiler warning in fts5_aux.c.
|
vor 4 Jahren |
dan
|
6d19bf9460
Add missing cast to fts5 bm25() code.
|
vor 4 Jahren |
dan
|
3181706895
Remove a redundant "if( rc==SQLITE_OK )" from the fts5 bm25() code.
|
vor 4 Jahren |
dan
|
66efc393c5
Move an "if( rc==SQLITE_OK )" to outside a loop body in the fts5 bm25() code.
|
vor 4 Jahren |
mistachkin
|
065f3bf4f2
Fix various harmless compiler warnings seen with MSVC.
|
vor 5 Jahren |
dan
|
e25646d64c
Avoid an integer overflow in the fts5 snippet() function triggered by a corrupt database record.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
dan
|
27a037354c
Avoid a division-by-zero error in fts5 caused by a corrupt database.
|
vor 6 Jahren |
dan
|
1a39d2bb5c
Handle SQL NULL values without crashing in the fts5 snippet() and highlight()
|
vor 6 Jahren |
drh
|
2d77d80a65
Use 64-bit math to compute the sizes of memory allocations in extensions.
|
vor 6 Jahren |
dan
|
c8f44d245c
Fix crashes that could occur if SQL NULL values were passed to the built-in
|
vor 7 Jahren |
dan
|
642f0146d7
Fix some compiler warnings in fts5.
|
vor 8 Jahren |
dan
|
37ff4d4c77
Fix a bug in the fts5 snippet function causing it to return text containing zero phrase instances.
|
vor 8 Jahren |
dan
|
783e778f38
Fix other minor problems with the fts5 snippet() function.
|
vor 8 Jahren |
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.
|
vor 8 Jahren |
dan
|
e7036202bc
Bias the fts5 snippet() function to return snippets that look like they start at the start of sentences.
|
vor 8 Jahren |
dan
|
8c2b1fde58
Fix a problem in the fts5 snippet() auxiliary function.
|
vor 8 Jahren |
dan
|
22e8356368
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
|
vor 8 Jahren |
dan
|
e9eb1593f5
Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode.
|
vor 9 Jahren |
dan
|
3e6a141130
Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code.
|
vor 9 Jahren |
mistachkin
|
cdabd7bd50
Fix harmless compiler warnings.
|
vor 9 Jahren |