jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-2924) Avoid String.intern() on Lucene Terms when querying
Date Tue, 22 Mar 2011 13:54:05 GMT
Avoid String.intern() on Lucene Terms when querying
---------------------------------------------------

                 Key: JCR-2924
                 URL: https://issues.apache.org/jira/browse/JCR-2924
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
            Reporter: Alex Parvulescu
            Priority: Minor


We should take advantage of the new Lucene 3.0 Term constructors that allows us to skip calling
the String.intern() on field names that are already intern-ed in Jackrabbit.

See also https://issues.apache.org/jira/browse/JCR-2916

it is a simple find occurrences of org.apache.lucene.index.Term in jr-core, and if possible
call the non-intern-ing constructor.

I'll provide a patch soon. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message