Commit Graph

179 Commits (e7ffccc57b289793a5d15f3900a041a2ac9eea28)

Author SHA1 Message Date
Damir Jelić 0dfa46d38b travis: Add the locally installed python 3.8 to the PATH. 2020-01-06 17:36:45 +01:00
Damir Jelić 21989c9702 travis: Print out the install dir of the 3.8 python version under mac. 2020-01-06 17:28:19 +01:00
Damir Jelić cdf0c3d7b1 travis: Use python 3.8.0 for macos, 3.8.1 isn't available. 2020-01-06 17:18:32 +01:00
Damir Jelić 5ffff44c13 travis: List the available python versions. 2020-01-06 17:12:41 +01:00
Damir Jelić 096baecaed travis: Install python 3.8 under macos. 2020-01-06 17:08:01 +01:00
Damir Jelić 3d92fedf99 Cargo.toml: Bump version. 2020-01-06 16:30:04 +01:00
Damir Jelić c62e42a6af travis: Don't overwrite the deploy configs. 2020-01-06 16:25:35 +01:00
Damir Jelić e48b34b98e Cargo.toml: Bump version. 2020-01-06 15:55:30 +01:00
Damir Jelić e43c81c661 travis: Move the mac deploy script into a bash script. 2020-01-06 15:53:16 +01:00
Damir Jelić 37866341ed travis: Remove some spurious lines for the deployments. 2020-01-06 15:34:44 +01:00
Damir Jelić 4a757429e6 Bump version. 2020-01-06 15:14:23 +01:00
Damir Jelić 9de5472f9c travis: Enable mac build. 2020-01-06 15:13:10 +01:00
Damir Jelić 126388806e Cargo.toml: Bump version. 2020-01-05 21:44:08 +01:00
Damir Jelić 72f0e2f217 ci: Use the correct docker image and set the PATH correctly. 2020-01-05 21:43:20 +01:00
Damir Jelić 6955851ab5 Cargo.toml: Bump the version. 2020-01-05 19:12:34 +01:00
Damir Jelić 6dfd704bf0 ci: Mark the deployment script as executable. 2020-01-05 19:12:03 +01:00
Damir Jelić 7df0d7092e Cargo.toml: Bump the version. 2020-01-05 18:49:49 +01:00
Damir Jelić 2fa765ef37 Pipfile: Add the local package as a dev-dependency. 2020-01-05 18:49:01 +01:00
Damir Jelić a0cac9e2b0 Bump version. 2020-01-05 18:08:26 +01:00
Damir Jelić 2db8116a8d README: Explain the new development setup. 2020-01-05 17:39:20 +01:00
Damir Jelić 32b6b67af4 README: Update the docs for the new simpler search API. 2020-01-05 17:22:58 +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ć 4c02d1762b travis: Add deployment configuration. 2020-01-05 16:48:49 +01:00
Damir Jelić 4e2b72cd1d travis: Add a encrypted pypi token for deployment. 2020-01-05 16:23:56 +01:00
Damir Jelić 044b65321e index: Remove a redundant clone. 2020-01-05 16:00:02 +01:00
Damir Jelić 5c590ff157 Format the repo. 2020-01-05 15:59:43 +01:00
Damir Jelić d117555509 travis: Use the rust language for the lint job. 2020-01-05 15:33:24 +01:00
Damir Jelić 7fd667f4e0 gitignore: Add the new maturin provided so file to the ignores. 2020-01-05 14:58:38 +01:00
Damir Jelić 6a7c6f9c81 Travis: Update the travis file to use Pipenv and maturin. 2020-01-05 14:57:59 +01:00
Damir Jelić df26c74aee Add a Pipfile. 2020-01-05 14:56:50 +01:00
Damir Jelić a5ac1a5463 searcher: Remove the unused schema. 2020-01-05 14:08:57 +01:00
Damir Jelić c8775c69cc pyptoject: Use maturin from now on. 2020-01-05 13:52:53 +01:00
Damir Jelić 46be799248 Merge remote-tracking branch 'origin/search_api_simplification' 2020-01-05 13:52:35 +01:00
Damir Jelić 615fcf2187 rust-toolchain: Update the toolchain version. 2020-01-05 12:40:37 +01:00
Damir Jelić eb821b65f5 Cargo.toml: Update the dependency versions. 2020-01-05 12:40:07 +01:00
Damir Jelić 19219316a8 index: Fix some lint issues. 2020-01-05 12:39:10 +01:00
Damir Jelić df3d57fd2d Remove setup.py.
The setup.py will not be needed anymore since maturin will be used to
build python packages.

Maturin requires only the cargo.toml configuration file.
2020-01-05 12:37:09 +01:00
Damir Jelić 2d6ecff430 tests: Fix the failing test that tries to open an incompatible index version. 2020-01-05 12:04:27 +01:00
Damir Jelić f8e39a7b7f searcher: Remove the ability to order the search result.
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.
2019-12-17 23:17:44 +01:00
Damir Jelić cfa15a001d searcher: Use a search result struct. 2019-12-17 20:50:26 +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 41cdad4157 Using tantivy 0.11 2019-12-17 23:23:53 +09:00
Damir Jelić f8d43502c3 Merge branch 'fix-readme' 2019-10-06 23:09:41 +02:00
Dmitrii Gerasimov 4942c73aee
Update README.md 2019-10-06 21:59:08 +01:00
Damir Jelić 6aa3e904f8 tests: Add some tests that use a tmpdir to store the index. 2019-10-06 20:15:14 +02:00
Dima Gerasimov 7ce637d5cb Fix TypeErrors in readme example 2019-10-06 12:47:50 +01:00
Damir Jelić efbbd24baa Update to PyO3 0.8. 2019-10-01 18:32:06 +02:00
Ramon Navarro Bosch 75f0670dd6 Adding delete_document function to index (#12)
* 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
2019-09-09 21:30:50 +09:00