mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
s/abbr_canon_surt_timesamp/abbr_canon_surt_timestamp/
This commit is contained in:
parent
927419645b
commit
2cb1454302
@ -57,7 +57,7 @@ class RethinkCaptures:
|
||||
if not self.table in tables:
|
||||
self.logger.info("creating rethinkdb table %s in database %s", repr(self.table), repr(self.r.dbname))
|
||||
self.r.table_create(self.table, shards=self.shards, replicas=self.replicas).run()
|
||||
self.r.table(self.table).index_create("abbr_canon_surt_timesamp", [self.r.row["abbr_canon_surt"], self.r.row["timestamp"]]).run()
|
||||
self.r.table(self.table).index_create("abbr_canon_surt_timestamp", [self.r.row["abbr_canon_surt"], self.r.row["timestamp"]]).run()
|
||||
self.r.table(self.table).index_create("sha1_warc_type", [self.r.row["sha1base32"], self.r.row["warc_type"], self.r.row["bucket"]]).run()
|
||||
|
||||
def find_response_by_digest(self, algo, raw_digest, bucket="__unspecified__"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user