Uploaded image for project: 'PhenoTips'
  1. PT-3938

Solr does not index patients until a full reindex is executed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4, 1.5-milestone-1
    • Component/s: patient-data
    • Labels:
      None
    • Sprint:

      Description

      There are two ways to index patients in PT: index(patient) to add or update a single patient to/in the index, and and reindex() which updates all patients

      Apparently starting from some Solr version our index() is broken and changes are not committed to the index. Upon server restart reinex() is called and all patients get added to the index, but new changs are no committed again.

      The issue seems to be that our index() does not do this.server.commit(). Probably it used to work without it, but it does not work now. When it is added, everything seems to work as expected.

        Attachments

          Activity

            People

            • Assignee:
              asm Andriy Misyura
              Reporter:
              asm Andriy Misyura
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: