ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.55k stars 267 forks source link

Xapian Backend issue #486

Closed ciur closed 2 years ago

ciur commented 2 years ago

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".