this.prefix = prefix;
final BitSet bitSet = new BitSet(reader.maxDoc()); new PrefixGenerator(prefix) { public void handleDoc(int doc) { bitSet.set(doc); } }.generate(reader); return bitSet;
return prefix;
Prints a user-readable version of this query. StringBuffer buffer = new StringBuffer(); buffer.append("PrefixFilter("); buffer.append(prefix.toString()); buffer.append(")"); return buffer.toString();
StringBuffer buffer = new StringBuffer(); buffer.append("PrefixFilter("); buffer.append(prefix.toString()); buffer.append(")"); return buffer.toString();