Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Directory Listing object to the Zim Archive metadata for Xapian indices #928

Closed
Jaifroid opened this issue Nov 25, 2022 · 0 comments · Fixed by #932
Closed

Add a Directory Listing object to the Zim Archive metadata for Xapian indices #928

Jaifroid opened this issue Nov 25, 2022 · 0 comments · Fixed by #932
Assignees
Labels
Milestone

Comments

@Jaifroid
Copy link
Member

This is a sub-issue of #769. In order to detect whether we need to load libzim for Xapian search, we need to be aware of the existence of a Xapian listing. We currently have titlePtrPos and articlePtrPos as attributes of the ZIM file object for the Directory Listings that they point to. We should add an appropriate attribute pointing to the Xapian data, which could be simply the pathname, that would only be present if the loaded ZIM archive has a Xapian index, and would be null if there is no Xapian index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant