lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Created] (LUCENE-5634) Reuse TokenStream instances in Field
Date Wed, 30 Apr 2014 21:59:16 GMT
Michael McCandless created LUCENE-5634:

             Summary: Reuse TokenStream instances in Field
                 Key: LUCENE-5634
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless
             Fix For: 4.9, 5.0

If you don't reuse your Doc/Field instances (which is very expert: I
suspect few apps do) then there's a lot of garbage created to index each
StringField because we make a new StringTokenStream or
NumericTokenStream (and their Attributes).

We should be able to re-use these instances via a static

This message was sent by Atlassian JIRA

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

View raw message