Skip to content

Commit

Permalink
chore move static files to docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
medcl committed Aug 18, 2024
1 parent 2100d26 commit 8784505
Show file tree
Hide file tree
Showing 18 changed files with 3,394 additions and 66,519 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ engines/**/.project
engines/**/.classpath
engines/**/.settings
results.json
web/build/results.json
engines/pizza-engine-0.1/*.svg
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ compile:

serve:
@echo "--- Serving results ---"
@cp results.json web/build/results.json
@cd web/build && python3 -m http.server $(PORT)
@cp results.json docs/results.json
@cd docs && python3 -m http.server $(PORT)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions engines/pizza-engine-0.1/src/bin/do_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ fn main_inner(index_dir: &Path){
count = result.hits.len()
}
"TOP_10" => {
query_context.size=10;
// for i in 0..1000{
let result = searcher.search(&query_context, &schema,&query, &snapshot);
// }
count = 1
}
"TOP_100" => {
query_context.size=100;
let result = searcher.search(&query_context, &schema,&query, &snapshot);
count = 1
}
Expand Down
Loading

0 comments on commit 8784505

Please sign in to comment.