Commit Graph

8 Commits (b2043793eec527e5a9aa7a1f922b1b13402bd238)

Author SHA1 Message Date
Damir Jelić 7af1b68a45 tantivy: Merge our imports. 2020-09-20 10:19:29 +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ć 32b6b67af4 README: Update the docs for the new simpler search API. 2020-01-05 17:22:58 +01:00
Damir Jelić 5c590ff157 Format the repo. 2020-01-05 15:59:43 +01:00
Damir Jelić d46417c220 searcher: Allow the search to be sorted by an unsigned field. 2019-12-17 20:50:26 +01:00
Damir Jelić fbea6fe633 searcher: Remove the collector concept.
This patch removes the TopDocs collector class and adds a limit
argument on the search method.
2019-12-17 20:50:26 +01:00
Paul Masurel 0498f941b0 API simplification.
See #9
2019-08-14 17:49:18 +09:00
Damir Jelić 5ea790518b Initial python bindings implementation. 2019-06-04 11:09:58 +02:00