From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Peter Schmelzer <peter(dot)schmelzer(at)desian(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Tsearch2 lexeme position |
Date: | 2005-05-12 14:54:02 |
Message-ID: | Pine.GSO.4.62.0505121850530.28346@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 12 May 2005, Peter Schmelzer wrote:
> Hi,
>
> this is an answer of thread
> http://archives.postgresql.org/pgsql-general/2003-08/msg00694.php
>
> You say it exist a funktion to fin positions an frequency of lexems for own
> calculate of an ranking since this time.
> But where is the description of this?
> May Im to blind but I spend a lot of time to search in internet for this.
>
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch-V2-intro.html
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch2-guide.html
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch2-ref.html
> has to less examples to see it.
> May it is'nt in?..
>
> I need it to serch terms with more than one lexem and later for an ranking
> for nearst lexems.
ranking functions is already aware of this. See tsearch2.sql in
contrib/tsearch2/sql for examples. We don't have API to specify your own
ranking function. Do you really need it ?
>
> greeds
> Peter Schmelzer
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Himanshu Baweja | 2005-05-12 14:58:41 | bg-writer queries regarding ( [Testperf-general] BufferSync and bgwriter ) |
Previous Message | Neil Conway | 2005-05-12 14:47:45 | Re: Table and index size |