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 |
|
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
|
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 |
|