소스 검색

New index; more pages

Daoud Clarke 3 년 전
부모
커밋
6e5e56f99a
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      config/tinysearchengine.yaml
  2. 1 1
      mwmbl/tinysearchengine/indexer.py

+ 2 - 2
config/tinysearchengine.yaml

@@ -8,5 +8,5 @@ server_config:
 
 index_config:
   index_path: data/index.tinysearch
-  num_pages: 25600
-  page_size: 4096
+  num_pages: 76800
+  page_size: 4096

+ 1 - 1
mwmbl/tinysearchengine/indexer.py

@@ -9,7 +9,7 @@ import mmh3
 from zstandard import ZstdDecompressor, ZstdCompressor, ZstdError
 
 
-NUM_PAGES = 25600
+NUM_PAGES = 76800
 PAGE_SIZE = 4096