Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4078

fulltext indexed documents with H2 VCS are duplicated upon jboss or jetty restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3 RC
    • Fix Version/s: 5.3 RC
    • Component/s: None
    • Impact type:
      Deployment change
    • Upgrade notes:
      Hide

      For databases where the indexes already contain duplicate records, the Lucene indexes should be recreated from the existing fulltext info:
      DROP TABLE NXFT.INDEXES

      Show
      For databases where the indexes already contain duplicate records, the Lucene indexes should be recreated from the existing fulltext info: DROP TABLE NXFT.INDEXES

      Description

      Steps to reproduce:

      • deploy nuxeo DM or EP with H2 VCS on either jboss or jetty
      • create some documents
      • search a word in the title of a document using the top right search input => it works as expected
      • restart jboss
      • perform the exact same search as previously: results appear twice with same document ref
      • further restarts keep creating new lucene index entries in the VCS store

      Checking the index directory with luke shows that the entries are indeed duplicated. VCS init should not trigger a lucene indexing of the existing entries.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: