Re: tsearch2 dictionary that indexes substrings? - Mailing list pgsql-general

From Listmail
Subject Re: tsearch2 dictionary that indexes substrings?
Date
Msg-id op.tq3fvvtnzcizji@apollo13
Whole thread Raw
In response to Re: tsearch2 dictionary that indexes substrings?  (Tilmann Singer <tils-pgsql@tils.net>)
List pgsql-general
> I'm aware of that and in my case I don't think it will be a
> problem. It is for a type-ahead search web interface so actually it
> only requires indexing all possible substrings starting from char 1,
> ie. p, po, pos, post, postg, postgr, postgre, postgres, postgresq,
> postgresql.

    If you want to provide autocompletion, you could build a list of unique
lexemes from inserted posts, and use a btree index and LIKE...

pgsql-general by date:

Previous
From: "flying2001us@yahoo.com"
Date:
Subject: Re: binding 64-bit integer
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: Technical Documentation and Community Login