Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.9 LTS: Lucene has gone?
Qt 6.11 is out! See what's new in the release blog

Qt 5.9 LTS: Lucene has gone?

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 4.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    agarny
    wrote on last edited by agarny
    #1

    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.

    thamT 1 Reply Last reply
    0
    • A agarny

      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.

      thamT Offline
      thamT Offline
      tham
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by SGaist
        #3

        Hi,

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

        Completely unrelated, I've mixed things...

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

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

          Completely unrelated, I've mixed things...

          A Offline
          A Offline
          agarny
          wrote on last edited by
          #4

          @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?

          1 Reply Last reply
          1
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by SGaist
            #5

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            1
            • SGaistS SGaist

              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.

              A Offline
              A Offline
              agarny
              wrote on last edited by
              #6

              @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. :)

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                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.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply
                1
                • SGaistS SGaist

                  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.

                  A Offline
                  A Offline
                  agarny
                  wrote on last edited by
                  #8

                  @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).

                  1 Reply Last reply
                  1
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    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 :)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved