Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-25723

Update ook index schema to enable sorting

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • www_lsst_io
    • None

    Description

      To enable sorting documentation records by handle and date, these fields need to be numeric:

      • "number" field needs to be numeric
      • "sourceUpdateTime" field needs a version that is a unix timestamp

      Attachments

        Issue Links

          Activity

            Released as ook 0.2.0:

            • Support for sorting documents:
              • The number record field is now numeric, supporting sortable document handles.
              • The new sourceUpdateTimestamp is the integer Unix timestamp corresponding to when the document was updated.
                This timestamp supports sorting documents by their update recency.
            • After ingest, old records for a URL are deleted.
              This expiration is done by searching for records for a given baseUrl that have a surrogateKey value other than that of the current ingest.
            • In development environments, make test now runs Ook through its tox configuration.
            • Refreshed all pinned dependencies

            Reingested SQR- documents using the deployed service and SQuaRE technotes are not ready for a category page.

            jsick Jonathan Sick added a comment - Released as ook 0.2.0: Support for sorting documents: The number record field is now numeric, supporting sortable document handles. The new sourceUpdateTimestamp is the integer Unix timestamp corresponding to when the document was updated. This timestamp supports sorting documents by their update recency. After ingest, old records for a URL are deleted. This expiration is done by searching for records for a given baseUrl that have a surrogateKey value other than that of the current ingest. In development environments, make test now runs Ook through its tox configuration. Refreshed all pinned dependencies Reingested SQR- documents using the deployed service and SQuaRE technotes are not ready for a category page.

            People

              jsick Jonathan Sick
              jsick Jonathan Sick
              Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.