* 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
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.
Ordering the search result by a field requires the field to be set up to
support this at the index creation time. If it wasn't properly set up,
such a search would crash the Python interpreter.
Until a search returns an error that we can convert to a Python
exception this feature will unlikely be supported.
* Adding Term, Field and delete_term API mapping
* Fixing test
* Fixing code doc
* Removing Term and Field and nesting code on delete_term
* Fixing lint
* Delete_documents and documentation
* Fixing style and testing exceptions
* Fixing missing return
* Fixing fmt
The new() method using pyo3 does not return self, pyo3 handles some
python magic for us instead.
Disable the clippy warning about not returning self in new since it does
not apply to us.