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