Skip to content

Commit

Permalink
fix bug with string_query_search start param
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Aug 25, 2024
1 parent 0c81ad3 commit b19e33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jamesql/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _compute_string_query(self, query: str, query_keys: list = []) -> List[str]:

return query

def string_query_search(self, query: str, query_keys: list = [], start: int = 10) -> List[str]:
def string_query_search(self, query: str, query_keys: list = [], start: int = 0) -> List[str]:
"""
Accepts a string query and returns a list of matching documents.
"""
Expand Down

0 comments on commit b19e33c

Please sign in to comment.