Skip to content

Commit

Permalink
add space saving measure
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabbawukis committed Oct 16, 2024
1 parent aafde61 commit 8536759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sample_efficiency_evaluation/fact_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def _initialize_index(self, index_path) -> tuple[SegmentWriter, FileIndex]:
:param index_path:
:return:
"""
indexing_schema = Schema(title=TEXT(stored=True), path=ID(stored=True), text=TEXT(stored=self.save_file_content))
indexing_schema = Schema(
title=TEXT(stored=True), path=ID(stored=True), text=TEXT(stored=self.save_file_content)
)
if not os.path.exists(index_path):
os.mkdir(index_path)
indexer = create_in(index_path, indexing_schema)
Expand Down

0 comments on commit 8536759

Please sign in to comment.