Skip to content

text_match operator fails to execute query containing stop words #10865

@jackluo923

Description

@jackluo923

Lucene strips away stop words and symbols prior to indexing but it seems like Pinot doesn't do the same when running queries on a text index. As a result, a query like:
SELECT * FROM table WHERE text_match("col", '"function not in list"')
will not return any result if the words not and in are stop words that were stripped out during ingestion. A temporary workaround is to exclude all stop words in the index config.

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