{"id":15705167,"url":"https://github.com/pat/ts-sidekiq-delta","last_synced_at":"2025-09-17T16:33:17.665Z","repository":{"id":12246496,"uuid":"14860533","full_name":"pat/ts-sidekiq-delta","owner":"pat","description":"Thinking Sphinx - Sidekiq Deltas","archived":false,"fork":false,"pushed_at":"2024-06-18T17:19:08.000Z","size":110,"stargazers_count":5,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T00:32:42.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pat.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-02T11:28:59.000Z","updated_at":"2021-12-22T02:36:00.000Z","dependencies_parsed_at":"2024-10-24T06:59:03.324Z","dependency_job_id":"7a11f13b-d973-472f-b1a0-9fd689f3c991","html_url":"https://github.com/pat/ts-sidekiq-delta","commit_stats":{"total_commits":99,"total_committers":12,"mean_commits":8.25,"dds":0.595959595959596,"last_synced_commit":"62735bfe34e1d34551e9fac2c7895f872cfde41f"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fts-sidekiq-delta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fts-sidekiq-delta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fts-sidekiq-delta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Fts-sidekiq-delta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat","download_url":"https://codeload.github.com/pat/ts-sidekiq-delta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233408358,"owners_count":18671840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T20:14:54.828Z","updated_at":"2025-09-17T16:33:12.350Z","avatar_url":"https://github.com/pat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delayed Deltas for Thinking Sphinx with Sidekiq\n\nThis code was heavily based on Aaron Gibralter's [ts-resque-delta](https://github.com/agibralter/ts-resque-delta), and was initially adapted for Sidekiq by [Danny Hawkins](https://github.com/danhawkins). This release is maintained by [Pat Allan](https://github.com/pat).\n\nThis version of `ts-sidekiq-delta` works only with [Thinking Sphinx](https://github.com/pat/thinking-sphinx) v3 or newer. v1/v2 releases are not supported, and almost certainly will never be. It does work with the Flying Sphinx service, provided you're using 1.0.0 or newer of the `flying-sphinx` gem.\n\n## Installation\n\nGet it into your Gemfile - and don't forget the version constraint!\n\n    gem 'ts-sidekiq-delta', '~\u003e 0.4.0'\n\nIf you're using Thinking Sphinx v3.0.x, you'll need to jump back to the 0.1.0 release of this gem.\n\n## Usage\n\nIn your index definitions, you'll want to include the delta setting as an initial option:\n\n    ThinkingSphinx::Index.define(:article,\n      :with  =\u003e :active_record,\n      :delta =\u003e ThinkingSphinx::Deltas::SidekiqDelta\n    ) do\n      # fields and attributes and such\n    end\n\nIf you've never used delta indexes before, you'll want to add the boolean\ncolumn named `:delta` to each model's table and a corresponding database index:\n\n    def change\n      add_column :articles, :delta, :boolean, :default =\u003e true, :null =\u003e false\n      add_index  :articles, :delta\n    end\n\nFrom here on in, just use Thinking Sphinx and Sidekiq as you normally would, and you'll find your Sphinx indices are updated quite promptly by Sidekiq.\n\nMake sure you have a sidekiq worker monitoring the `ts_delta` queue.\n\n## Licence\n\nCopyright (c) 2013-2021, ts-sidekiq-delta was originally developed by Danny Hawkins, is currently maintained by Pat Allan, and is released under the open MIT Licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Fts-sidekiq-delta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat%2Fts-sidekiq-delta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Fts-sidekiq-delta/lists"}