If I understand correclty, I need to classify books into categories, where each category will have its own index. For example, categories like "Fiction", "Non-Fiction", "Science", "History", etc.
For each category, you'll create a separate index and populate them with each books' description
Example Index Structure:
Index Name: Fiction
Description: Title 1, Author, Summary, Genre, Year, etc.
Description: Title 2, Author, Summary, Genre, Year, etc.
Description: Title 3, Author, Summary, Genre, Year, etc.
...
Index Name: Science
Description: Title 1, Author, Summary, Genre, Year, etc.
Description: Title 2, Author, Summary, Genre, Year, etc.
Description: Title 3, Author, Summary, Genre, Year, etc.
...
When performing a search query, route to category (index) to query against based on the user's input.
If a user is interested in "Science" books about "Quantum Mechanics", would direct the query specifically to the "Science" index.
Query Example:
User Query: "Quantum Mechanics"
Targeted Index(es): Science
Result: Books related to Quantum Mechanics from the Science category.
What is not clear for me how to create this category index, can you give me some example ? Then how to map to this category index what indexes to query for each book ?
Thanks