Support flags: ['fulltext'] for postgres
Feature Request
| Q | A |
|---|---|
| New Feature | yes |
| BC Break | no |
Summary
It appears that
#[ORM\Index(name: "article_fulltext", columns: ["headline", "summary"], flags: ["fulltext"])]#
Only works with MySQL. It would be nice if this generated the index for Postgres as well. And even SQLite.
Basically building in at least the tool that creates the index in this bundle: https://github.com/jaimz22/DoctrineFullTextPostrgres
Transferring to DBAL since the code that causes this to work with MySQL resides: https://github.com/doctrine/dbal/blob/7c4aa971ca9e3195eed400ade4b3a00a2617671b/src/Platforms/AbstractMySQLPlatform.php#L1054-L1055
@greg0ire @tacman @derrabus Is some help needed with this?
I don't think I'll be able to do it, but wanted to bring up the issue hoping someone else with more experience would.
I don't know the ins and outs of Doctrine but I think I could take a look and try to implement it.
Probably I'll need some investigation because the necessity of handling two columns. I'm not sure if doctrine is doing this for other cases.