mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-03-11 08:49:30 -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
|
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
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ class InvalidQueryError(Exception):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
if util.find_spec("tantivy"):
|
if False:
|
||||||
import asyncio
|
import asyncio
|
||||||
import datetime
|
import datetime
|
||||||
import json
|
import json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user