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
Damir Jelić
ef2f35b364
travis: Enable windows build.
2020-01-06 20:27:55 +01:00
Damir Jelić
7b678f57c5
travis: Maturin isn't needed for the linux tests.
2020-01-06 18:17:34 +01:00
Damir Jelić
d3c5611a31
travis: Don't use pipenv.
2020-01-06 18:04:16 +01:00
Damir Jelić
599b40a4c5
ci: Enable python 3.8 for the mac deploy.
2020-01-06 17:59:26 +01:00
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