Commit Graph

352 Commits (bc12f2d4858112038dc7b344d7a3acc39390d3c4)

Author SHA1 Message Date
Caleb Hattingh da9edd9ba0
Merge pull request #90 from quickwit-oss/dependabot/github_actions/github/codeql-action-2.20.3
build(deps): bump github/codeql-action from 2.20.2 to 2.20.3
2023-07-17 14:22:27 +02:00
Caleb Hattingh d2c535688e
Merge pull request #89 from quickwit-oss/dependabot/github_actions/messense/maturin-action-1.40.1
build(deps): bump messense/maturin-action from 1.40.0 to 1.40.1
2023-07-17 14:22:04 +02:00
dependabot[bot] 0e89919687
build(deps): bump github/codeql-action from 2.20.2 to 2.20.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.2 to 2.20.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](004c5de30b...46ed16ded9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 23:03:28 +00:00
dependabot[bot] 135f3e07ca
build(deps): bump messense/maturin-action from 1.40.0 to 1.40.1
Bumps [messense/maturin-action](https://github.com/messense/maturin-action) from 1.40.0 to 1.40.1.
- [Release notes](https://github.com/messense/maturin-action/releases)
- [Commits](ce661d63d3...6d52485c3b)

---
updated-dependencies:
- dependency-name: messense/maturin-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 23:03:25 +00:00
dependabot[bot] 4fde617c34
build(deps): bump github/codeql-action from 2.2.4 to 2.20.2 (#83)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.20.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2.2.4...004c5de30b6423267685b897a3d595e944f7fed5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 09:34:16 +10:00
dependabot[bot] 3881adc77a
build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.2 (#84)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.0...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 09:33:30 +10:00
dependabot[bot] f3cbcdc9e1
build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#85)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](2656b87321...dd05243424)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 09:33:05 +10:00
dependabot[bot] 130766c72d
build(deps): bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.7 (#86)
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.5 to 1.8.7.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](0bf742be3e...f5622bde02)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 09:32:27 +10:00
dependabot[bot] 36a735b671
build(deps): bump step-security/harden-runner from 1.4.4 to 2.4.1 (#77)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 1.4.4 to 2.4.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/v1.4.4...55d479fb1c5bcad5a4f9099a5d9f37c8857b2845)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 19:24:35 +10:00
dependabot[bot] 0e6e37e2b4
build(deps): bump Swatinem/rust-cache from 2.0.0 to 2.5.0 (#79)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.0 to 2.5.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](6720f05bc4...2656b87321)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 19:16:00 +10:00
dependabot[bot] baaf97ab02
build(deps): bump messense/maturin-action from 1.39.0 to 1.40.0 (#76)
Bumps [messense/maturin-action](https://github.com/messense/maturin-action) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/messense/maturin-action/releases)
- [Commits](49e11751aa...ce661d63d3)

---
updated-dependencies:
- dependency-name: messense/maturin-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 19:14:57 +10:00
dependabot[bot] 504e872693
build(deps): bump actions/setup-python from 4.5.0 to 4.6.1 (#78)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](d27e3f3d7c...bd6b4b6205)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 19:08:50 +10:00
dependabot[bot] 8f622ff70c
build(deps): bump ossf/scorecard-action from 2.1.2 to 2.2.0 (#81)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](e38b1902ae...08b4669551)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 18:56:06 +10:00
Cameron c737b5138c
Add python release build (#57)
* Add python release build

* workflow dispatch

* simple

* maturin requires

* add release

* fix publish pipeline

* update maturin args

* test

* maturin config

* build

* maturin

* add publish to pypi and scorecard

* dont fail if test token doesnt exist

* run scorecard earlier

* use new trusted publisher workflow

* add index crates to allow list

* add uploads.github.com to allowlist for codeql
2023-06-21 10:00:11 +10:00
Caleb Hattingh 384311dec0
Merge pull request #74 from cjrh/fix-add-bytes
Include check for bytes in extract_value, fixes #72
2023-03-26 15:30:19 +02:00
Caleb Hattingh efe43d38ab
Update tests/tantivy_test.py
Co-authored-by: Harrison Burt <57491488+ChillFish8@users.noreply.github.com>
2023-03-26 23:27:14 +10:00
Caleb Hattingh 8356af5410
Fix lint 2023-03-26 15:06:30 +02:00
Caleb Hattingh 2f65cc65ff
Include check for bytes in extract_value, fixes #72 2023-03-26 15:03:31 +02:00
Sidhant Arora 2b1439c77e
Merge pull request #65 from Sidhant29/add_float_support
Add Float Support
2023-03-18 15:07:19 +10:00
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