if (mWildcardPrefix != null) { lop.addClause("", new PrefixQuery(new Term(fieldName, mWildcardPrefix)), calcTruth(truth)); }
        protected QueryOperation getQueryOperation(boolean truth) {            if (mTokens.size() <= 0 && mOredTokens.size()<=0 && mWildcardPrefix==null) {                // if we have no tokens, that is usually because the analyzer removed them                // -- the user probably queried for a stop word like "a" or "an" or "the"                //                // By design: interpret *zero* tokens to mean "ignore this search term"                //                 // we can't simply ignore this query, however -- we have to put a null                // query into the query list, otherwise conjunctions will get confused...so                // we pass NULL to addClause which will add a blank clause for us...                return new NoTermQueryOperation();            } else {                LuceneQueryOperation lop = LuceneQueryOperation.Create();                String fieldName = QueryTypeString(getQueryType());                if (mTokens.size() == 1) {                    TermQuery q = null;                    String queryTerm = mTokens.get(0);                    q = new TermQuery(new Term(fieldName, queryTerm));                    lop.addClause(this.getQueryOperatorString()+mOrigText,  q,calcTruth(truth));                } else if (mTokens.size() > 1) {                    PhraseQuery p = new PhraseQuery();                    p.setSlop(0); // TODO configurable?                    for (int i=0; i<mTokens.size(); i++)                         p.add(new Term(fieldName, mTokens.get(i)));                    lop.addClause(this.getQueryOperatorString()+mOrigText, p,calcTruth(truth));                }                if (mWildcardPrefix != null) {                    lop.addClause("", new PrefixQuery(new Term(fieldName, mWildcardPrefix)), calcTruth(truth));                }                if (mOredTokens.size() > 0) {                    // probably don't need to do this here...can probably just call addClause                    BooleanQuery orQuery = new BooleanQuery();                    for (String token : mOredTokens)                        orQuery.add(new TermQuery(new Term(fieldName, token)), false, false);                    lop.addClause("", orQuery, calcTruth(truth));                }                return lop;            }        }