Beispiel #1
0
 @Override
 public FTExpr copy(final QueryContext qc, final VarScope scp, final IntObjMap<Var> vs) {
   final FTWords ftw =
       new FTWords(
           info,
           query.copy(qc, scp, vs),
           mode,
           occ == null ? null : Arr.copyAll(qc, scp, vs, occ));
   if (ftt != null) ftw.ftt = ftt.copy(ftw);
   ftw.tokens = tokens;
   ftw.data = data;
   ftw.first = first;
   ftw.pos = pos;
   ftw.fast = fast;
   return ftw;
 }
Beispiel #2
0
 @Override
 public FTExpr copy(final CompileContext cc, final IntObjMap<Var> vm) {
   final FTAnd copy = new FTAnd(info, Arr.copyAll(cc, vm, exprs));
   if (negated != null) copy.negated = negated.clone();
   return copy;
 }