[GH-ISSUE #486] Xapian Backend issue #375

Closed
opened 2026-02-25 21:31:48 +03:00 by kerem · 0 comments
Owner

Originally created by @ciur on GitHub (Oct 2, 2022).
Original GitHub issue: https://github.com/ciur/papermerge/issues/486

Originally assigned to: @ciur on GitHub.

This issue was opened to keep track of problems with Xapian Backend.

Above mentioned backend is used in Papermerge, however it has a problem - it does not support UUID for primary keys.
The thing is even though there is a pull request for the fix and it was accepted and merged - it was not released yet.

In order to fix the problem, I forked repo and copied the minimal set of changes from pull request into forked repository, then added dependency by referencing specific revision in specific repository in poetry. This approach worked until papermerge-core was published to pypi (tried to) - unfortunately pypi does not support git based dependencies. This is why, I basically published
xapian-backend + string based IDs + modified name as "yapian-backend==3.1.0".

Originally created by @ciur on GitHub (Oct 2, 2022). Original GitHub issue: https://github.com/ciur/papermerge/issues/486 Originally assigned to: @ciur on GitHub. This issue was opened to keep track of problems with [Xapian Backend](https://github.com/notanumber/xapian-haystack). Above mentioned backend is used in Papermerge, however it has a problem - it does not support UUID for primary keys. The thing is even though [there is a pull request for the fix](https://github.com/notanumber/xapian-haystack/pull/163) and it was accepted and merged - it was not released yet. In order to fix the problem, I forked repo and copied the minimal set of changes from pull request into forked repository, then added dependency by referencing specific revision in specific repository in poetry. This approach worked until papermerge-core was published to pypi (tried to) - unfortunately pypi does not support git based dependencies. This is why, I basically published xapian-backend + string based IDs + modified name as "yapian-backend==3.1.0".
kerem 2026-02-25 21:31:48 +03:00
  • closed this issue
  • added the
    pypi
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#375
No description provided.