Hello,
Is it possible to model this tree of data, so that is searching but within a single document?
I thought about, just creating an array, and putting fiction, science fiction, general, miliatry in each element, but then I lose the hierarchical nature of the data.
Then I considered and array, but with the following structure (forgetting to include quotes of course): -
Subjects:
[{ level1: Fiction, Level2: Science Fiction, Level3: General},
{ level1: Fiction, Level2: Science Fiction, Level3: Action & Adventure},
{ level1: Fiction, Level2: Science Fiction, Level3: Military}]
Indexing on Subjects, level1, level2, level3, level4 etc?
Or should it be in a separate document, though it seems it should be in the main book document Or maybe both versions?
Thank you.