Lines Matching refs:iColumn
909 int iColumn; /* the last column read */
920 iColumn;
948 n = getVarint32Safe(pReader->pData+nTotal, &pReader->iColumn,
994 pReader->iColumn = 0;
1030 int iColumn; /* the last column written */
1039 static void plwAdd(PLWriter *pWriter, int iColumn, int iPos,
1041 /* Worst-case space for POS_COLUMN, iColumn, iPosDelta,
1052 if( iColumn!=pWriter->iColumn ){
1054 n += putVarint(c+n, iColumn);
1055 pWriter->iColumn = iColumn;
1090 pWriter->iColumn = 0;
1155 static void dlcAddPos(DLCollector *pCollector, int iColumn, int iPos,
1157 plwAdd(&pCollector->plw, iColumn, iPos, iStartOffset, iEndOffset);
1177 ** unnecessary data as we go. Only columns matching iColumn are
1178 ** copied, all columns copied if iColumn is -1. Elements with no
1187 int iColumn, DocListType iOutType, DataBuffer *out){
1207 if( iColumn==-1 || plrColumn(&plReader)==iColumn ){
1873 short int iColumn; /* Column of the index that must match this term */
2070 int iColumn; /* Column being searched */
3133 if( pConstraint->iColumn==-1 &&
3137 } else if( pConstraint->iColumn>=0 &&
3140 pInfo->idxNum = QUERY_FULLTEXT + pConstraint->iColumn;
3141 TRACE(("FTS2 QUERY_FULLTEXT %d\n", pConstraint->iColumn));
3252 ** document zDoc[0..nDoc-1] which is stored in column iColumn.
3257 int iColumn,
3302 iCol = aTerm[i].iColumn;
3303 if( iCol>=0 && iCol<nColumn && iCol!=iColumn ) continue;
3313 snippetAppendMatch(pSnippet, iColumn, i-j,
3331 int iColumn, i;
3339 iColumn = (p->iCursorType - QUERY_FULLTEXT);
3340 if( iColumn<0 || iColumn>=nColumn ){
3344 iFirst = iColumn;
3345 iLast = iColumn;
3613 static int termSelect(fulltext_vtab *v, int iColumn,
3626 int iColumn
3640 rc = termSelect(v, iColumn, pQTerm->pTerm, pQTerm->nTerm, pQTerm->isPrefix,
3645 rc = termSelect(v, iColumn, pQTerm[i].pTerm, pQTerm[i].nTerm,
3685 t->iColumn = q->nextColumn;
3841 ** Queries must match column iColumn. Or if iColumn>=nColumn
3846 int iColumn, /* Match against this column by default */
3872 rc = parseQuery(v, zInput, nInput, iColumn, pQuery);
3892 rc = docListOfTerm(v, aTerm[i].iColumn, &aTerm[i], &right);
3899 rc = docListOfTerm(v, aTerm[iNext].iColumn, &aTerm[iNext], &or);
3944 rc = docListOfTerm(v, aTerm[i].iColumn, &aTerm[i], &right);
4106 /* Add all terms in [zText] to pendingTerms table. If [iColumn] > 0,
4111 const char *zText, int iColumn){
4149 if( iColumn>=0 ){
4150 dlcAddPos(p, iColumn, iPosition, iStartOffset, iEndOffset);
6079 static int termSelect(fulltext_vtab *v, int iColumn,
6119 if( iColumn==v->nColumn) iColumn = -1;
6121 iColumn, iType, out);
6916 int iColumn = plrColumn(&plReader);
6919 dlrDocid(&dlReader), iColumn);
6924 if( plrColumn(&plReader)!=iColumn ){
6925 iColumn = plrColumn(&plReader);
6926 sqlite3_snprintf(sizeof(buf), buf, "] %d[", iColumn);