Skip to content

Lists/series in solr #7815

@cdrini

Description

@cdrini
  1. Update solr_updater.py to allow lists (urls like /people/FOOBAR/lists/OL123L or /lists/OL123L)
    • keys = [
      k
      for k in keys
      if k.count("/") == 2 and k.split("/")[1] in ("books", "authors", "works")
      ]
    • solr_updater is what listens for edits that happen to on open library, and updates the search engine to include those changes
  2. Update update_work.py to handle lists
    • Create a update_list.py file (similar to update_edition.py)
    • update_list should output:
      • name - the name of the list
      • subject, place, person, time - subjects . Will require another solr query to determine what all the books have. See update_work.update_author for an example of the facet query.
      • seed - list of the keys of the list
      • .....todo
  • Index all lists in data dump
  • Deploy solr updater to get latest stuff in
  • Full reindex

Metadata

Metadata

Assignees

Labels

Lead: @cdriniIssues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Module: SolrIssues related to the configuration or use of the Solr subsystem. [managed]Module: Solr BuilderModule: Solr UpdaterCode relating to live edits being reflected into solrTheme: SeriesType: Feature RequestIssue describes a feature or enhancement we'd like to implement. [managed]Type: Subtask of EpicA subtask that is part of the work breakdown of an epic issue (see comments). [managed]

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions