Skip to content

Commit

Permalink
Bump FTS INDEX_BUF_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
epoz committed Feb 8, 2024
1 parent 30b4276 commit 4c82952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/fts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
CREATE VIRTUAL TABLE IF NOT EXISTS literal_index_spellfix USING spellfix1;
"""

INDEX_BUF_SIZE = 9999
INDEX_BUF_SIZE = 999999


def search(q: str):
Expand Down
2 changes: 1 addition & 1 deletion src/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
FTS_FILEPATH,
)
import httpx
import logging, os, json, io, time, random
import logging, os, json, io, time, random, sys
from typing import Optional
from urllib.parse import quote, parse_qs
import pyoxigraph as px
Expand Down

0 comments on commit 4c82952

Please sign in to comment.