Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for capturing group in tag inclusion. #27

Closed
wants to merge 17 commits into from

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    d17f3d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Use a Searcher singleton across all searches to improve performance

    In the current implementation, every search opens/loads Whoosh index and initiates a new `Searcher` instance. This commit introduces a singleton to eliminate such behaviour, except when syncing  attachments that requires the new index. The downside of this change is that after syncing, the Flask app needs to be restarted for the searcher to use the new index.
    mgao6767 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    a23174a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63a4d33 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    208b200 View commit details
    Browse the repository at this point in the history
  2. Cache last_sync

    In the current implementation, every search opens/loads Whoosh index to retrieve last sync time. This commit caches the last sync time. The downside of this change is that after syncing, the Flask app needs to be restarted for the searcher to use the new index.
    mgao6767 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    a7bc9ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acfcb32 View commit details
    Browse the repository at this point in the history
  4. Revert "Minor performance improvement"

    This reverts commit acfcb32.
    mgao6767 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7c6c492 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Add caching

    mgao6767 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f58c9f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    713cc2c View commit details
    Browse the repository at this point in the history
  3. Disable CSRF

    mgao6767 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    05b4610 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    07446cd View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Update selector labels

    mgao6767 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    1135baf View commit details
    Browse the repository at this point in the history
  2. Update syncing

    When server has small memory and documents are too many, syncing may cause OOM. This change may reduce such possibility.
    mgao6767 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c733ac4 View commit details
    Browse the repository at this point in the history
  3. Updating caching

    Caching papers for 24hrs and reloading searcher index every 12hrs in case the index has been updated.
    mgao6767 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7b4e58b View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Improve rendering speed

    Compute the facet html in Python instead of in Jinja template. When facets are nested and in hundreds/thousands, this change can reduce rendering speed by hundreds of milliseconds.
    mgao6767 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    7b6924d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    366d318 View commit details
    Browse the repository at this point in the history
  3. Wait less time when syncing

    mgao6767 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f3e7ea4 View commit details
    Browse the repository at this point in the history