dan
|
6d3cb2fbae
|
Fix for [9861b74ab9]. Correctly handle strings with zero tokens in the fts3 offsets() function.
FossilOrigin-Name: d37034f7fc46b83be681247fde97823736c994cc
|
2010-03-24 15:57:33 +00:00 |
|
drh
|
7bca0a3660
|
More commenting and documentation enhancements in FTS3.
FossilOrigin-Name: 892e286709c4a72aae364b85dd43bea525bb1b4d
|
2010-03-23 18:24:06 +00:00 |
|
drh
|
d6291c9155
|
Fix up obsolete comments in FTS3 to conform to the latest nomenclature.
Add new comments to better explain FTS3 operation.
FossilOrigin-Name: 3e4a0082170155b5b779afd075a3ee650530ca68
|
2010-03-23 15:46:41 +00:00 |
|
dan
|
3b6f4c06ac
|
Rewrite a couple of queries used internally by FTS3 to take advantage of the "SELECT max(x) FROM ..." optimization.
FossilOrigin-Name: b7e42ae77443b33e0ab83265064830594094dc7c
|
2010-03-19 06:59:19 +00:00 |
|
drh
|
71663ad0c1
|
Mark internal routines as "static" in FTS3.
Ticket [b1552d0fa7].
FossilOrigin-Name: 39b34ac4a7bd06144b3630c0ad71bad0615418b6
|
2010-03-18 16:34:44 +00:00 |
|
drh
|
3a3dd3ac8d
|
Improved error message when the right-hand operand of MATCH in FTS3 is
not a valid search expression. Ticket [170872f1c3].
FossilOrigin-Name: bea9258643edfeb98ebf59d93fa18a14e4221fea
|
2010-03-15 20:53:01 +00:00 |
|
drh
|
9396a41e6e
|
Fix FTS3 so that it does not run illegal SQL and cause a spurious log
message. Ticket [42d45a693e6].
FossilOrigin-Name: f186b6a61909be1d65b76a6fbaa42f57bbd0d1e5
|
2010-03-15 19:27:55 +00:00 |
|
drh
|
40d238e09f
|
Disable FTS4 (which is incomplete and not ready for publication) to prevent
accidental use.
FossilOrigin-Name: 87a6a9970b8cea25fc5f8ff03d87762dd1166899
|
2010-03-09 12:35:21 +00:00 |
|
dan
|
89374d2309
|
Fix a one byte buffer overread in fts3.
FossilOrigin-Name: 6e3e014af91601ed1f3a9cbe23f7c4260a4d177f
|
2010-03-05 17:27:01 +00:00 |
|
shaneh
|
84f4b2f237
|
Minor changes to silence some compiler warnings with MSVC.
FossilOrigin-Name: 4927c62d6214d93e582bf1266215ed3519630c15
|
2010-02-26 01:46:54 +00:00 |
|
dan
|
56f2996b48
|
Fix a segfault in fts3 that may occur if the snippet, offsets or matchinfo functions are used in a query that does not contain a MATCH clause.
FossilOrigin-Name: 14ab536a96f81595ab8c3dcd4b72075f1a827c8b
|
2010-02-10 05:33:17 +00:00 |
|
drh
|
b4a1fed2ea
|
Add a new full-text search variant that tracks the total number of documents
and document sizes, to make ranking search results easier. Currently
called FTS4.
FossilOrigin-Name: 1b6e6094c88214e02c9e3638932997ac20bfe413
|
2010-02-03 19:55:13 +00:00 |
|
dan
|
d3789b98a7
|
Fix two similar problems in fts3 that meant that an OOM error could cause a memory leak.
FossilOrigin-Name: 701ef64b3dbf45e52043e79e528002bd4b7a21e2
|
2010-01-22 15:48:18 +00:00 |
|
dan
|
3996a06236
|
Add coverage tests for fts3_snippet.c. Also fixes related to the same.
FossilOrigin-Name: 5e9d8ccae9731f380527463ef87ddcd216b4b721
|
2010-01-15 17:25:52 +00:00 |
|
dan
|
f596da5cc6
|
Update comments in fts3_snippet.c.
FossilOrigin-Name: dd9689b7c31861484f8d8062478ae73d3c940902
|
2010-01-12 17:57:30 +00:00 |
|
dan
|
9a34020f05
|
Modify snippets code to run more efficiently. And to avoid a bug relating to snippets based on full-text queries that contain duplicate terms.
FossilOrigin-Name: a2b1183d9e9898d06d623b342bbb552e85a9b3f6
|
2010-01-11 12:00:47 +00:00 |
|
dan
|
1a54b8ecfa
|
Fix handling of an OOM error in the fts3 offsets() function. Fix a couple of snippet related test cases in e_fts3.test.
FossilOrigin-Name: 14dc46a74aafe44c0bf7dffd26268395b2c5edb2
|
2010-01-09 07:33:54 +00:00 |
|
drh
|
819443e506
|
Update comments in fts3.c to more accurately describe the doclist format.
FossilOrigin-Name: e424a0307359fee6875424c10ecad1a10acfba0e
|
2010-01-08 23:01:32 +00:00 |
|
dan
|
3174598a64
|
Fixes to problems in FTS3 snippet() function found by th3 tests.
FossilOrigin-Name: 3b5ccd2682176929f4da8a3f39a7e8f58b179f18
|
2010-01-07 10:54:28 +00:00 |
|
dan
|
c06013dca7
|
Fix a segfault that can occur following an OOM in the FTS3 snippet() function
FossilOrigin-Name: c7e5966e3b031672f149d0b6e1f75f9bc40868fa
|
2010-01-06 18:36:27 +00:00 |
|
dan
|
b023b04fcb
|
Change the fts3 snippet function to return (hopefully) more relevant snippets in less time.
FossilOrigin-Name: 8a208223a74d451f60d9cd707d63fb7d157d1737
|
2010-01-06 17:19:21 +00:00 |
|
shaneh
|
bb6b9878d7
|
Removed compiler warnings in MSVC.
FossilOrigin-Name: 4ecb4725b76042ac414caf90039d5d0a5f8f7068
|
2010-01-05 14:18:54 +00:00 |
|
dan
|
a98af17af6
|
Add experimental implementation of FTS3 functions matchinfo() and snippet() (not enabled by default).
FossilOrigin-Name: 51f7ee844057086789dcfcdcba7daf45343cae62
|
2010-01-02 19:02:02 +00:00 |
|
shaneh
|
46aae3c0da
|
Changes to remove warnings in MSVC build.
FossilOrigin-Name: 6cf76c2ae25d6e58926637ecd42eed6b300b1a25
|
2009-12-31 19:06:23 +00:00 |
|
dan
|
8718183ea5
|
Fix a bug triggered by optimizing an FTS3 table when there are no segments on disk but pending terms in the hash table.
FossilOrigin-Name: a3b50e4f80ca2dacc1f72435b8c72d55ffdb64e7
|
2009-12-29 10:32:36 +00:00 |
|
dan
|
3540c1f7b8
|
Add the experimental FTS3 matchinfo() function. Provides details of the match that may be used for result ranking and other purposes.
FossilOrigin-Name: 37a1de02d1d8a34604f1bee896eaf579d4ba149a
|
2009-12-22 18:56:19 +00:00 |
|
dan
|
e61fc3b6a8
|
Fix a problem in FTS3 phrase queries. Add tests to check that it really is fixed.
FossilOrigin-Name: 956de051f43dfc2f178a7820981da4bf69927190
|
2009-12-20 15:00:19 +00:00 |
|
dan
|
c007646318
|
Handle an unhandled OOM error code that occurs in fts3 with SQLITE_TEST defined.
FossilOrigin-Name: 82b069998e10b1a9a1d5e6bd85877d7b654c78bd
|
2009-12-14 15:17:27 +00:00 |
|
dan
|
971742058f
|
Fix a broken assert() in fts3_write.c. Also fix a couple of compiler warnings in fts3 code.
FossilOrigin-Name: a730a05b39c45138765df98d34b9db1ab4e72152
|
2009-12-14 14:49:57 +00:00 |
|
dan
|
ca6be31b69
|
Tests to cover a few extra branches in fts3.c.
FossilOrigin-Name: 06b72b007393dc34d75a8bb16ce0e4507d5f8faa
|
2009-12-12 19:15:27 +00:00 |
|
dan
|
55be7449f9
|
Further fts3 coverage tests.
FossilOrigin-Name: d2a8c0f683271f5fb8c9badfb13e4e46fd78db71
|
2009-12-12 16:04:32 +00:00 |
|
dan
|
45bcd6c274
|
Extra tests for coverage of fts3 code.
FossilOrigin-Name: eee921a99e69a9cd868a89de620bf47c4e26e4b5
|
2009-12-12 13:16:09 +00:00 |
|
dan
|
f5fff2a7b2
|
Add coverage test cases for fts3.
FossilOrigin-Name: 8fcb0478c82507403165719724b62a308cb83b57
|
2009-12-12 09:51:25 +00:00 |
|
dan
|
601cd9aa24
|
Change the fts3 test interface used to configure the advisory node size paraemeter.
FossilOrigin-Name: 87fc0ce151c89beb5a43b65c0b1706f340c0c173
|
2009-12-11 16:03:45 +00:00 |
|
dan
|
4f887abc4c
|
Rationalize some code in fts3 used by optimize operations, queries of the pending-terms hash table and segment merges. Add the "INSERT INTO tbl(tbl) VALUES('optimize')" syntax.
FossilOrigin-Name: 29476da353df4c67fe744c1c5f466ba5b9c1a54b
|
2009-12-11 12:29:04 +00:00 |
|
shaneh
|
ef4114dd24
|
Avoid declaring and freeing test variables if SQLITE_TEST not defined.
FossilOrigin-Name: c2d22960f652264c48ec41b9ca4047aa142d86f7
|
2009-12-10 21:11:28 +00:00 |
|
dan
|
dcf3cc1f91
|
Remove some unused macros and types from fts3.c.
FossilOrigin-Name: 83a80efe8a6c3d53a7f80b4c5f4e0f40aa0aa52f
|
2009-12-10 18:38:54 +00:00 |
|
dan
|
0502e56415
|
Fix handling of "WHERE col MATCH ? AND docid = ?" clauses in fts3.
FossilOrigin-Name: 6cbbae849990d99b7ffe252b642d6be49d0c7235
|
2009-12-10 18:29:04 +00:00 |
|
dan
|
2c11d597c7
|
Fix an OOM related problem in the snippet() and offsets() functions of fts3.
FossilOrigin-Name: 61efff414254f209f1c69728ae2da3b3888b7290
|
2009-12-10 18:20:31 +00:00 |
|
dan
|
b893721a45
|
Changes to fts3 to avoid flushing data to disk within a SELECT statement.
FossilOrigin-Name: 48c0db0eb2d134bb302bb5eca6beb0ec46736257
|
2009-12-10 16:04:25 +00:00 |
|
dan
|
18ff7fa6b4
|
Improve test coverage of fts3.c.
FossilOrigin-Name: 56b6432f8622d53ffd3a4d9a2244114f8531ed71
|
2009-12-09 14:39:41 +00:00 |
|
dan
|
6d67e33776
|
Mark fts3ReallocOrFree and fts3InitVtab as static. Ticket [ff44d82f3b].
FossilOrigin-Name: a9038306c33c88120d8bef27209d8f0641c85c9b
|
2009-12-09 05:30:36 +00:00 |
|
dan
|
84db21ec6a
|
Add tests to improve coverage of fts3. Associated bugfixes.
FossilOrigin-Name: f0eac4175aee6c50ee68acc253f76fbe44574250
|
2009-12-08 19:05:53 +00:00 |
|
dan
|
7bf44fc018
|
Remove a redundant line from fts3.
FossilOrigin-Name: cd50acf37fd1e3b388f98fb2df7ed03cff454b24
|
2009-12-07 16:26:52 +00:00 |
|
shaneh
|
0d935576a4
|
Move some SQLITE_TEST code down to avoid mixing code and variable declarations.
Fix a test for high-order bit handling in sqlite3Fts3InitTokenizer().
FossilOrigin-Name: fad43d290f9489726aaa2e999a17ea17ed78b27b
|
2009-12-07 16:18:37 +00:00 |
|
dan
|
ff32e39c8e
|
Add some tests for OR, AND and NOT operations to fts3rnd.test. Add tests to check that errors are returned when bad arguments are passed to fts3 functions snippet, offsets and optimize. Minor fix for the same
FossilOrigin-Name: 5811df3f0412598d189d46b58de4deff24573651
|
2009-12-07 12:34:51 +00:00 |
|
dan
|
28f372f6d9
|
Fix another bug in 3-way NEAR queries.
FossilOrigin-Name: 3bb13a06521b54194c9f3eb44e0dc42bacf016a4
|
2009-12-05 14:29:22 +00:00 |
|
dan
|
6e053f9c23
|
Fix some problems with FTS3 and 3-way NEAR queries.
FossilOrigin-Name: 23dc6fb5b28712d1ba18dc7ddb3f2ef3b469d611
|
2009-12-05 11:37:19 +00:00 |
|
dan
|
165b67cb36
|
Fix a problem involving a 3-way NEAR query.
FossilOrigin-Name: 507890a9139875b1b594225c432c714f67312c0e
|
2009-12-04 19:07:24 +00:00 |
|
dan
|
acf28fbdd8
|
Modify [2ad1461f25] to avoid leaving a prepared statement in "active" state following an OOM error in FTS3.
FossilOrigin-Name: 69c21ee46aeeb624fd8638b17ff7259a3e5f9a46
|
2009-12-04 14:11:33 +00:00 |
|