From b19e33c5d18347c43434c96bdc181c8217d86ae2 Mon Sep 17 00:00:00 2001 From: capjamesg Date: Sun, 25 Aug 2024 20:52:22 +0100 Subject: [PATCH] fix bug with string_query_search start param --- jamesql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jamesql/index.py b/jamesql/index.py index 6da055a..85f099f 100644 --- a/jamesql/index.py +++ b/jamesql/index.py @@ -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. """