Closed ghost closed 2 years ago
Totally agree with @asedeno review. We definitely want (some of) your changes, but please make separate PRs for each different concern, if this isn't too much work for you!
Closing since I splitted this pull request into multiple, smaller ones.
Hey, So in the past, when the original repo was not available I decided to port it under own workspace, thus I made small changes to existing code that bring up little higher compatibility with existing standards (f-string formatting, usage of memberships instead of multiple OR's) and I also added additional settings for ability to configure
NGRAM
:The NGRAM settings are useful when you want to support single-character search, because originally this package does not support it (search-phrases must be minimum 2 characters long).
In addition I introduced ability to compile Xapian using all CPU cores, just using:
./install_xapian.sh --use-all-cores
Can we merge my own changes? I think it's nice addition to existing code - if you have any code review suggestions I will try to fix these in my spare time.