Skip to content

Aawadall/port/rust/1 #11

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

Open
wants to merge 112 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
a9429ae
Fix typo
simongog Oct 21, 2019
4be949c
Merge pull request #1 from jermp/simongog-patch-1
Oct 21, 2019
5f97e36
Add python command
simongog Oct 21, 2019
8ad5d5b
Merge pull request #2 from jermp/simongog-patch-2
Oct 21, 2019
6a772e0
script updated
jermp Oct 21, 2019
5175365
script updated
jermp Oct 21, 2019
b44ca7e
more to README
jermp Oct 21, 2019
fcc8165
benchmark locate_prefix
jermp Oct 21, 2019
3ce021f
script for benchmarking locate_prefix
jermp Oct 22, 2019
ebe971c
typo in README
jermp Oct 22, 2019
3e072c6
Add driver for scripts
sgog-copilot Oct 22, 2019
98301a0
Merge pull request #3 from jermp/automation
Oct 22, 2019
74e6a3c
Removing utf-8 encoding
sgog-copilot Oct 22, 2019
c4c96c6
Merge pull request #4 from jermp/encoding
Oct 22, 2019
2c0b0de
automated testing with doctest
jermp Oct 22, 2019
0169fd0
automated testing with doctest
jermp Oct 22, 2019
5afbdf5
automated testing with doctest
jermp Oct 22, 2019
f0eee6d
empty todo
jermp Oct 22, 2019
48fab02
README updated
jermp Oct 22, 2019
2f70613
better testing
jermp Oct 23, 2019
1562354
more testing
jermp Oct 23, 2019
90aa2e7
install.sh script
jermp Oct 23, 2019
164df36
more testing
jermp Oct 23, 2019
a6941ef
example.sh
jermp Oct 23, 2019
4969609
minor
jermp Oct 24, 2019
a642eef
benchmark fc_dictionary::locate_prefix
jermp Oct 24, 2019
8753a0a
updated fc_dictionary results
jermp Oct 24, 2019
f45fa9d
updated partition_queries script
jermp Oct 24, 2019
b54375d
minor
jermp Oct 24, 2019
6d9bdae
deduplication of query terms
jermp Oct 24, 2019
9212c98
assert
jermp Oct 24, 2019
7194cba
minor
jermp Oct 24, 2019
efeb99f
using cmd_line_parser
jermp Oct 26, 2019
1465fec
using cmd_line_parser
jermp Oct 26, 2019
44dab2b
added license
jermp Oct 27, 2019
8d46c1c
dependencies updated
jermp Oct 27, 2019
4327f39
queries are just strings, without any id
jermp Nov 6, 2019
d50e944
removed comment
jermp Nov 8, 2019
6c79eba
removed unused import
jermp Nov 9, 2019
b2cc9a5
fix
jermp Nov 11, 2019
cd83f92
check for terms out of vocabulary
jermp Nov 13, 2019
c5086dc
print avg. number of terms x completion
jermp Nov 17, 2019
95720d8
minor changes
jermp Nov 20, 2019
d807990
map queries
jermp Nov 21, 2019
7309a0a
map queries
jermp Nov 21, 2019
a22a83d
map queries
jermp Nov 21, 2019
350df1b
fix benchmark_conjunctive_topk
jermp Nov 22, 2019
4aca383
fix benchmark_conjunctive_topk
jermp Nov 22, 2019
cca6b63
small optimization for block_inv_idx
jermp Nov 23, 2019
9cebb3d
minor fix: ensure bit width
jermp Nov 23, 2019
a52d05d
optimized bast and weber
jermp Nov 26, 2019
802ef16
refactoring
jermp Nov 28, 2019
78f27ed
script to automate benchmarking of dictionaries
jermp Nov 28, 2019
4e37b94
script to automate benchmarking of dictionaries
jermp Nov 28, 2019
e4fb185
Update README.md
simongog Dec 10, 2019
fae328f
effectiveness benchmark
jermp Feb 29, 2020
f47a744
effectiveness benchmark
jermp Feb 29, 2020
87ac6f8
effectiveness benchmark
jermp Feb 29, 2020
a5dbf28
effectiveness
jermp Mar 2, 2020
7f34276
minor fix
jermp Mar 3, 2020
f04f127
changed css style
jermp Mar 4, 2020
ad7e584
single-token queries with few completions switch to heap-based algori…
jermp Mar 10, 2020
9adfac2
up
jermp Mar 11, 2020
2732f63
refactored benchmarking suite
jermp Mar 11, 2020
58f6cb1
scripts updated
jermp Mar 11, 2020
0529890
scripts updated
jermp Mar 11, 2020
bac98f4
readme updated
jermp Mar 11, 2020
13c0433
minimal_docids
jermp Mar 16, 2020
cba9599
updated README with paper information
jermp May 12, 2020
ff80c3a
updated README with paper information
jermp May 12, 2020
8154ee6
ci: github actions setup
Razdeep Aug 4, 2021
bb22428
ci: added data preprocessing step
Razdeep Aug 4, 2021
36a78e5
ci: using python2 for data preprocessing
Razdeep Aug 4, 2021
e3ed478
ci: fixed yml error
Razdeep Aug 4, 2021
57be389
ci: fixed yaml indentation
Razdeep Aug 4, 2021
fe87ae5
Merge pull request #5 from Razdeep/github_ci
Aug 4, 2021
35acea6
ci: added dockerfile and ci steps
Razdeep Aug 5, 2021
23f5851
ci: docker base image changed from alpine to ubuntu
Razdeep Aug 6, 2021
6b6f28a
ci: added binary dict building step
Razdeep Aug 6, 2021
c58dee4
ci: using root user in docker
Razdeep Aug 7, 2021
05e3055
ci: compiling in the dockerfile
Razdeep Aug 7, 2021
ce76e9a
ci(workflow): docker image pushed to container registry only on master
Razdeep Aug 7, 2021
7e78b9e
docs: docker instructions added in readme
Razdeep Aug 7, 2021
bad1e8d
Merge pull request #6 from Razdeep/docker
Aug 10, 2021
1fa8497
commented out docker information from readme
jermp Aug 10, 2021
c91dd28
added instructions for using a Docker image (credits to Razdeep)
jermp Aug 26, 2021
2bb6a11
removed unused copy assignment operator
jermp Nov 3, 2021
83b9216
added quality code badge
jermp Nov 5, 2021
1e611a6
fix: util::find() issue fixed
Razdeep Feb 7, 2022
9627eef
fix: unsigned underflow handled
Razdeep Feb 8, 2022
a15ca75
Merge pull request #9 from Razdeep/bug_fix
jermp Feb 8, 2022
475450a
style
jermp Feb 8, 2022
5ddded0
added script to build indexes for test
jermp Jul 14, 2022
3320ae5
Update README.md
jermp Jan 8, 2023
ced049a
updated scripts in test_data to python3; added one extra assert (redu…
jermp Sep 23, 2023
ee542b4
updated doctest and CMake version
jermp Sep 23, 2023
36db40f
updated python version in workflow file
jermp Sep 23, 2023
5a4d67d
updated python version in docker file
jermp Sep 23, 2023
134e1a9
minor to readme
jermp Sep 24, 2023
3dfb83a
initial commit, porting primitieves
May 23, 2025
6d159eb
initial commit, porting primitieves
May 23, 2025
423c6d4
add doc
May 23, 2025
64a1902
add ds doc
May 23, 2025
79987bd
add class diagram
May 23, 2025
601fad7
add more details
May 23, 2025
8921c93
unstable
May 23, 2025
9729344
define entry points
May 23, 2025
4d3cb52
partial fix
May 23, 2025
0f1af5d
server partially running
May 23, 2025
50ee172
removed server until function works
May 25, 2025
5923ff3
add unit testing
May 25, 2025
ea4b222
Add target directory to .gitignore
May 25, 2025
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
113 changes: 112 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,113 @@
# Rust specific
/target/
**/target/
**/*.rs.bk
Cargo.lock
*.pdb

# Protocol Buffers
*.pb.h
*.pb.cc
*.pb.go
*.pb.swift
*.pb.dart
*.pb.js
*.pb.ts
*.pb.rs

# Generated Rust files
/src/autocomplete_proto.rs
/src/autocomplete_proto/*.rs

# C++ specific
*.o
*.obj
*.exe
*.out
*.app
*.dll
*.so
*.dylib
*.a
*.lib
*.d
*.lo
*.la
*.lai
*.Plo
*.Pla
*.l
*.o
*.obj
*.elf
*.bin
*.hex
*.map
*.lst
*.sym
*.lss
*.eep
*.elf
*.hex
*.bin
*.map
*.lst
*.sym
*.lss
*.eep
*.elf
*.hex
*.bin
*.map
*.lst
*.sym
*.lss
*.eep

# Build directories
/build/
**/build/
/debug_build/
**/debug_build/
/CMakeFiles/
**/CMakeFiles/
/CMakeCache.txt
**/CMakeCache.txt
/CMakeScripts/
**/CMakeScripts/
/Testing/
**/Testing/
/Makefile
**/Makefile
/cmake_install.cmake
**/cmake_install.cmake
/install_manifest.txt
**/install_manifest.txt
/compile_commands.json
**/compile_commands.json
/CTestTestfile.cmake
**/CTestTestfile.cmake
/_deps
**/_deps
/.cmake
**/.cmake

# IDE specific
.vscode/
.idea/
*.swp
*.swo
*~

# OS specific
.DS_Store
build
Thumbs.db

# Project specific
*.mapped
*.mapped.stats
*.dict
*.inverted
*.forward
*.bin
target/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
[submodule "external/mongoose"]
path = external/mongoose
url = https://github.com/cesanta/mongoose.git
[submodule "external/doctest"]
path = external/doctest
url = https://github.com/onqtam/doctest.git
[submodule "external/cmd_line_parser"]
path = external/cmd_line_parser
url = https://github.com/jermp/cmd_line_parser.git
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright 2019 Giulio Ermanno Pibiri

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Loading