Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5.9 LTS: Lucene has gone?



  • Hi,

    I have just upgraded my project to Qt 5.9 LTS and besides some (frustrating) GUI glitches (on macOS at least), I noticed that Lucene is not shipped with Qt anymore? I don't use it as such, but my application used to need it for deployment. So, just out of curiosity, what has happened to Lucene and when has it been removed from Qt? (FWIW, I upgraded from Qt 5.6.2 LTS.)

    Cheers, Alan.



  • @agarny said in Qt 5.9 LTS: Lucene has gone?:

    besides some (frustrating) GUI glitches (on macOS at least)

    I am glad I haven't updated yet, thanks for pointing this out, would wait until Qt5.9.x release. I am happy to hear Qt team add some many new features into Qt, but I prefer stability more than quantity.


  • Lifetime Qt Champion

    Hi,

    From a quick look, it has been replaced with pcre2.

    Completely unrelated, I've mixed things...



  • @SGaist said in Qt 5.9 LTS: Lucene has gone?:

    From a quick look, it has been replaced with pcre2.

    Thanks @SGaist. May I ask where you saw this (I googled for Qt Lucene and couldn't find anything relevant) and from which version of Qt it got replaced?


  • Lifetime Qt Champion

    Sure you may :)

    I greped through the dist folder in qtbase's sources for pcre and there were two entries in the 5.9.0 release: the removal of pcre and the addition of pcre2.

    I re-greped through all of the sources for lucene.



  • @SGaist said in Qt 5.9 LTS: Lucene has gone?:

    Sure you may :)

    Phew! :)

    I greped through the dist folder in qtbase's sources for pcre and there were two entries in the 5.9.0 release: the removal of pcre and the addition of pcre2.

    Ok, got it now. I must confess that I didn't know about the purpose of Lucene, hence I didn't initially see the link between Lucene and pcre2, but now it makes sense to me. Thanks, I learned something today. :)


  • Lifetime Qt Champion

    Wait wait wait... I just realised that my brain got haywire, they are not related to each other. Sorry !

    Anyway: Removed the clucene dependency, used FTS5 from sqlite instead.

    From the 5.9.0 change file in the qttools sources.



  • @SGaist said in Qt 5.9 LTS: Lucene has gone?:

    Wait wait wait... I just realised that my brain got haywire, they are not related to each other. Sorry !

    Anyway: Removed the clucene dependency, used FTS5 from sqlite instead.

    From the 5.9.0 change file in the qttools sources.

    Ok, I thought that since Lucene is a text search engine, then there might be some overlap with pcre2.

    Anyway, I can now see it (here indeed).


  • Lifetime Qt Champion

    Good :)

    Since we finally got why, can you please mark the thread as solved using the "Topic Tools" button ? So other forum users may know an answer has been found :)


Log in to reply