[ http://issues.apache.org/jira/browse/JCR-352?page=comments#action_12370915 ]
Alexandru Popescu commented on JCR-352: --------------------------------------- Good catch Jukka. I guess this is impossible to have a quick fix (but I am not a Lucene expert, so I may be loosin some details). jack.FSDirectory.createFile -> lucene.FSDirectory.createFile (= lucene.Directory.createFile) -> lucene.FSDirectory.createOutput => new FSIndexOutput(file) and FSIndexOutput extends BufferedIndexOutput extends IndexOutput, while jack.FSDirectory (respectively) lucene.Director createFile must return an OutputStream. Now, I am wondering if this is not a Lucene bug: calling a lucene.FSDirectory.createFile() results in returning a FSIndexOutput and so a ClassCastException. I will try to post this question on Lucene ML, ./alex -- .w( the_mindstorm )p. > Upgrade to Lucene 1.9.1 > ----------------------- > > Key: JCR-352 > URL: http://issues.apache.org/jira/browse/JCR-352 > Project: Jackrabbit > Type: Improvement > Versions: 1.0, 0.9 > Environment: All > Reporter: Michael Young > Assignee: Jukka Zitting > > We would like to upgrade to Lucene 1.9.1. There are jar conflicts when > integrating with other projects such as Liferay Portal -- which uses v 1.9.1. -- 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