Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3426

lastModified field in path docs is incorrect for HG and Git

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • N/A
    • None
    • None

    Description

      Since HG and Git are not scanned chronologically, the lastModified time stored in the paths documents in lucene may be incorrect. This is because currently, the lastModified timestamp is set to the modified time of the last changeset containing that file that was indexed.

      The quicknav index calculates lastModified the same it seems, and is also incorrect.

      One way to fix this for DVCS repos is to do a lookup of the document before it gets added, and re-adding the Max of the new or old last modified timestamp.

      Attachments

        Activity

          People

            npellow Nick
            npellow Nick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h