Skip to content

Commit c3a6bc5

Browse files
committed
Bump version and update README.
* README.org (Usage): Update.
1 parent 82be310 commit c3a6bc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.org

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ fast).
4242

4343
Both file path and database path must be absolute path.
4444

45+
Since v2.1, there’s an additional function, ~xapian-lite-close-database~. It closes the connection to the database. This has two effect, one, by closing the connection, another Emacs session can connect to the database; two, any uncommitted change to the database that’s still in memory are committed to disk. For example, Xeft periodically commites DB changes to disk with this function.
46+
47+
Since v2.1, xapian-lite can detect base64 encodings in the file, and skip them when indexing. This prevents the DB size ballooning from indexing base64 strings in the files. If a stretch of text contains only characters used in base64 encoding, and is longer than 70 characters, it it considered base64 text and is skipped when indexing. This will cause xapian-lite to skip some longer urls too, since `/` is used in base64. The length threshold of 70 is hard-coded.
48+
4549
* Building
4650

4751
To build the module, you need to have Xapian installed. On Mac, it can

0 commit comments

Comments
 (0)