QueryHandler should use lucene Input-/OutputStream implementations
------------------------------------------------------------------

         Key: JCR-189
         URL: http://issues.apache.org/jira/browse/JCR-189
     Project: Jackrabbit
        Type: Improvement
  Components: query  
 Environment: svn revision: 233161
    Reporter: Marcel Reutegger
 Assigned to: Marcel Reutegger 
    Priority: Minor


Currently the QueryHandler uses a jackrabbit specific implementation of the 
lucene Directory interface to make use of the jackrabbit FileSystem 
abstraction. Lucene operations on the file system however requires quite often 
random access on the index files. With the current FileSystem interface / 
abstraction random access is not possible on a FileSystemResource, therefore it 
is simulated by re-aquiring the InputStream and then seeking to the desired 
position. This it not efficient at all.

With respect to performance any other use than file based index storage does 
not make sense with lucene. Hence, the current abstraction using FileSystem 
should be dropped in favour of direct file access.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to