From: | Moe <mohamed5432154321(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Searching a DB index.. possible? |
Date: | 2010-02-11 16:42:00 |
Message-ID: | 861fed221002110842n7b7fee9ela67e47d317d36537@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bump
On Fri, Feb 5, 2010 at 5:48 PM, Moe <mohamed5432154321(at)gmail(dot)com> wrote:
> I am trying to figure out how I can introduce full text search "tips"...
> tips meaning, like if you start typing Mer ..
> then a box with a couple of words underneath comes up, with *Mercedes,
> Mercury *and so on :P
>
> I am thinking that the word suggestions needs to come from the already
> existing tsearch2 index.
> Words that are frequent in the index could be ranked higher as a search
> tip.
>
> Is there a way to query the actual existing index?
>
> How else could one approach this? There are many sites that uses this, so
> perhaps there is an easier way I haven't thought of yet.
>
> Thank you / Moe
>
From | Date | Subject | |
---|---|---|---|
Next Message | Igor Neyman | 2010-02-11 16:51:21 | Re: Postgres Triggers issue |
Previous Message | Carsten Kropf | 2010-02-11 16:38:21 | Re: Extending SQL in C using VARIABLE length type |