Commit Graph

13 Commits (11f8bc4611de663fbc34109388710da55d8ccb7d)

Author SHA1 Message Date
Chris Tam 11f8bc4611
Update to tantivy v0.21.0 (#132) 2023-09-28 10:17:15 +02:00
Caleb Hattingh f164b0ef4a
Snippet generator (fixes #36 and #63) (#122)
Co-authored-by: Justin Greene <justin.greene@intouchsol.com>
Co-authored-by: Paul Masurel <paul@quickwit.io>
Co-authored-by: Pratyush Mittal <pratyushmittal@gmail.com>
Co-authored-by: mukeshsahnis <er.mks89@gmail.com>
2023-09-13 12:03:39 +02:00
Chris Tam 05dde2d232
Support pickling of some objects (#97) 2023-08-26 14:13:29 +02:00
Sidhant Arora a266f41974
feat: tantivy_0.20.1_upgrade (#82)
* Added api changes from tantivy-0.20.1

* lint fix

* Increase test writer heap to 10_000_000

* Revert test back to original check

* Update src/searcher.rs

Co-authored-by: Cameron <561860+wallies@users.noreply.github.com>

---------

Co-authored-by: Caleb Hattingh <caleb.hattingh@gmail.com>
Co-authored-by: Cameron <561860+wallies@users.noreply.github.com>
2023-07-21 09:44:47 +10:00
Phill Mell-Davies 164adc87e1
Tantivy 0.19.2 (#67)
* Adding __init__.py file to the tantivy folder to make maturin happy

Add Cargo.lock to the repo

Set the git-fetch-with-cli cargo flag so that we can override fetch settings

Renaming .cargo/config to .cargo/config.toml

Adding github-quiq-sh cargo registry

Point dependencies at our github-quiq-sh registry

Trying to resolve this build issue, pointing pyo3-build-config at our github-quiq-sh registry

SER-21487: Enable support for all standard Tantivy languages plus Chinese + Japanese in tantivy-py

SER-21487: Use uname rather than UNAME in the Makefile

SER-21487: Fix document date handling

SER-23013: Upgrade Tantivy and other dependencies

* Upgrade to Tantivy 0.19.1

* Apply rustfmt and fix bug when fast option = None

* Upgrade to tantivy-0.19.2

* Standardize around using 'cargo fmt' rather than 'rustfmt'

* Reverting to old style dependencies

* Linting with clippy

* Switching out hashmap for defining tokenizers for an array, and adding test for Spanish indexing

* Use cargo fmt instead of rustfmt on the Lint ci step
2023-02-14 13:20:59 +00:00
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