Commit Graph

18 Commits (94fa02bf5251ea7c909a3fcfb23d76aa8adfd90e)

Author SHA1 Message Date
Damir Jelić 7af1b68a45 tantivy: Merge our imports. 2020-09-20 10:19:29 +02:00
Damir Jelić 2b77bb4b0c index: Fix the formatting. 2020-09-19 15:31:48 +02:00
Damir Jelić 785e37fb06 query: Upgrade to Tantivy 0.13.1 so we don't need the query hack anymore. 2020-09-19 15:17:07 +02:00
Damir Jelić e91726e010 tantivy-py: Upgrade PyO3.
This removes our nightly requirement but sadly it adds a requirement for
things that are kept inside a Python class to be Send. Luckily for us
almost everything in Tantivy is Send, except for the Query trait.

This patch works around this by keeping the parser and query string
inside our python Query object. This sadly means that we are going to
parse the query string twice.
2020-09-19 11:48:25 +02:00
Damir Jelić dc5f21562d index: Format the file. 2020-04-19 13:43:22 +02:00
Damir Jelić b75f9d75b6 tantivy-py: Upgrade to PyO3 0.9. 2020-04-19 13:35:14 +02:00
Damir Jelić 044b65321e index: Remove a redundant clone. 2020-01-05 16:00:02 +01:00
Damir Jelić 5c590ff157 Format the repo. 2020-01-05 15:59:43 +01:00
Damir Jelić a5ac1a5463 searcher: Remove the unused schema. 2020-01-05 14:08:57 +01:00
Damir Jelić 46be799248 Merge remote-tracking branch 'origin/search_api_simplification' 2020-01-05 13:52:35 +01:00
Damir Jelić 19219316a8 index: Fix some lint issues. 2020-01-05 12:39:10 +01:00
Damir Jelić d46417c220 searcher: Allow the search to be sorted by an unsigned field. 2019-12-17 20:50:26 +01:00
Paul Masurel 41cdad4157 Using tantivy 0.11 2019-12-17 23:23:53 +09:00
Ramon Navarro Bosch 75f0670dd6 Adding delete_document function to index (#12)
* Adding Term, Field and delete_term API mapping

* Fixing test

* Fixing code doc

* Removing Term and Field and nesting code on delete_term

* Fixing lint

* Delete_documents and documentation

* Fixing style and testing exceptions

* Fixing missing return

* Fixing fmt
2019-09-09 21:30:50 +09:00
Paul Masurel ccd8021ff9 CR: Adding trailing lines and removing some trailing spaces. 2019-08-30 07:37:20 +09:00
Paul Masurel 0498f941b0 API simplification.
See #9
2019-08-14 17:49:18 +09:00
Damir Jelić de7e660313 tantivy: Disable a clippy warning about new not returning self.
The new() method using pyo3 does not return self, pyo3 handles some
python magic for us instead.

Disable the clippy warning about not returning self in new since it does
not apply to us.
2019-08-08 13:55:40 +02:00
Damir Jelić 5ea790518b Initial python bindings implementation. 2019-06-04 11:09:58 +02:00