I am using Postgres FTS to implement search. This is my sample tsvector:
{'analyst':2A 'busi':1A}
The query I am using is
SELECT * FROM table_name WHERE tsv @@ to_tsquery('english', 'b:*')
The result is showing correctly, but if I use 'a:*' instead of 'b:*',
SELECT * FROM table_name WHERE tsv @@ to_tsquery('english', 'a:*')
The result is an empty set.
Is this some bug in PostgreSQL serach? I am using PostgreSQL version 12.6.