Lines Matching refs:pRight
2337 rc = fts3DeferExpression(pCsr, pExpr->pRight);
2587 ** Both pLeft and pRight are expression nodes of type FTSQUERY_PHRASE. Both
2593 int sqlite3Fts3ExprNearTrim(Fts3Expr *pLeft, Fts3Expr *pRight, int nNear){
2597 assert( pRight->eType==FTSQUERY_PHRASE );
2598 assert( pLeft->isLoaded && pRight->isLoaded );
2600 if( pLeft->aDoclist==0 || pRight->aDoclist==0 ){
2602 sqlite3_free(pRight->aDoclist);
2603 pRight->aDoclist = 0;
2612 pRight->pPhrase->nToken, pRight->aDoclist, pRight->nDoclist,
2616 sqlite3_free(pRight->aDoclist);
2617 pRight->aDoclist = aOut;
2618 pRight->nDoclist = nOut;
2621 pRight->pPhrase->nToken, pRight->aDoclist, pRight->nDoclist,
2666 rc = fts3ExprAllocateSegReaders(pCsr, pExpr->pRight, pnExpr);
2688 fts3ExprFreeSegReaders(pExpr->pRight);
2708 nCost = fts3ExprCost(pExpr->pLeft) + fts3ExprCost(pExpr->pRight);
2730 fts3ExprAssignCosts(pExpr->pRight, ppExprCost);
2880 if( 0==(rc = fts3EvalExpr(p, pExpr->pRight, &aRight, &nRight, isReqPos))
2886 Fts3Expr *pRight;
2893 pLeft=pLeft->pRight;
2895 pRight = pExpr->pRight;
2896 assert( pRight->eType==FTSQUERY_PHRASE );
2901 pRight->pPhrase->nToken, aRight, nRight,