Home | History | Annotate | Download | only in fts3

Lines Matching refs:iCol

58   int iCol;                       /* Extract snippet from this column */
75 int iCol; /* Column snippet is extracted from */
418 pCsr = sqlite3Fts3FindPositions(pExpr, p->pCsr->iPrevId, p->iCol);
436 ** from column iCol that represent the "best" snippet. The best snippet
452 int iCol, /* Index of column to create snippet from */
489 sIter.iCol = iCol;
505 pFragment->iCol = iCol;
668 int iCol = pFragment->iCol+1; /* Query column to extract text from */
674 zDoc = (const char *)sqlite3_column_text(pCsr->pStmt, iCol);
676 if( sqlite3_column_type(pCsr->pStmt, iCol)!=SQLITE_NULL ){
681 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol);
779 sqlite3_int64 iCol = 0;
782 pCsr += sqlite3Fts3GetVarint(pCsr, &iCol);
787 aOut[iCol*3+1]++;
789 aOut[iCol*3] += nHit;
807 ** for(iCol=0; iCol<nCol; iCol++){
808 ** aMatchinfo[3*iPhrase*nCol + 3*iCol + 1] = X;
809 ** aMatchinfo[3*iPhrase*nCol + 3*iCol + 2] = Y;
812 ** where X is the number of matches for phrase iPhrase is column iCol of all
813 ** rows of the table. Y is the number of rows for which column iCol contains
850 int iCol; /* Column index */
851 for(iCol=0; iCol<p->nCol; iCol++){
852 aOut[iCol*3 + 1] = (u32)p->nDoc;
853 aOut[iCol*3 + 2] = (u32)p->nDoc;
981 int iCol; /* Current column number */
986 ** If LcsIterator.iCol is set to the following value, the iterator has
1013 pIter->iCol = LCS_ITERATOR_FINISHED;
1018 pIter->iCol = (int)iRead;
1044 int iCol;
1063 pIter->iCol = LCS_ITERATOR_FINISHED;
1067 for(iCol=0; iCol<pInfo->nCol; iCol++){
1072 ** iterators that point to a position-list corresponding to column iCol.
1075 assert( aIter[i].iCol>=iCol );
1076 if( aIter[i].iCol==iCol ) nLive++;
1080 ** iterating through positions in column iCol. Exactly one of the
1089 if( iCol!=pIter->iCol ){
1107 pInfo->aMatchinfo[iCol] = nLcs;
1168 int iCol;
1169 for(iCol=0; iCol<pInfo->nCol; iCol++){
1174 pInfo->aMatchinfo[iCol] = iVal;
1184 int iCol;
1186 for(iCol=0; iCol<pInfo->nCol; iCol++){
1189 pInfo->aMatchinfo[iCol] = (u32)nToken;
1308 int iCol, /* Extract snippet from this column */
1353 ** If the iCol argument to this function was negative, this means all
1354 ** columns of the FTS3 table. Otherwise, only column iCol is considered.
1359 if( iCol>=0 && iRead!=iCol ) continue;
1411 int iCol; /* Column of table to populate aTerm for */
1428 pList = sqlite3Fts3FindPositions(pExpr, p->iDocid, p->iCol);
1458 int iCol; /* Column currently being processed */
1485 for(iCol=0; iCol<pTab->nColumn; iCol++){
1493 /* Initialize the contents of sCtx.aTerm[] for column iCol. There is
1497 sCtx.iCol = iCol;
1501 /* Retreive the text stored in column iCol. If an SQL NULL is stored
1502 ** in column iCol, jump immediately to the next iteration of the loop.
1507 zDoc = (const char *)sqlite3_column_text(pCsr->pStmt, iCol+1);
1508 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1);
1510 if( sqlite3_column_type(pCsr->pStmt, iCol+1)==SQLITE_NULL ){
1517 /* Initialize a tokenizer iterator to iterate through column iCol. */
1552 "%d %d %d %d ", iCol, pTerm-sCtx.aTerm, iStart, iEnd-iStart