Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

re-architect FTS queries #1

Open
Mattwmaster58 opened this issue Sep 23, 2023 · 0 comments
Open

re-architect FTS queries #1

Mattwmaster58 opened this issue Sep 23, 2023 · 0 comments

Comments

@Mattwmaster58
Copy link
Owner

currently we query like this (implicitly). The problem with this is that any indexes on auction_lot will not/cannot be used, and FTS virtual tables cannot index anything other than text.

flowchart LR
    query <--> auction_lot_fts <--> auction_lot
Loading

Instead, we should likely do something like this with a join

flowchart TD
     auction_lot_fts --> query
     auction_lot --> query
Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant