Skip to content

create_custom_model with where clause as well #99

Description

@khoatavbis

Hi, thank you for the bm25 implementation, I was wondering for the custom model creation with

SELECT create_custom_model('model1', $$
table = <table_name>
column = <column_name>
text_analyzer = 'text_analyzer1'
$$);

can I use a filter with WHERE clause inside, since for my use case, there would be an id column and I need a model (and a tokenizer) for each of the id inside my table. Thanks for the great work!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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