Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aggregation #2

Closed
wants to merge 327 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
473a346
remove debugging
appaquet Jun 13, 2021
8ae10a9
fix formatting
appaquet Jun 13, 2021
9f32d40
Misspelling of misspelled was fixed (#1078)
bernard-zulzi Jun 14, 2021
ebe55a7
refactor test, fixes #1077
PSeitz Jun 14, 2021
873ac1a
cleanup import
PSeitz Jun 14, 2021
221e7cb
Merge pull request #1076 from appaquet/fix/store-reader-iterator
PSeitz Jun 14, 2021
7ef25ec
Bump to 0.15.1 to publish bugfix
fulmicoton Jun 14, 2021
5209238
use github actions for tests
PSeitz Jun 14, 2021
6bf4fee
support multiple codecs
PSeitz Jun 2, 2021
c02c78e
implement linear interpol serializer
PSeitz Jun 2, 2021
3298d6c
move common to common crate, create fastfield_codecs crate
PSeitz Jun 2, 2021
aefd0fc
refactor, add fastfield metadata to footer
PSeitz Jun 3, 2021
483fdb7
add linear interpolation estimation
PSeitz Jun 4, 2021
be2dd41
add interface to create and read codecs
PSeitz Jun 4, 2021
b999e83
replace BitpackedFastFieldReader, delete FastFieldSerializer trait
PSeitz Jun 4, 2021
dfdbfe9
add benchmark for fast field codecs
PSeitz Jun 4, 2021
2193d85
fix clippy and common crate tests
PSeitz Jun 4, 2021
d5212cd
fix clippy
PSeitz Jun 4, 2021
2570b00
fix estimation test
PSeitz Jun 4, 2021
60df629
cargo.toml license desc and author
PSeitz Jun 8, 2021
aa3c4d4
use f32 precision, add inline
PSeitz Jun 8, 2021
0ba05df
add f32::MAX to disable a compressor
PSeitz Jun 8, 2021
6a4883a
use uniform distribution sampling
PSeitz Jun 8, 2021
3b3e26c
use f64 precision for slope calculation
PSeitz Jun 8, 2021
e296da7
add debug and failsafes
PSeitz Jun 8, 2021
2e639ce
fix bitpacker bug, reset internal value
PSeitz Jun 10, 2021
e78e0fe
add multilinearinterpolation
PSeitz Jun 10, 2021
451538f
add serialize for bool
PSeitz Jun 11, 2021
f4d2711
add inline, add readme
PSeitz Jun 11, 2021
294cd5f
streamline traits and tests
PSeitz Jun 11, 2021
ef46659
rename file
PSeitz Jun 11, 2021
1d41b96
rename, add codec_tester
PSeitz Jun 11, 2021
abb5624
add contributing guidelines, add codec comparer binary
PSeitz Jun 14, 2021
1071ed8
fix cond compilation
PSeitz Jun 14, 2021
167d88b
fix tests behind unstable feature flag
PSeitz Jun 14, 2021
0a534c6
rename create to serialize
PSeitz Jun 14, 2021
c889ae1
add is_applicable to fast field codecs
PSeitz Jun 14, 2021
77a0902
replace unwrap, use vec in bench
PSeitz Jun 14, 2021
f902440
Merge pull request #1072 from PSeitz/fastfieldcompression
PSeitz Jun 15, 2021
268e6bf
update fast field codec readme
PSeitz Jun 15, 2021
a40ff35
test all features
PSeitz Jun 15, 2021
060b831
use nightly for tests
PSeitz Jun 15, 2021
b5cc60f
Merge pull request #1080 from PSeitz/more_tests
PSeitz Jun 15, 2021
cd169de
use dynamic fast field codec for offset index
PSeitz Jun 15, 2021
36528c5
move counting writer to common
PSeitz Jun 16, 2021
646e41b
Merge pull request #1083 from PSeitz/termdict_block_layout
PSeitz Jun 16, 2021
cd049e2
Merge pull request #1082 from PSeitz/fastfieldcompression
PSeitz Jun 16, 2021
5b54a32
use concrete return type, fixes #1084
PSeitz Jun 16, 2021
f9531ec
Merge pull request #1085 from PSeitz/fastfieldcompression
PSeitz Jun 16, 2021
57ae5b2
fix store reader iterator, take 2
appaquet Jun 16, 2021
65546ed
Merge pull request #1088 from appaquet/fix/store-reader-iterator-take2
PSeitz Jun 16, 2021
f05e84f
add FieldEntry constructor, closes #1086 (#1090)
PSeitz Jun 17, 2021
bb48830
Exposing min/max value interface on MultiValuedFastField Reader (#1094)
evanxg852000 Jun 22, 2021
6eed05b
Revert "Exposing min/max value interface on MultiValuedFastField Read…
fulmicoton Jun 23, 2021
c82cee6
exposing min/max value interface on MultiValuedFastField Reader (#1096)
evanxg852000 Jun 23, 2021
de92f09
Closes #1101 fix delete documents with sort by field
fulmicoton Jun 30, 2021
6ba302c
Use dynamic fastfield codes for multivalues fixes #1093
PSeitz Jun 23, 2021
8526434
add dynamic fastfield case
PSeitz Jun 24, 2021
5c9e2ef
wrap docidmapping in struct
PSeitz Jun 25, 2021
9b743d6
make docid mapping non optional
PSeitz Jun 25, 2021
130495a
cleanup
PSeitz Jun 30, 2021
d584975
Fixed CHANGELOG to include 0.15.2.
fulmicoton Jun 30, 2021
24274ed
remove trait impl fpr &Vec
PSeitz Jun 30, 2021
3b5c1d7
use measure_time 0.7
PSeitz Jun 30, 2021
f80d804
add random commits in proptest
PSeitz Jun 30, 2021
94ac44d
proptest with optional sorting
PSeitz Jun 30, 2021
a15845f
add merge case to proptest, test multivalue fastfields
PSeitz Jun 30, 2021
aea2e77
Merge pull request #1097 from PSeitz/multifastfield
PSeitz Jun 30, 2021
7413f87
use set instead of vec in proptest
PSeitz Jul 1, 2021
8044ec3
test docstore in proptest
PSeitz Jul 1, 2021
ebebce2
cargo fmt
PSeitz Jul 1, 2021
8fdf59b
add search test for proptest
PSeitz Jul 1, 2021
be3e1b8
cargo fmt
PSeitz Jul 1, 2021
86d0727
add facet test
PSeitz Jul 1, 2021
074b09d
Merge pull request #1102 from PSeitz/proptests
PSeitz Jul 1, 2021
10f056f
apply clippy fixes
PSeitz Jul 1, 2021
2de249a
clippy fixes
PSeitz Jul 1, 2021
1e4df54
fix clippy
PSeitz Jul 1, 2021
e496ae0
clippy fixes
PSeitz Jul 1, 2021
a1ac63e
fix clippy
PSeitz Jul 1, 2021
9b3e508
fix clippy
PSeitz Jul 1, 2021
0062fe7
cargo fmt
PSeitz Jul 1, 2021
e6427b2
cleanup
PSeitz Jul 2, 2021
18377d9
Merge pull request #1105 from PSeitz/clippy
PSeitz Jul 2, 2021
9b662e6
move ownedbytes to own crate
PSeitz Jul 2, 2021
57f931d
Create coverage.yml
PSeitz Jul 3, 2021
92f20bc
use nightly image in coverage
PSeitz Jul 3, 2021
c431cfc
extend proptests, fix race condition (#1107)
PSeitz Jul 5, 2021
f4b2e71
Handle field names with any characters with a known set of special (…
fmassot Jul 5, 2021
811ac98
more inlines
PSeitz Jul 5, 2021
8176b03
Merge pull request #1108 from PSeitz/pwnedbytes
PSeitz Jul 5, 2021
4e3771b
stale comments in segment_reader.rs
shikhar Jul 16, 2021
b361315
FilterCollector doc fix
shikhar Jul 16, 2021
467a951
Merge pull request #1114 from shikhar/patch-2
fmassot Jul 20, 2021
1db76dd
Merge pull request #1113 from shikhar/patch-1
fmassot Jul 20, 2021
0b1add0
move rand to optional dependencies
PSeitz Jul 21, 2021
470bc18
Merge pull request #1118 from tantivy-search/remove_rand
PSeitz Jul 21, 2021
ff48135
add comments on compression (#1119)
PSeitz Jul 26, 2021
b8a10c8
switched to memmap2-rs (#1120)
evanxg852000 Jul 27, 2021
f0ee69d
Remove the complicated block search logic for a simpler branchless (#…
fulmicoton Jul 30, 2021
44e8cf9
Cargo fmt
fulmicoton Jul 30, 2021
108714c
add sort to functional test, add env for iterations
PSeitz Aug 2, 2021
fdc5123
Merge pull request #1128 from tantivy-search/merge_overflow
PSeitz Aug 2, 2021
6d265e6
fix gh action name
PSeitz Aug 2, 2021
70f160b
add long running test in ci
PSeitz Aug 2, 2021
605e860
add positions to long running test
PSeitz Aug 2, 2021
022ab9d
don't run as pr
PSeitz Aug 2, 2021
85d23e8
Merge pull request #1129 from tantivy-search/merge_overflow
PSeitz Aug 2, 2021
4a320fd
fix delta position in merge and index sorting (#1132)
PSeitz Aug 3, 2021
f379a80
test doc_freq and term_freq in sorted index
PSeitz Aug 3, 2021
f6cf6e8
Merge pull request #1133 from tantivy-search/merge_overflow
PSeitz Aug 5, 2021
dc141cd
more docs detail
PSeitz Aug 13, 2021
47ed188
Merge pull request #1136 from tantivy-search/minor_fixes
PSeitz Aug 13, 2021
0ca7f73
add docs badge, fix build badge
PSeitz Aug 13, 2021
5b475e6
Checksum validation using active files (#1130)
evanxg852000 Aug 19, 2021
750f6e6
Removed obsolete unit test (#1138)
fulmicoton Aug 19, 2021
3b247fd
Version bump
fulmicoton Aug 19, 2021
3e8f267
rename common to tantivy-common
PSeitz Aug 19, 2021
483e033
Merge pull request #1140 from tantivy-search/tantivy_common
PSeitz Aug 19, 2021
ee08817
move bitset to common crate, move composite file to directory
PSeitz Aug 19, 2021
3265f7b
dissolve common module
PSeitz Aug 19, 2021
62052bc
add missing test function
PSeitz Aug 20, 2021
1a45b03
Merge pull request #1141 from tantivy-search/tantivy_common
PSeitz Aug 20, 2021
13401f4
add wildcard mention
PSeitz Aug 21, 2021
e0b83eb
cargo fmt
PSeitz Aug 21, 2021
06a2e47
Merge pull request #1145 from tantivy-search/blub2
PSeitz Aug 21, 2021
798f7db
add sorting to book
PSeitz Aug 23, 2021
b4ecf0a
Merge pull request #1146 from tantivy-search/sorting_doc
PSeitz Aug 23, 2021
abd29f6
Update index_sorting.md
PSeitz Aug 24, 2021
000d76b
Update index_sorting.md
PSeitz Aug 24, 2021
a1782dd
Update index_sorting.md
PSeitz Aug 25, 2021
096ce74
Resolve some clippys, format (#1144)
sigaloid Aug 25, 2021
9f32b22
Preparing for release.
fulmicoton Aug 25, 2021
dd81e38
Add WhitespaceTokenizer (#1147)
mocobeta Aug 29, 2021
9d87b89
Fix incorrect comment for Index::create_in_dir (#1148)
k-yomo Sep 3, 2021
319609e
test cargo-llvm-cov (#1149)
PSeitz Sep 3, 2021
3bc177e
fix #1151 (#1152)
PSeitz Sep 10, 2021
46b86a7
Bounced version and edited changelog
fulmicoton Sep 10, 2021
4ae1d87
add DeleteBitSet iterator
PSeitz Sep 15, 2021
2c78b31
Update memmap2 requirement from 0.3 to 0.4 (#1155)
dependabot[bot] Sep 16, 2021
4da7127
add de/serialization for bitset
PSeitz Sep 17, 2021
c22177a
add iterator
PSeitz Sep 17, 2021
93cbd52
move code to biset, add inline, add benchmark
PSeitz Sep 18, 2021
beb3a5b
fix len
PSeitz Sep 18, 2021
4583fa2
fixes
PSeitz Sep 23, 2021
37c5fe3
Update memmap2 requirement from 0.4 to 0.5 (#1157)
dependabot[bot] Sep 23, 2021
a1f5cea
AliveBitSet instead of DeleteBitSet
PSeitz Sep 23, 2021
d7a6a40
renames
PSeitz Sep 23, 2021
b256df6
add index accessor for index writer (#1159)
Mesteery Sep 23, 2021
367f5da
Fixed comment to the index accessor
fulmicoton Sep 23, 2021
c27ccd3
improve naming
PSeitz Sep 23, 2021
c217bfe
cargo fmt
PSeitz Sep 23, 2021
5ee5037
create and use ReadSerializedBitSet
PSeitz Sep 24, 2021
22bcc83
fix padding in initialization
PSeitz Sep 24, 2021
efc0d83
fix comment
PSeitz Sep 24, 2021
fe8e58e
Merge pull request #1154 from PSeitz/delete_bitset
PSeitz Sep 24, 2021
0ce49c9
use lz4_flex 0.9.0 (#1160)
PSeitz Sep 27, 2021
f27ae04
fix slope calculation in multilinear interpol (#1161)
PSeitz Sep 27, 2021
74e36c7
Add unit tests for tokenizers and filters (#1156)
mocobeta Sep 27, 2021
f21e8dd
use only segment ordinal in docidmapping
PSeitz Sep 27, 2021
078c0a2
reserve vec
PSeitz Sep 28, 2021
8d8315f
prealloc vec in postinglist
PSeitz Sep 28, 2021
aa0396f
fix variable names
PSeitz Oct 1, 2021
d828e58
Merge pull request #1163 from PSeitz/reduce_mem_usage
PSeitz Oct 1, 2021
0855649
Leaning more on the alive (vs delete) semantics. (#1164)
fulmicoton Oct 5, 2021
4d05b26
Update lru requirement from 0.6.5 to 0.7.0 (#1165)
dependabot[bot] Oct 5, 2021
ffe4446
Minor lint comments (#1166)
fulmicoton Oct 6, 2021
352e0cc
Adde demux operation (#1150)
PSeitz Oct 6, 2021
894c618
Fix test compilation (#1168)
fulmicoton Oct 6, 2021
b52abbc
Bugfix transposition_cost_one in FuzzyQuery (#1167)
fulmicoton Oct 7, 2021
02cffa4
Code simplification. (#1169)
fulmicoton Oct 7, 2021
27acfa4
Removing dead file (#1170)
fulmicoton Oct 7, 2021
b5b1244
More functionality in the ownedbytes crate (#1172)
fulmicoton Oct 7, 2021
d18ac13
Search simplified (#1175)
fulmicoton Oct 18, 2021
3a78402
update links (#1176)
PSeitz Oct 18, 2021
c412a46
Remove travis config (#1180)
palfrey Oct 24, 2021
e5fd30f
Fixed links (#1177)
evanxg852000 Oct 25, 2021
0966845
Update codecov-action to v2 and make it possible to keep it up-to-dat…
Oct 25, 2021
737ecc7
Fix outdated comment for IndexWriter::new (#1183)
Oct 25, 2021
99cd25b
use <T: Into<Box<dyn Directory>>> as parameter to open/create an Index
PSeitz Oct 24, 2021
e2fbbc0
Merge pull request #1182 from PSeitz/remove_directory_generic
PSeitz Oct 25, 2021
6317982
Make indexer::prepared_commit public (#1184)
dcecile Oct 26, 2021
980d1b2
Removing Patreon link
fulmicoton Oct 26, 2021
d336c8b
Fixed logo
fulmicoton Oct 26, 2021
54afb9b
Made PrepareCommit private
fulmicoton Oct 29, 2021
4808648
check searcher num docs in proptest
PSeitz Oct 29, 2021
dbaf4f3
Merge pull request #1187 from PSeitz/sort_issue
PSeitz Oct 29, 2021
70283dc
fix incorrect padding in bitset for multiple of 64
PSeitz Oct 29, 2021
5916ced
Merge pull request #1188 from PSeitz/sort_issue
PSeitz Oct 29, 2021
0462754
Optimize block wand for one and several TermScorer. (#1190)
fmassot Nov 1, 2021
7dc0dc1
extend proptests with adding case (#1191)
PSeitz Nov 1, 2021
8b877a4
Update measure_time requirement from 0.7.0 to 0.8.0
dependabot[bot] Nov 4, 2021
c12e07f
Merge pull request #1196 from quickwit-inc/dependabot/cargo/measure_t…
PSeitz Nov 5, 2021
c6b5ab1
Replacing the panic check in the RAM Directory on lack of flush.
fulmicoton Nov 9, 2021
b75d4e5
Remove the broken panic on drop unit test. (#1200)
fulmicoton Nov 10, 2021
fcff915
Fix the deserialization error of FieldEntry when the 'options' field …
azerowall Nov 10, 2021
7234bef
Issue/1198 (#1201)
fulmicoton Nov 11, 2021
33301a3
Update fail requirement from 0.4 to 0.5 (#1197)
dependabot[bot] Nov 12, 2021
8802d12
Prepare commit is public again (#1202)
fulmicoton Nov 12, 2021
eacf510
Exchange gitter link for discord
fulmicoton Nov 15, 2021
c83d99c
Remove patron link and changer gitter links to discord links.
fmassot Nov 15, 2021
4fd1a6c
Merge pull request #1207 from quickwit-inc/fix-chat-links
fmassot Nov 15, 2021
bbc0a2e
Fixing the build
fulmicoton Nov 16, 2021
72cef12
Add `none` compression (#1208)
shikhar Nov 16, 2021
cf92be3
fix lz4_flex version
PSeitz Nov 16, 2021
02174d2
Merge pull request #1209 from quickwit-inc/lz4_flex_version
PSeitz Nov 16, 2021
c503c6e
Switch to non-strict schema (#1216)
PSeitz Nov 29, 2021
bd0f921
Remove unused sort for segmenta meta list (#1218)
Dec 1, 2021
c3cc934
Bugfix: adds missing fdatasync on atomic_write.
fulmicoton Dec 2, 2021
dde49ac
Closes #1195 (#1222)
fulmicoton Dec 2, 2021
f378d9a
Pleasing clippy
fulmicoton Dec 2, 2021
1d4e9a2
Cargo fmt
fulmicoton Dec 2, 2021
03c2f6e
We are missing 4 bytes in the LZ4 compression buffer. (#1226)
fulmicoton Dec 2, 2021
466dc82
Cargo fmt
fulmicoton Dec 2, 2021
098eea8
Reducing the number of call to fsync on the directory. (#1228)
fulmicoton Dec 3, 2021
c980b19
canonicalize path when opening `MmapDirectory` (#1231)
saroh Dec 9, 2021
ebdbb6b
Fixing compilation warnings & clippy comments.
fulmicoton Dec 10, 2021
9e66c75
Using stable in CI as rustc nightly seems broken
fulmicoton Dec 10, 2021
c81b303
Issue/922b (#1233)
fulmicoton Dec 10, 2021
b2da82f
Making MergeCandidate public in order to allow the usage of custom me…
fulmicoton Dec 13, 2021
e5e252c
LogMergePolicy knob `del_docs_percentage_before_merge` (#1238)
shikhar Dec 20, 2021
3129d86
doc(termdict) expose structs (#1242)
saroh Jan 3, 2022
17e00df
Change Snippet.fragments -> Snippet.fragment (#1243)
liamwarfield Jan 3, 2022
2c200b4
Use test-log instead of test-env-log (#1248)
d-e-s-o Jan 4, 2022
395303b
Collector + directory doc fixes (#1247)
saroh Jan 4, 2022
3ea6800
Pleasing clippy (#1253)
fulmicoton Jan 6, 2022
1c6d9bd
Comparison of Value based on serialization. (#1250)
fulmicoton Jan 7, 2022
732f684
Field type with codes (#1255)
fulmicoton Jan 7, 2022
99d4b1a
Searcher Warming API (#1261)
shikhar Jan 20, 2022
5a2497b
Avoid exposing TrackedObject from Warmer API (#1264)
shikhar Jan 25, 2022
9679c5f
Rename quickwit-inc -> quickwit-oss
fulmicoton Jan 27, 2022
eca6628
Minor refactoring (#1266)
fulmicoton Jan 28, 2022
4c1366d
Update fastdivide requirement from 0.3 to 0.4 (#1265)
dependabot[bot] Jan 31, 2022
65b365b
Fixing all-features build.
fulmicoton Jan 31, 2022
0d8263c
Using nightly to format
fulmicoton Jan 31, 2022
2069e3e
Fixing clippy comments
fulmicoton Feb 1, 2022
13a4473
Removing obsolete clippy allow thingy.
fulmicoton Feb 1, 2022
bdedefe
Adding an IndexingContext object (#1268)
fulmicoton Feb 4, 2022
e665322
Renamed github workflows (#1269)
fulmicoton Feb 4, 2022
fcd651f
Add Vaporetto tokenizer to README (#1271)
vbkaisetsu Feb 14, 2022
505e6a4
Remove test assertion sensitive to background segment merging (#1274)
shikhar Feb 17, 2022
850b9ea
added a bench to measure the perf of indexing logs (#1275)
fulmicoton Feb 18, 2022
e028515
Simplified expull code. (#1281)
fulmicoton Feb 18, 2022
e05e2a0
Added profiling to indexing bench (#1282)
fulmicoton Feb 18, 2022
cef1457
Fix opening bytes index with dynamic codec (#1279)
PSeitz Feb 18, 2022
4dc80cf
Removes TokenStream chain. (#1283)
fulmicoton Feb 21, 2022
972cb6c
Aggregation (#1276)
PSeitz Feb 21, 2022
9815067
Minor changes
fulmicoton Feb 21, 2022
d37633e
Minor changes in indexing. (#1285)
fulmicoton Feb 21, 2022
2c28b58
fix docs
PSeitz Feb 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "20:00"
open-pull-requests-limit: 10

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
time: "20:00"
open-pull-requests-limit: 10
25 changes: 25 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Coverage

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup toolchain install nightly --component llvm-tools-preview
- name: Install cargo-llvm-cov
run: curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: true
24 changes: 24 additions & 0 deletions .github/workflows/long_running.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Long running tests

on:
push:
branches: [ main ]

env:
CARGO_TERM_COLOR: always
NUM_FUNCTIONAL_TEST_ITERATIONS: 20000

jobs:
functional_test_unsorted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run indexing_unsorted
run: cargo test indexing_unsorted -- --ignored
functional_test_sorted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run indexing_sorted
run: cargo test indexing_sorted -- --ignored

42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Unit tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --workspace
- name: Install latest nightly to test also against unstable feature flag
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- name: Install latest nightly to test also against unstable feature flag
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run tests
run: cargo +stable test --features mmap,brotli-compression,lz4-compression,snappy-compression,failpoints --verbose --workspace
- name: Check Formatting
run: cargo +nightly fmt --all -- --check
- uses: actions-rs/clippy-check@v1
with:
toolchain: stable
token: ${{ secrets.GITHUB_TOKEN }}
args: --tests

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tantivy.iml
.cargo
proptest-regressions
*.swp
target
Expand Down
92 changes: 0 additions & 92 deletions .travis.yml

This file was deleted.

Loading