anchor.diff:   limitations under the License.
   --%>
   <%@ page import="org.apache.lucene.analysis.Analyzer,
  -                 org.apache.lucene.analysis.Token,
  +                 org.apache.lucene.util.AttributeSource,
  +                 org.apache.lucene.util.Attribute,
  +                 org.apache.lucene.util.BytesRef,
                    org.apache.lucene.analysis.TokenStream,
                    org.apache.lucene.index.Payload,
                    org.apache.lucene.analysis.CharReader,
  
positive.code:       Analyzer analyzer =  field.getType().getQueryAnalyzer();
        TokenStream tstream = analyzer.reusableTokenStream(field.getName(),reader);
        tstream.reset();
        List<Token> tokens = getTokens(tstream);
        matches = new HashSet<Tok>();
        for (Token t : tokens) { matches.add( new Tok(t,0)); }
      }
  
      if (val!="") {
  
negative.code:     }
      public String toString() {
        return token.toString();
      }
      public String toPrintableString() {
        TermToBytesRefAttribute att = token.addAttribute(TermToBytesRefAttribute.class);
        if (att instanceof CharTermAttribute)
          return att.toString();
        else {
          BytesRef bytes = new BytesRef();
          att.toBytesRef(bytes);
          return bytes.toString();
        }
      }
    }
  
  