Skip to content

FTS5 (full-text search) support #7

@Anutrix

Description

@Anutrix

FTS5 is an SQLite virtual table module that provides full-text search functionality to database applications.

Is there a way to use it with sqlite-xsv? I couldn't find a way to use using csv with using fts5.

If not can some support be added?

I currently do:

.load ./xsv0
select xsv_version();
create virtual table temp.students using csv(filename="students.csv");
CREATE VIRTUAL TABLE temp.studentsfts5 USING fts5(column1, column2, column3, column4);
INSERT INTO temp.studentsfts5 SELECT * FROM temp.students;

which for my dataset(2million records, 22 columns) takes a 40 seconds while xsv only took 1 second.

Just trying to see if I can leverage this amazingly fast library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions