Skip to content

FTS index type documented in Python, but is disallowed #5314

@mackrorysd

Description

@mackrorysd

The pylance docs list FTS as a valid index type for create_scalar_index, and internally this is treated as an alias for INVERTED, but this is not done consistently, and is disallowed by the function. I would suggest simply removing the alias as the simpler option, and the docs for INVERTED already make it clear it's the choice for full-text search.

I'm going to put up a PR that simply removes the partial implementation of such an alias. I'm happy to go through and more fully implement the alias instead if we feel that's best (it is a little more friendly to a new-comer, but overall I would say not worth the overhead of an alias).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions