Commit Graph

49 Commits (adfdae0e64d2e8551a65532f697e8a855c497491)

Author SHA1 Message Date
Caleb Hattingh 4ac17da8f6
Update edition to 2021 (#153) 2023-11-19 01:14:37 +01:00
Cameron cdb2aeccc8
bump package version to 0.21.0 (#138) 2023-11-01 18:38:23 +10:00
Cameron 71bf17c008
chore: deprecate python 3.7 and add 3.12 (#139) 2023-11-01 15:58:18 +10:00
Chris Tam 2040463d52
Support lenient parser (#114) 2023-10-03 09:52:22 +02:00
Chris Tam 11f8bc4611
Update to tantivy v0.21.0 (#132) 2023-09-28 10:17:15 +02:00
Chris Tam 05dde2d232
Support pickling of some objects (#97) 2023-08-26 14:13:29 +02:00
Caleb Hattingh 6bc86d0e12
Upgrade PyO3 to 0.19.1. (#98) 2023-07-22 15:58:43 +10:00
Chris Tam b377f570ef
Add schema validation to PyDict -> Document (#88)
* Add schema validation to PyDict -> Document

* Address comments

* Add documentation about new functionality
2023-07-22 00:13:03 +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
Shaobo 7efd477e0b Bump tantivy version 0.17.0 2022-04-27 11:41:08 +08:00
messense f901b8b081 Switch from pipenv to nox 2022-01-17 21:26:11 +08:00
messense a9e75e5c16
Update to pyo3 0.15 (#40) 2022-01-17 10:16:08 +09:00
huishan 338ac950f1
Bump tantivy version 0.16.0 (#34)
* Bump version 0.14
* Bump version 0.15
* Bump version 0.16
2022-01-03 22:51:13 +09:00
Nicolas Brousse eba3f60346
Fix build issues due to maturin & py03 versions (#37)
* bump maturin and pyo3 versions

* update to support MacOS dylib extentions

* update package config to use a build.rs and fix  linking issue on macOS see  https://pyo3.rs/master/building_and_distribution.html#macos
2022-01-03 22:50:19 +09:00
Evance Soumaoro 0b70be98e8 Fixed links 2021-10-18 13:31:07 +00:00
Paul Masurel a224786779
Messense stable (#29)
* Upgrade pyo3 to 0.13 and build on stable Rust

* Set python 3.8 for rust lint too

Co-authored-by: messense <messense@icloud.com>
2021-02-23 10:02:16 +09:00
Damir Jelić ac6f448666 tantivy-py: Bump our version. 2020-10-11 10:42:38 +02:00
Damir Jelić 7aa2e06cd3 tantivy-py: Bump our deps. 2020-10-01 22:04:04 +02:00
Damir Jelić 4ecf7119ea tantivy: Bump the version. 2020-09-20 10:26:25 +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
sourcepirate 89e1cabc58 support for offset to do record pagination 2020-09-05 23:51:54 +08:00
Damir Jelić 8a7eac3e78 Cargo.toml: Bump version. 2020-04-22 17:36:36 +02:00
Damir Jelić f9a6f41e9a Cargo.toml: Add the readme. 2020-04-22 17:35:33 +02:00
Damir Jelić b75f9d75b6 tantivy-py: Upgrade to PyO3 0.9. 2020-04-19 13:35:14 +02:00
Damir Jelić 1d80c19434 tantivy: Bump the tantivy version. 2020-03-05 19:17:24 +01:00
Damir Jelić 27d265392e Cargo.toml: Bump the version. 2020-01-25 11:00:19 +01:00
Damir Jelić 412af1454f Rename the Python package to tantivy. 2020-01-25 10:11:27 +01:00
Damir Jelić 48adf2aa9a Cargo.toml: Bump version. 2020-01-06 20:30:00 +01:00
Damir Jelić 3d92fedf99 Cargo.toml: Bump version. 2020-01-06 16:30:04 +01:00
Damir Jelić e48b34b98e Cargo.toml: Bump version. 2020-01-06 15:55:30 +01:00
Damir Jelić 4a757429e6 Bump version. 2020-01-06 15:14:23 +01:00
Damir Jelić 126388806e Cargo.toml: Bump version. 2020-01-05 21:44:08 +01:00
Damir Jelić 6955851ab5 Cargo.toml: Bump the version. 2020-01-05 19:12:34 +01:00
Damir Jelić 7df0d7092e Cargo.toml: Bump the version. 2020-01-05 18:49:49 +01:00
Damir Jelić a0cac9e2b0 Bump version. 2020-01-05 18:08:26 +01:00
Damir Jelić 62d87119fa Cargo.toml: The project url is an array of strings. 2020-01-05 16:54:15 +01:00
Damir Jelić c84c3ad403 Cargo.toml: Add some additional python metadata. 2020-01-05 16:49:23 +01:00
Damir Jelić eb821b65f5 Cargo.toml: Update the dependency versions. 2020-01-05 12:40:07 +01:00
Paul Masurel 41cdad4157 Using tantivy 0.11 2019-12-17 23:23:53 +09:00
Damir Jelić efbbd24baa Update to PyO3 0.8. 2019-10-01 18:32:06 +02:00
Paul Masurel c91234cd73 Depending on tantivy@master 2019-09-02 09:39:18 +09:00
Paul Masurel 1ce4b4d51e Fixed tantivy rev 2019-08-21 07:19:00 +09:00
Paul Masurel 0498f941b0 API simplification.
See #9
2019-08-14 17:49:18 +09:00
Damir Jelić 2745c03384 Cargo.toml: Use the same version as the core tantivy lib.
This closes #6.
2019-08-03 11:51:55 +02:00
Damir Jelić 82dbd452ea Cargo.toml: Switch to a cdylib.
pyo3-pack requires the library to be a cdylib. This patch allows us to
use pyo3-pack to build and publish tantivy-py using pyo3-pack.
2019-08-02 17:21:13 +02:00
Damir Jelić 5d92452604 README: Rename the project to tantivy-py and mention that the are py3 only. 2019-06-06 12:12:57 +02:00
Damir Jelić 5ea790518b Initial python bindings implementation. 2019-06-04 11:09:58 +02:00