Home
last modified time | relevance | path

Searched refs:doclist (Results 1 – 23 of 23) sorted by relevance

/sqlite-3.40.0/test/
H A Dfts3_common.tcl177 foreach doclist $A($zTerm) {
179 while {[string length $doclist]>0} {
188 incr docid [gobble_varint doclist]
199 set iCol [gobble_varint doclist]
286 foreach doclist $a($term) {
289 while {[string length $doclist]>0} {
294 incr docid [gobble_varint doclist]
296 while {[set iDelta [gobble_varint doclist]] > 0} {
301 set iCol [gobble_varint doclist]
365 set doclist [gobble_string blob $nDoclist]
[all …]
H A Dfts3defer3.test53 # be deferred because of the very large associated doclist.
59 # Zero out the doclist for token "b" within the database file. Now the
61 # it. Any query that tries to use the doclist belonging to token "b"
71 # fails, as it tries to load the corrupt doclist.
H A Dfts3c.test37 # Utility function to check for the expected doclist for the term in
39 proc check_doclist {test level index term doclist} {
41 do_test $test [list fts3_doclist t1 $term $where] $doclist
43 proc check_doclist_all {test term doclist} {
44 do_test $test [list fts3_doclist t1 $term 1] $doclist
H A Dfts3d.test36 # Utility function to check for the expected doclist for the term in
38 proc check_doclist {test level index term doclist} {
40 do_test $test.doclist [list fts3_doclist t1 $term $where] $doclist
42 proc check_doclist_all {test term doclist} {
43 do_test $test.doclist [list fts3_doclist t1 $term 1] $doclist
H A Dfts2p.test127 # Utility function to check for the expected doclist for the term in
129 proc check_doclist {test level index term doclist} {
138 } [list $doclist]
140 proc check_doclist_all {test term doclist} {
146 } [list $doclist]
H A Dfts2q.test64 # Utility function to check for the expected doclist for the term in
66 proc check_doclist {test level index term doclist} {
75 } [list $doclist]
77 proc check_doclist_all {test term doclist} {
83 } [list $doclist]
H A Dfts2g.test7 # of this script is testing handling of edge cases for various doclist
79 # doclist before it reaches the end of the other.
H A Dfts3ag.test7 # of this script is testing handling of edge cases for various doclist
79 # doclist before it reaches the end of the other.
H A Dfts3corrupt.test22 # Test that a doclist with a length field that indicates that the doclist
H A Dfts4incr.test46 execsql "INSERT INTO t1(t1) VALUES('test-no-incr-doclist=$s')"
H A Dfts3cov.test112 # terms in the pending-hash table. Specifically, while creating doclist
114 # appending column numbers to doclists. For example, if a doclist consists
121 # accumulate the doclist in memory are handled correctly.
H A Dfts3defer.test29 # one row with 15000 instances of the token "a". This makes the doclist for
33 # involving token "a". Then, fts3defer-1.3.* replaces the doclist for token
35 # the tests still work, we can conclude that the doclist for "a" was not
/sqlite-3.40.0/ext/fts3/
H A Dfts3.c4217 p->doclist.aAll = 0; in fts3EvalPhraseMergeToken()
4218 p->doclist.nAll = 0; in fts3EvalPhraseMergeToken()
4222 p->doclist.aAll = pList; in fts3EvalPhraseMergeToken()
4311 char *aFree = (pPhrase->doclist.bFreeList ? pPhrase->doclist.pList : 0); in fts3EvalDeferredPhrase()
4389 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList); in fts3EvalDeferredPhrase()
5105 pTC->pPhrase->doclist.aAll, pTC->pPhrase->doclist.nAll in fts3EvalSelectDeferred()
5234 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew); in fts3EvalNearTrim()
6019 (pIter >= (pPh->doclist.aAll + pPh->doclist.nAll)); in sqlite3Fts3EvalPhrasePoslist()
6022 bDescDoclist, pPh->doclist.aAll, pPh->doclist.nAll, in sqlite3Fts3EvalPhrasePoslist()
6027 bEof = !pPh->doclist.nAll || (pIter && pIter<=pPh->doclist.aAll); in sqlite3Fts3EvalPhrasePoslist()
[all …]
H A Dfts3Int.h419 Fts3Doclist doclist; member
H A Dfts3_snippet.c871 char *pIter = pPhrase->doclist.pList; in fts3ExprLHits()
/sqlite-3.40.0/ext/fts1/
H A Dfulltext.c795 rc = sqlite3_bind_blob(s, 3, doclist->pData, doclist->nData, SQLITE_STATIC); in term_insert()
803 DocList *doclist){ in term_update() argument
808 rc = sqlite3_bind_blob(s, 1, doclist->pData, doclist->nData, in term_update()
1347 DocList doclist; in index_insert_term() local
1354 docListDestroy(&doclist); in index_insert_term()
1368 if( doclist.nData>CHUNK_MAX ){ in index_insert_term()
1370 if( docListSplit(&doclist, &half) ){ in index_insert_term()
1380 docListDestroy(&doclist); in index_insert_term()
1419 DocList doclist; in index_delete_term() local
1428 if( doclist.nData>0 ){ in index_delete_term()
[all …]
H A Dfts1.c1397 DocList doclist; in term_select_all() local
1428 docListDestroy(&doclist); in term_select_all()
1429 doclist = old; in term_select_all()
1432 docListDestroy(&doclist); in term_select_all()
1437 *out = doclist; in term_select_all()
1468 rc = sqlite3_bind_blob(s, 4, doclist->pData, doclist->nData, SQLITE_STATIC); in term_insert()
1481 rc = sqlite3_bind_blob(s, 1, doclist->pData, doclist->nData, SQLITE_STATIC); in term_update()
3019 DocList doclist; in index_insert_term() local
3032 docListUpdate(&doclist, d); in index_insert_term()
3072 doclist = old; in index_insert_term()
[all …]
/sqlite-3.40.0/ext/fts2/
H A Dfts2.c5713 DataBuffer doclist; in termSelect() local
5721 dataBufferInit(&doclist, 0); in termSelect()
5735 if( doclist.nData!=0 ){ in termSelect()
5742 docListTrim(DL_DEFAULT, doclist.pData, doclist.nData, in termSelect()
6144 merged = doclist; in optimizeInternal()
6145 doclist = tmp; in optimizeInternal()
6152 dlrInit(&dlReaders[0], DL_DEFAULT, doclist.pData, doclist.nData); in optimizeInternal()
6160 docListTrim(DL_DEFAULT, doclist.pData, doclist.nData, in optimizeInternal()
6582 DataBuffer doclist; in dumpDoclistFunc() local
6645 if( doclist.nData>0 ){ in dumpDoclistFunc()
[all …]
/sqlite-3.40.0/ext/fts5/
H A Dfts5_index.c5237 Fts5Buffer doclist; in fts5SetupPrefixIter() local
5240 memset(&doclist, 0, sizeof(doclist)); in fts5SetupPrefixIter()
5280 if( p1->base.iRowid<=iLastRowid && doclist.n>0 ){ in fts5SetupPrefixIter()
5281 for(i=0; p->rc==SQLITE_OK && doclist.n; i++){ in fts5SetupPrefixIter()
5287 fts5BufferSwap(&doclist, &aBuf[iStore]); in fts5SetupPrefixIter()
5288 fts5BufferZero(&doclist); in fts5SetupPrefixIter()
5293 xMerge(p, &doclist, nMerge, &aBuf[i1]); in fts5SetupPrefixIter()
5310 xMerge(p, &doclist, nMerge, &aBuf[i]); in fts5SetupPrefixIter()
5321 pData->nn = pData->szLeaf = doclist.n; in fts5SetupPrefixIter()
5322 if( doclist.n ) memcpy(pData->p, doclist.p, doclist.n); in fts5SetupPrefixIter()
[all …]
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5doclist.test12 # This test is focused on edge cases in the doclist format.
H A Dfts5fault5.test38 # OOM while writing a multi-tier doclist-index. And while running
H A Dfts5dlidx.test12 # This test is focused on uses of doclist-index records.
H A Dfts5corrupt2.test129 # doclist-indexes.