Lines Matching refs:aTerm
3266 const QueryTerm *aTerm; /* Query string terms */
3288 aTerm = pQuery->pTerms;
3302 iCol = aTerm[i].iColumn;
3304 if( aTerm[i].nTerm>nToken ) continue;
3305 if( !aTerm[i].isPrefix && aTerm[i].nTerm<nToken ) continue;
3306 assert( aTerm[i].nTerm<=nToken );
3307 if( memcmp(aTerm[i].pTerm, zToken, aTerm[i].nTerm) ) continue;
3308 if( aTerm[i].iPhrase>1 && (prevMatch & (1<<i))==0 ) continue;
3310 if( i==nTerm-1 || aTerm[i+1].iPhrase==1 ){
3311 for(j=aTerm[i].iPhrase-1; j>=0; j--){
3855 QueryTerm *aTerm;
3883 aTerm = pQuery->pTerms;
3885 if( aTerm[i].isNot ){
3888 iNext = i + aTerm[i].nPhrase+1;
3891 iNext = i + aTerm[i].nPhrase + 1;
3892 rc = docListOfTerm(v, aTerm[i].iColumn, &aTerm[i], &right);
3898 while( iNext<pQuery->nTerms && aTerm[iNext].isOr ){
3899 rc = docListOfTerm(v, aTerm[iNext].iColumn, &aTerm[iNext], &or);
3900 iNext += aTerm[iNext].nPhrase + 1;
3942 for(i=0; i<pQuery->nTerms; i += aTerm[i].nPhrase + 1){
3943 if( !aTerm[i].isNot ) continue;
3944 rc = docListOfTerm(v, aTerm[i].iColumn, &aTerm[i], &right);