You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix search index for entries without parent book (#160)
* Fix search index for entries without parent books
This commit enhances the search index generation process by providing
more meaningful descriptions for entries that lack a parent <book>
element. Additionally, refactors writeJsonIndex() into smaller methods.
Fixes#159
* Prefer array_key_exists over isset
* Return set elements immediately
* Rename processIndexForSearch to improve clarity
Also, updated the doc block with additional context.
0 commit comments