Commit Graph

133 Commits

Author SHA1 Message Date
Sidhant29
520159fe6e
Fixed accidental ommision, caused by merge conflicts 2023-03-18 14:56:50 +10:00
Sidhant29
3971325326
updated add_float_field signature 2023-03-18 14:45:18 +10:00
Sidhant Arora
4ffdffe4d6
Merge branch 'master' into add_float_support 2023-03-16 15:11:30 +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
Sidhant29
94bfb0600c
Fixed typo 2023-01-17 11:01:43 +10:00
Sidhant29
caf52766be
Added add_float() function for Document 2023-01-17 10:48:18 +10:00
Sidhant29
75f2f0296d
Added float support 2023-01-17 10:43:39 +10:00
Caleb Hattingh
b2043793ee
Include Python 3.11 in nox tests and Github actions matrix (#56)
* Include Python 3.11 in nox tests and Github actions matrix
2023-01-13 16:29:38 +00:00
amosdoublec
6eb867e08f
edit for the main readme (#60) 2022-11-28 23:24:54 +09:00
Sidhant Arora
440584f0f9
Updated Readme (#54) 2022-08-19 21:41:10 +09:00
Thomas Tanon
e1ffc79ac4
Removes empty python code root (#48)
Not useful with recent maturin versions
2022-05-16 11:08:25 +09:00
Harrison Burt
ff51f61a1f
Merge pull request #45 from saukymo/master
Bump tantivy version 0.17.0
2022-04-29 09:36:43 +01:00
Shaobo
7efd477e0b Bump tantivy version 0.17.0 2022-04-27 11:41:08 +08:00
Antoine G
27340e91bf
remove test index files and edit tests accordingly (#46) 2022-04-27 10:48:19 +09:00
Harrison Burt
8e97a1ebe7
Merge pull request #41 from messense/nox
Switch from pipenv to nox
2022-01-31 08:47:29 +00: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
Kapil Thangavelu
df205492b4
feat: use github actions for basic ci (#38) 2022-01-03 22:43:52 +09:00
PSeitz
d34fbc887c
Merge pull request #35 from quickwit-inc/fix-links
Fixed links
2021-10-19 10:32:41 +08:00
Evance Soumaoro
0b70be98e8 Fixed links 2021-10-18 13:31:07 +00:00
Moriyoshi Koizumi
57f01aac7a Release GIL on searcher acquisition. 2021-05-01 15:37:33 +09:00
0xflotus
94fa02bf52
fix: small error (#30) 2021-03-19 18:26:19 +09: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ć
a3a083bb88 ci: Don't use the master branch of the maturin docker image. 2020-10-11 14:21:45 +02: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
Paul Masurel
c86f0fc1d6 Avoid truncating utf-8 strings in the middle of a codepoint in
`Document::__repr__`

Closes #24
2020-10-01 22:36:28 +09:00
Damir Jelić
4ecf7119ea tantivy: Bump the version. 2020-09-20 10:26:25 +02:00
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
sourcepirate
20989628e4 updated tests for offset query 2020-09-07 20:06:16 +02:00
sourcepirate
42d29b5e94 changed the args position 2020-09-07 20:06:16 +02:00
sourcepirate
e7b3e3527a formated the searcher.rs file 2020-09-05 23:58:59 +08: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ć
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ć
094f8974ea searcher: Add support to search and order the results by a field. 2020-04-19 12:26:56 +02:00
Damir Jelić
1d80c19434 tantivy: Bump the tantivy version. 2020-03-05 19:17:24 +01:00
Damir Jelić
20e8850e09 travis: Don't run the deploy on the lint stage. 2020-01-25 11:34:02 +01:00
Damir Jelić
27d265392e Cargo.toml: Bump the version. 2020-01-25 11:00:19 +01:00
Damir Jelić
0e14d03333 travis: Run the lint stage first and more cleanup. 2020-01-25 10:42:39 +01:00
Damir Jelić
74f8892b67 travis: Clean up the travis file. 2020-01-25 10:24:09 +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