lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Created) (JIRA)" <>
Subject [jira] [Created] (LUCENE-3755) Add examples to javadocs of Analyzer (4.0)/ReusableAnalyzerBase(3.6)
Date Mon, 06 Feb 2012 21:28:59 GMT
Add examples to javadocs of Analyzer (4.0)/ReusableAnalyzerBase(3.6)

                 Key: LUCENE-3755
             Project: Lucene - Java
          Issue Type: Task
          Components: general/javadocs
            Reporter: Robert Muir
             Fix For: 3.6, 4.0

This stuff is great, it makes it easy to define analyzers:

Analyzer analyzer = new Analyzer() {
    protected TokenStreamComponents createComponents(String fieldName, Reader reader) {
      Tokenizer source = new FooTokenizer(reader);
      TokenStream filter = new FooFilter(source);
      filter = new BarFilter(filter);
      return new TokenStreamComponents(source, filter);

But, we should add basic examples to the javadocs I think (we can backport to ReusableAnalyzerBase).
Also it would be nice to throw in an example that adds a CharFilter.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message