PostgreSQL: Full Text Search - How to search partial words?

后端 未结 6 1214
情书的邮戳
情书的邮戳 2020-12-07 23:23

Following a question posted here about how I can increase the speed on one of my SQL Search methods, I was advised to update my table to make use of Full Text Search. This i

6条回答
  •  一生所求
    2020-12-07 23:51

    One thing that may work is break the word you are searching for into smaller parts. So you could look for things that have squi or quir or squire or etc... I'm not sure how efficient that would be though, but it may help.

    When you search for the film or movie you could try placing the text in the single quote. so it would be either 'show' or '"show"'. I think that could also work.

提交回复
热议问题