Index works with their series names

Description

If a work belongs to series, include the series names while indexing the work. We can eventually update the UI to allow searching for works in a series with a name like something something.

If a series gets renamed or deleted, all works in it should be reindexed.

How to test:

Without a UI, we can search by series titles by entering series_titles: * or series_titles: blah in "Any field" (work search) or "Search within results" (work filters).

UPDATE: Change of plans! You have to search using series.title: * or series.title: blah now.

  • Add works to an existing series. Search by the series' title, expect to see the added works.

  • Remove works from an existing series. Search by the series' title, expect to not see the removed works.

  • Add works to new series. Search by the series' title, expect to see the added works.

  • Rename a series. Search by the series' new title, expect to see the series' works.

  • Delete a series. Search by the series' title, expect to not see any work.

Notes:

Update https://archiveofourown.org/admin_posts/10851 once this is deployed.

Environment

None

Status

Assignee

redsummernight

Reporter

redsummernight

Roadmap

Search

Priority

Medium

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure