Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-6101

SOLR: Cannot find files after restart and reindex solr

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 4.1.1, 4.1.2
    • Fix Version/s: 4.1.2
    • Labels:
      None
    • Environment:
      Alfresco Enterprise v4.1.2 (b 325), Windows 7 x64, Tomcat, Postgres, Java 6 (all installer deployed) Client: Windows 7
    • Bug Priority:
      Category 1

      Description

      1. Log in to share create site and load some files there.
      2. Verify that all files are found -> All files are displayed
      3. Check https://localhost:8443/solr/admin/cores?action=SUMMARY&wt=xml
      4. Stop alfresco.
      5. Delete archive and workspaces solr's folders.
      6. Add to alfresco-global.properties index.recovery.mode=FULL
      7. Start alfresco.
      8. Verify that all files are found -> All files are displayed
      9. Check https://localhost:8443/solr/admin/cores?action=SUMMARY&wt=xml , the element <long name="Id for last TX in index"> is not 0
      10. Check archive and workspaces solr's folders size. It should be more than 2mb for workspaces.
      11. Log in to alfresco share and check search

      Expeceted Result:
      All files are displayed

      Actaul Result:
      Files are not found. Log file contain NPE (see alfrescotomcat-stdout.log )

      AndreiMa

      NONE: Reproduced for alfresco 4.1.1 build 159

        Attachments

        1. 2012_12_05_1.zip
          310 kB
        2. alfrescotomcat-stdout.log
          66 kB
        3. solr_with_exception_2.zip
          330 kB
        4. solr_with_exception.zip
          350 kB
        5. solr_without_exception.zip
          2.08 MB
        6. SolrCachingPathScorer.java
          5 kB
        7. variable_true.zip
          311 kB

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              alfrescoqa Alfresco QA Team
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 hours
                2d 6h