setup solr updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Fix Released
|
Critical
|
Edward Betts |
Bug Description
Setup a program to listen changes from Infobase and update solr.
Infobase has an API to read log.
$ curl 'http://
{"data": [
{"action": "save", "timestamp": "2010-02-
"offset": "2010-02-10:558"
}
It returns a JSON response. data contains each executed query executed, timestamp, comment, user details and the result of the query. The result contains the modified keys and that can be used to find the keys to update in solr.
The offset in the response is the a position in the log, which can be used to construct the request to read next entries.
Changed in openlibrary: | |
milestone: | none → upstream |
assignee: | nobody → Edward Betts (edwardbetts) |
importance: | Undecided → Critical |
Changed in openlibrary: | |
status: | New → Fix Released |
How do I know when I've reached the end of a day?