mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-03-10 16:30:06 -04:00
setup.py: Remove the e2e_search feature.
The e2e_search feature depends on tantivy. The tantivy package got a release on pypi in the meantime but the API changed in incompatible ways. Remove support for it so someone doesn't shoot himself in the foot.
This commit is contained in:
parent
9746a28368
commit
85dc80bfa7
16
README.md
16
README.md
@ -93,22 +93,6 @@ UseKeyring = False
|
||||
IgnoreVerification = True
|
||||
```
|
||||
|
||||
### Experimental E2E search support.
|
||||
|
||||
Pantalaimon can handle the search endpoint of a Matrix server as well, providing
|
||||
search support for E2E encrypted rooms.
|
||||
|
||||
For this to work [tantivy](https://github.com/tantivy-search/tantivy) is needed.
|
||||
Tantivy is a full text search engine written in rust.
|
||||
|
||||
The python bindings for tantivy are needed for pantalaimon. The bindings are not
|
||||
yet merged upstream, instead they can be found
|
||||
[here](https://github.com/matrix-org/tantivy/tree/topcollector_order_by/python).
|
||||
|
||||
Note that rust nightly (tested version was: 1.36.0-nightly (50a0defd5 2019-05-21))
|
||||
and [setuptools-rust](https://pypi.org/project/setuptools-rust/) are required
|
||||
before the tantivy python bindings can be installed.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
|
@ -19,7 +19,7 @@ class InvalidQueryError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
if util.find_spec("tantivy"):
|
||||
if False:
|
||||
import asyncio
|
||||
import datetime
|
||||
import json
|
||||
|
Loading…
x
Reference in New Issue
Block a user