dan
|
20d5f354e9
|
Optimize handling of equality and range constraints on the "term" column of an fts4aux table.
FossilOrigin-Name: 386701ded2bcee5309ec9f285d94e6eb1eade193
|
2011-02-02 17:30:43 +00:00 |
|
dan
|
ee85a51092
|
Add missing file fts3_aux.c.
FossilOrigin-Name: 0147d9739f318a02721d3ae0e7be339a19231f60
|
2011-02-02 04:26:46 +00:00 |
|
dan
|
0bfda98155
|
Fix a case in fts4 where a corrupt %_stat table could lead to a crash.
FossilOrigin-Name: 4ade96ce974244fc34bb97713d3cba10e3d33056
|
2011-02-01 17:55:48 +00:00 |
|
dan
|
a240fd01b6
|
Add virtual table module "fts4aux", used to inspect the full-text index of an fts4 table directly. Also add the "compress" and "uncompress" fts4 options.
FossilOrigin-Name: b010ddcc52889160af2183a33c5f483bb0ae91b9
|
2011-02-01 16:34:32 +00:00 |
|
dan
|
a8ab60c648
|
Fix a couple of crashes in fts3 that can occur if the database contents are inconsistent.
FossilOrigin-Name: 811e12cddfb3246c6cf3d5085bd9b72b12e05550
|
2011-01-13 11:20:04 +00:00 |
|
dan
|
86596e552e
|
Fix a segfault that can occur in matchinfo if an fts4 table contains mostly zero-length documents. Specifically, if the table contains more rows than it does bytes of text.
FossilOrigin-Name: fe9047668eaaf76e7aa1ef1f32dec7c7c4226e45
|
2011-01-13 10:58:26 +00:00 |
|
dan
|
b9a93d70b8
|
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix.
FossilOrigin-Name: 7088d9450f403f12f67eed558e368573101245d6
|
2010-12-24 15:49:27 +00:00 |
|
dan
|
d3842765ae
|
Fix a performance regression in matchinfo().
FossilOrigin-Name: fa37d8eb7cd8049689068af2a80fe2cbb4a603f1
|
2010-12-10 17:06:48 +00:00 |
|
dan
|
014153f092
|
Fix a memory leak in fts3 that can occur in an OOM condition.
FossilOrigin-Name: 507027b70f71689f77dee3e849ebc66a1c4c3166
|
2010-12-04 18:20:18 +00:00 |
|
dan
|
4d8d27813c
|
Fix a bug causing fts3 to incorrectly return SQLITE_CORRUPT.
FossilOrigin-Name: 099195b14829f375055345b8322905ccd073d442
|
2010-12-02 17:39:26 +00:00 |
|
dan
|
c79b6a8c51
|
Fix a (harmless) valgrind warning in the rtree extension.
FossilOrigin-Name: a94b9a395e0be9549d8c28e2b86b995c73c7b671
|
2010-12-02 11:24:58 +00:00 |
|
shaneh
|
556f6bbc92
|
Fix some warnings under MSVC in fts3 module.
FossilOrigin-Name: c7771c0b22f2b45a47070cf84b9ecf1011e40404
|
2010-12-01 15:36:00 +00:00 |
|
dan
|
0cb3a1eca4
|
Fix compiler warnings discovered while building SQLite on [http://www.devio.us/].
FossilOrigin-Name: 5602ec95aa2a74d0624bb6c7d53e7a0d35536253
|
2010-11-29 17:55:18 +00:00 |
|
drh
|
6ea28d6d84
|
Fix various compiler warnings.
FossilOrigin-Name: c412f61229b6ab1ac90b932afd56f7c5e3ba1cfe
|
2010-11-26 16:49:59 +00:00 |
|
dan
|
102b7de0e9
|
Fix an uninitialized variable in fts3.c.
FossilOrigin-Name: 3c3d076b42da36cd5413749ec022d0349325edfa
|
2010-11-26 16:31:43 +00:00 |
|
dan
|
72de061fb1
|
Add a couple of comments to fts3_snippet.c.
FossilOrigin-Name: ad8df6c5ee0055cf1161a3b700d69dbe07d969bc
|
2010-11-26 15:13:31 +00:00 |
|
dan
|
c2f16cb12b
|
Add coverage tests (and associated fixes) for new matchinfo() code.
FossilOrigin-Name: 70495ceccc793d608930f59e330777f287ba1ede
|
2010-11-25 17:49:28 +00:00 |
|
dan
|
cf56554f42
|
Fix bugs in fts3 function matchinfo() when used with deferred tokens.
FossilOrigin-Name: ddc2b7ec2618b010c981ecfa05b3e53a9fac686f
|
2010-11-25 10:33:54 +00:00 |
|
dan
|
f9376540fa
|
Add code for the matchinfo 'longest common substring' feature.
FossilOrigin-Name: 71011a4f9baf09ec6935ad591145252bf3c286ed
|
2010-11-24 19:26:18 +00:00 |
|
dan
|
d6e12384bd
|
Fix crashes that can occur when queries are run on an FTS4 table containing zero rows.
FossilOrigin-Name: ed61fd20adef44d0f6b2345e0205b25f3641a15e
|
2010-11-24 15:02:22 +00:00 |
|
dan
|
ad3acbbfb3
|
Remove some unused code from fts3. Add tests to fts3matchinfo.test.
FossilOrigin-Name: ae40b34cf7c24c9601bdfb5cbe5b20f05a376ea8
|
2010-11-24 11:51:56 +00:00 |
|
dan
|
1e66e40eb9
|
Experimental changes to fts3 function matchinfo().
FossilOrigin-Name: 9cf0f2b76bc68c168e3fa861b7235f384db21d38
|
2010-11-23 19:16:47 +00:00 |
|
drh
|
3b691b5466
|
Restrict the scope of the fts3ExprCost() subroutine inside of FTS3.
FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9
|
2010-11-18 13:52:34 +00:00 |
|
drh
|
437261d077
|
Fix compiler warnings.
FossilOrigin-Name: 6c4f1d5c24522d1f541a2b96b229ad0374f99c19
|
2010-11-18 13:47:50 +00:00 |
|
dan
|
3985479b9d
|
Change some test cases to account for the new EXPLAIN QUERY PLAN output.
FossilOrigin-Name: 88a854e18fc6bd619fa8d8a911abff50a9b76b9e
|
2010-11-15 16:12:58 +00:00 |
|
dan
|
af4c214e1f
|
Changes to allow FTS4 tables to be created without the underlying %_docsize table (in order to save space).
FossilOrigin-Name: 31989b18f53d97eddfb39660ef04fbf9463583e0
|
2010-11-02 17:41:52 +00:00 |
|
dan
|
cfddb09e3b
|
Test cases and minor changes to make fts3 more robust in the face of a corrupt database.
FossilOrigin-Name: b770290561f5450e4d985ca0050ef5eb01657c80
|
2010-10-30 15:21:13 +00:00 |
|
dan
|
797f3ee87c
|
Add extra test cases and changes to fts3 to avoid crashing on a corrupt database.
FossilOrigin-Name: 252f0e457d3e33404df87d3e6c44ede61b78319c
|
2010-10-29 18:45:10 +00:00 |
|
dan
|
8aaa252d8c
|
Fix a buffer overread in fts3 that can occur if the database is corrupt.
FossilOrigin-Name: 84194c4195d7144ff7f9cedcdc74fdd908f3bfcd
|
2010-10-27 16:52:27 +00:00 |
|
dan
|
8c30711208
|
In fts4, store the total number of bytes of for all records in the table in the %_stat table.
FossilOrigin-Name: 941647d121ac60e2eabc998cfe79b157fb918d7e
|
2010-10-27 10:55:54 +00:00 |
|
dan
|
c7c91257d5
|
More coverage tests for fts3.c.
FossilOrigin-Name: 7a2f2864002d4e9a487e2779ae05513880ecb4d1
|
2010-10-26 07:14:25 +00:00 |
|
dan
|
e25ac099f1
|
Further improvements to coverage of fts3.c. Fixes for bugs revealed by the same.
FossilOrigin-Name: 918b609290127f54326c638d82837d117398eade
|
2010-10-25 19:01:25 +00:00 |
|
dan
|
ddf80eb8ce
|
Test coverage improvements for fts3.c.
FossilOrigin-Name: a8b1d99899678b72c2a487909eabed321593d55f
|
2010-10-25 12:47:43 +00:00 |
|
dan
|
378d0ab97b
|
Fixes for the matchinfo() function related to FTS4 common token handling.
FossilOrigin-Name: deb80eac9112d21835dfd3cee08ed8f09d975bf7
|
2010-10-23 19:07:30 +00:00 |
|
dan
|
789cb8f5cf
|
Add missing comments and fix compiler warnings in new FTS3/4 code. Other minor fixes too.
FossilOrigin-Name: 1c9c70fec3c88319f7b2efe5316694a6ce0ab1a5
|
2010-10-22 16:44:39 +00:00 |
|
dan
|
ca3b8f9c86
|
Merge trunk changes into experimental branch.
FossilOrigin-Name: fd1e5cade04961c2f5438a1dfcc2e15eafb4503f
|
2010-10-21 15:49:47 +00:00 |
|
dan
|
4e76cc3650
|
Updates to FTS4 to improve performance and make more accurate cost estimates for prefix terms.
FossilOrigin-Name: d0a450ce78e99f55c862f26f9332786660007a0a
|
2010-10-20 18:56:04 +00:00 |
|
dan
|
4f7c5e684a
|
Experimental changes to fts4 to try to selectively avoid loading very large doclists.
FossilOrigin-Name: 5ae0ba447a561e3b6637b52f9b83a9fc683d2572
|
2010-10-19 14:07:59 +00:00 |
|
dan
|
af7626f5fb
|
Add tests to e_delete.test.
FossilOrigin-Name: fab3b383bb2c4764a56811f22ff4c783441918e8
|
2010-09-23 18:47:36 +00:00 |
|
dan
|
b51d2fa88d
|
Further tests and changes to make the r-tree module more robust.
FossilOrigin-Name: 7ff3574b9c581b5e1f2b6f98028106c638e59bb7
|
2010-09-22 19:06:02 +00:00 |
|
dan
|
bd188afd4c
|
Add new file rtreeA.test, to test that the r-tree extension doesn't crash if it encounters a corrupt or inconsistent database.
FossilOrigin-Name: 68a305fd5ac917317fee2ef6670ac389a120e502
|
2010-09-22 14:19:53 +00:00 |
|
drh
|
9fe5b85d36
|
Remove additional occurrences of <ctype.h> from FTS2.
FossilOrigin-Name: ee52589c80a6d37dc8c7a86a0e3b531ec4dd8d45
|
2010-09-17 17:10:31 +00:00 |
|
dan
|
8786f7f589
|
Have all FTS3 queries obtain a read or write table-lock at the shared-cache level before doing anything else.
FossilOrigin-Name: 018e82c775d0fb8c0d90cddf7a87c20c8c8172a9
|
2010-09-17 15:28:41 +00:00 |
|
drh
|
f2fcd0750b
|
Completely remove all trace of ctype.h from FTS2.
FossilOrigin-Name: 876845661a944ec1c841d1e2486d070efb76e5cd
|
2010-09-17 01:07:53 +00:00 |
|
dan
|
d9e430e953
|
When building from the amalgamation with ENABLE_RTREE defined, do not try to include sqlite3rtree.h.
FossilOrigin-Name: 5b63e981f1bef26eae0da3144a08bdc54dc36709
|
2010-09-11 05:15:37 +00:00 |
|
dan
|
9977edc7c6
|
Changes to comments and type names in rtree.c.
FossilOrigin-Name: 7c4f80ad272138cd4ab30455fae6a36498362933
|
2010-08-31 15:54:21 +00:00 |
|
dan
|
18ec96b3a3
|
Add the "circle" test geometry callback to test_rtree.c. And tests for the same.
FossilOrigin-Name: 169b8ba4be9c3941c742eded80dbacdcd2465bc4
|
2010-08-31 15:02:00 +00:00 |
|
dan
|
c223b8f1a8
|
When generating sqlite3.h, append the contents of sqlite3rtree.h.
FossilOrigin-Name: fc4d75370bad9021d01b76dbb1b8dde9ff223d2c
|
2010-08-30 18:39:49 +00:00 |
|
dan
|
7bddb7550b
|
Add tests (and associated fixes) to restore coverage of rtree.c.
FossilOrigin-Name: b06f4695bdab244d9c764c082cd434a764dc5c29
|
2010-08-30 15:43:45 +00:00 |
|
dan
|
3b5a7a377c
|
Add file sqlite3rtree.h.
FossilOrigin-Name: e1d9ffce0f84469eeb926f50030cb772de98a652
|
2010-08-30 11:34:39 +00:00 |
|
dan
|
9508daa929
|
Add code to allow user-defined searches of r-tree tables. Still largely untested.
FossilOrigin-Name: 782ca3b716ee1ecb0dfb5ab6f21dfd73d41758e4
|
2010-08-28 18:58:00 +00:00 |
|
dan
|
897230eb7a
|
Fix a couple of memory leaks in r-tree that can occur following an OOM condition.
FossilOrigin-Name: 1975a27cdec09e1dad4ca8281a87dd7754c02c3e
|
2010-08-26 14:15:37 +00:00 |
|
dan
|
c23454023e
|
Remove unreachable condition from rtree.c.
FossilOrigin-Name: 90f40cd36860d3af13ec24575dff7cc1f57ac493
|
2010-08-26 11:27:22 +00:00 |
|
dan
|
2bf19178f7
|
Improve coverage of rtree.c some more.
FossilOrigin-Name: bee1959dde19ebec20a7ffcb732aee0c8bb2e67d
|
2010-08-26 07:59:10 +00:00 |
|
dan
|
f836afd44a
|
Further test coverage improvements for rtree.c.
FossilOrigin-Name: 05f6c1aebbe757dd3b54fd027057b9db7ae3a990
|
2010-08-25 19:04:38 +00:00 |
|
dan
|
92e01aafe1
|
Test cases to improve coverage of rtree module. Fixes associated with the same.
FossilOrigin-Name: 865cec04e4d814f63fb71feb67de7f06f8d54035
|
2010-08-25 17:53:17 +00:00 |
|
dan
|
a235d0ca63
|
Fixes to allow fts3 tables to be renamed mid-transaction.
FossilOrigin-Name: d1c875320a045c3938c765ceb543dfba1a0ecf0b
|
2010-08-24 16:59:47 +00:00 |
|
drh
|
ee2c813b72
|
The R-tree module should not assume that its shadow tables are consistent.
If a problem is found in a shadow table, return SQLITE_CORRUPT.
FossilOrigin-Name: 7f2f71cc9e3c39093f09231f448576cff6afb5fe
|
2010-08-24 01:49:47 +00:00 |
|
dan
|
036391f7f8
|
Update an r-tree extension test case to account for recent changes to the query planner. Also fix a comment in rtree.c.
FossilOrigin-Name: eaaca669a4afc83906806b22365b010c83bc3db8
|
2010-08-11 12:26:46 +00:00 |
|
drh
|
f053d5b6c7
|
Fix two comment typos that were reported on the mailing list.
FossilOrigin-Name: 88bf9016277c133dfbf4f4b2be0c35c9fe9fabd6
|
2010-08-09 14:26:32 +00:00 |
|
drh
|
c78db070a3
|
Remove all vestiges of ctype.h from FTS3.
FossilOrigin-Name: b8b465ed2c56b23b50334680a2a940885b1ac530
|
2010-08-06 19:00:12 +00:00 |
|
drh
|
60176fa925
|
Updates to the README.txt file for ICU.
FossilOrigin-Name: d37443d33388b402e610a00c362a1e2e79548801
|
2010-07-30 00:31:08 +00:00 |
|
dan
|
a69f7d5aa5
|
Re-introduce the prefix-search optimization of [feef1b15d6], which was lost in a reorganization of FTS3 code.
FossilOrigin-Name: d692434b4935e8e7858230af1c126b0be8203077
|
2010-07-19 11:16:36 +00:00 |
|
dan
|
d846c5e047
|
In the async-IO module, do not increment the open file-counter until after an "open file" event has been added to the event queue. Otherwise, an OOM may cause the system to increment the counter even though no file was successfully opened.
FossilOrigin-Name: 15a190dc5769beb53b89254543e744a964cd86ed
|
2010-07-12 12:22:29 +00:00 |
|
shaneh
|
b638a3d3eb
|
Fix some MSVC compiler warnings in the ASYNC extension.
FossilOrigin-Name: b951c8675df3e719c30a1dd94200b7c04252a3ea
|
2010-07-07 16:49:46 +00:00 |
|
dan
|
78f1e53840
|
Change the async-IO extension to return SQLITE_IOERR_SHORT_READ when appropriate. This prevents a valgrind warning in the test suite.
FossilOrigin-Name: d9e3287900ae4aa7722ad0132bb8d6cd2755d3a6
|
2010-07-07 11:05:21 +00:00 |
|
shaneh
|
8a300f8095
|
Fix a couple more compiler warnings under MSVC.
FossilOrigin-Name: 26bc27e3f4c8a666f3358f73fc21eccdec3508f6
|
2010-07-02 18:15:31 +00:00 |
|
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
|
3f0d9d3846
|
Have the xUpdate() method of the rtree module virtual table implementation set the *pRowid output variable when inserting a row. Fix for [dd3ba6063a].
FossilOrigin-Name: f31d22489d44701c89cb13c663dfa1a6cc04f900
|
2010-03-19 19:02:27 +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 |
|
drh
|
31caa42afd
|
Remove an unused variable from rtree.
FossilOrigin-Name: 8e60d3995a1ea940de9751dd3bbd7ef41b0bb00a
|
2010-02-24 18:25:58 +00:00 |
|
dan
|
5dcb3937b6
|
Fix for [e9a9fde1f4]. When opening an existing rtree, determine the node size by inspecting the root node of the r-tree structure (instead of assuming it is a function of the page-size).
FossilOrigin-Name: ebc9433fddf78ef7b4237686951d8d79c1c98f03
|
2010-02-16 10:59:40 +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 |
|
drh
|
6695f47e93
|
Change the REGEXP function in ICU to require exactly 2 arguments.
FossilOrigin-Name: c34cf23efb92d9bbb7cf4245d372e47182771f63
|
2009-12-17 02:13:39 +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 |
|
drh
|
406a15ad8b
|
Fix an FTS3 problem where an OOM error was not being propagated back
out to the top-level interface.
FossilOrigin-Name: 2ad1461f255c2499367b706a5ec65b44c1fc1618
|
2009-12-04 13:42:59 +00:00 |
|
dan
|
e2e5145441
|
Fix an incorrect assert() in fts3.c. Add further fts3 tests.
FossilOrigin-Name: 75863c2d55e0801add5b8dcf88d575c5c870af04
|
2009-12-03 17:36:22 +00:00 |
|
shaneh
|
e585b8f05c
|
Updates to FTS3 to correct compiler warnings under MSVC.
FossilOrigin-Name: 37495b55ffbdc2db4482367ac7d8e32d4d71d58e
|
2009-12-03 06:26:46 +00:00 |
|
drh
|
c12075b3b2
|
Change an error message in FTS3 to avoid using an uninitialized variable.
FossilOrigin-Name: 620a8a2b38f5f2ad3db304b2bc88360285c174db
|
2009-12-02 20:25:57 +00:00 |
|
dan
|
19125aaf68
|
Fix an uninitialized value read in sqlite3async.c.
FossilOrigin-Name: 1cf2136c39239a6fea6ac2a555f55865dd517d93
|
2009-12-02 18:16:56 +00:00 |
|
dan
|
bc7c039ce2
|
Clear the Pager.dbModified flag when unlocking the database. Assert that it is clear when locking the database.
FossilOrigin-Name: d17ec16b7c5051c904c09580a856593b2fb85edc
|
2009-12-02 14:44:32 +00:00 |
|
dan
|
6bd3b2aa64
|
Use #include "sqlite3.h" instead of <sqlite3.h> in fts3Int.h.
FossilOrigin-Name: 7737db490ceba02c29c36fe181b4e7895b40aa75
|
2009-12-01 17:08:09 +00:00 |
|
dan
|
8c4499764b
|
Add typedefs for i16 and u8 to fts3Int.h when not building via the amalgamation method.
FossilOrigin-Name: fa56c1c47296c2f9ba1de9450d421dd06fde5a6a
|
2009-12-01 17:05:50 +00:00 |
|
drh
|
65e8c82e1a
|
Changes to the TCL interface header to allow it to be compiled independently
from the amalgamation.
FossilOrigin-Name: 58113932d93926b4aa037a7487105a55f883cd0a
|
2009-12-01 13:57:48 +00:00 |
|
dan
|
3acb07d6c3
|
Open a savepoint within the FTS3 optimize() function.
FossilOrigin-Name: 4924fbb244bd1b7103e29e045812cb1c4d2d81c8
|
2009-12-01 13:48:13 +00:00 |
|
dan
|
612b1d5cd0
|
Fix a segfault that can occur when querying an empty FTS3 table. Also restore the rowid/docid conflict handling to work as it did in version 3.6.20.
FossilOrigin-Name: c022f66b5a65aa54d5ebd55cfe941118a2042280
|
2009-12-01 12:00:22 +00:00 |
|
drh
|
ff3f307cd0
|
Test coverage improvements in the FTS3 porter stemmer.
FossilOrigin-Name: 6d112bfd53998b8f6693d3f2edbcd5ab4cdf5fb1
|
2009-11-30 19:48:16 +00:00 |
|
drh
|
0a62730d3f
|
Updates to snippet() and offsets() functions of FTS3 so that they work
sanely following an OOM fault.
FossilOrigin-Name: b939a37a8ce296785a300e79ab9d3d87ad91343f
|
2009-11-28 21:33:21 +00:00 |
|
drh
|
9287d93c17
|
Change FTS3 to detect when the RHS of the MATCH opertor encounters an OOM
during string format conversion and report back an SQLITE_NOMEM error.
FossilOrigin-Name: 31eed4f8f95f0799d634eccbd9e09cb58172d250
|
2009-11-28 17:23:47 +00:00 |
|
drh
|
44c1e5a13c
|
Remove all benign OOM failure opportunities from the FTS3 hash table
implementation. All OOM faults cause SQLITE_NOMEM to be returned.
FossilOrigin-Name: 80754d383a0e890ea3f315dab941b9f166481ddd
|
2009-11-28 17:07:42 +00:00 |
|
dan
|
8e9f6aedae
|
Add a test case for creating an FTS3 table with no module arguments or opening/closing brackets in the CREATE VIRTUAL TABLE statement.
FossilOrigin-Name: a9cba7ea0a06efa7a63a3069b219cc30fb127e98
|
2009-11-28 15:35:16 +00:00 |
|
dan
|
81fa6dc319
|
Fix a bug introduced by the fts3 refactoring (segfault when creating a table with zero module args). Also a fix to handle an OOM error.
FossilOrigin-Name: eada284bc10cafcab9beb3473bb0c70b3b4de2f9
|
2009-11-28 12:40:32 +00:00 |
|
dan
|
f6d7b055fa
|
Remove a C++ism accidentally added to fts3.c.
FossilOrigin-Name: 97d332416069d2fbce323740b276d0e7523eeee5
|
2009-11-27 12:14:47 +00:00 |
|
dan
|
7eee299243
|
Add some missing comments to fts3 files. No source code changes.
FossilOrigin-Name: b6402b2065b844acb3f1bb94ad964568706bcb86
|
2009-11-21 03:03:21 +00:00 |
|
dan
|
e6828f5503
|
Merge leaf accidentally created by [1c4984c62f].
FossilOrigin-Name: cae949ce971ca216e0f8880b2f93866619fa05be
|
2009-11-20 10:23:12 +00:00 |
|
dan
|
d1414c58e5
|
Improve comments and other things in fts3_write.c.
FossilOrigin-Name: 1cf0e3cc14bad22867e740736c2886dc1c4a48dc
|
2009-11-20 05:05:19 +00:00 |
|
dan
|
d313865550
|
Minor optimizations to fts3 code.
FossilOrigin-Name: b456eacbbb16513d1b27e90015ea58a6dc92cc3b
|
2009-11-20 02:24:15 +00:00 |
|
dan
|
8f4a4f24dd
|
Fix a performance regression introduced while reworking the fts3 code.
FossilOrigin-Name: 7cd178a72ab99c94fdacffb19aad819ae600e57d
|
2009-11-19 18:28:45 +00:00 |
|
dan
|
16708c4a0d
|
Fix some fts3 related issues with the autoconf and amalgamation build systems.
FossilOrigin-Name: 3b17924754343c0163464dabf01a9c46ffccef28
|
2009-11-19 15:25:25 +00:00 |
|
dan
|
5dc842ddf7
|
Fix problems introduced into fts3 as part of the refactoring.
FossilOrigin-Name: fa0998e19d984ee57f4f506c34eb858026cc49c3
|
2009-11-19 00:15:27 +00:00 |
|
dan
|
bd61689382
|
Add some missing comments and fix some other issues in fts3 code.
FossilOrigin-Name: 2fe579e778b75fbf503c02e01e5424c1926f2b49
|
2009-11-18 15:35:58 +00:00 |
|
dan
|
f13b704ee6
|
Improvements to the way fts3 reads the full-text index.
FossilOrigin-Name: 45c051e78651d8204c17cecdda2bde705698881f
|
2009-11-17 12:52:10 +00:00 |
|
dan
|
948a5f88ea
|
Add a few extra coverage test cases for fts3.
FossilOrigin-Name: f29c8fcade4aadeae3824975cf59f306c11c906b
|
2009-11-16 16:36:23 +00:00 |
|
dan
|
91f0ce39e4
|
Further OOM testing for fts3 code. Add Tcl code implementing an integrity-check for fts3.
FossilOrigin-Name: c27d46b33e8596b45c562c2742b05030e8899092
|
2009-11-14 11:41:00 +00:00 |
|