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