[ 
https://issues.apache.org/jira/browse/JCR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484230
 ] 

David Johnson commented on JCR-788:
-----------------------------------

I have upgraded my local version to Lucene 2.1

I needed to change 2 files - the pom.xml of jackrabbit-core and 
org.apache.jackrabbit.core.query.lucene.PersistentIndex.java

While all tests pass, I am not sure if my change to PersistentIndex is right - 
specifically I commented out the code pertaining to COMMIT_LOCK as this seems 
to have been removed or moved to another class in Lucene 2.1

Is this worth a patch?  As Marcel stated, this appears to be a good upgrade, so 
I would like to get this in sooner rather than later.

> Upgrade to Lucene 2.1
> ---------------------
>
>                 Key: JCR-788
>                 URL: https://issues.apache.org/jira/browse/JCR-788
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> Lucene 2.1 contains a number of useful enhancements, which could be benefical 
> to jackrabbit:
> - less locking on index updates -> less IO calls
> - introduces FieldSelector -> allows jackrabbit to only load required fields

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to