Re: Postgres + Xapian (was Re: fulltext searching via a

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Postgres + Xapian (was Re: fulltext searching via a
Date: 2004-01-03 16:15:57
Message-ID: Pine.GSO.4.58.0401031912091.11643@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Sat, 3 Jan 2004, Christopher Kings-Lynne wrote:

> > I think one way of attacking the problem would be using the existing
> > nbtree by allowing it to store the five btrees. First read the README
> > in the nbtree dir, and then poke at the metapage's only structure. You
> > will see that it has a BlockNumber to the root page of the index. Try
> > modifying that to make it have a BlockNumber to every index's root page.
> > You will have to provide ways to access each root page and maybe other
> > nonstandard things (such as telling the root split operation what root
> > page are you going to split), but you will get recovery and concurrency
> > (at least to a point) for free.
>
> Why not write it using the GiST interface - that is after all the entire
> point of GiST...

I think this would be the best approach, we have already btree_gist which
is a gist realization of btree. We started working on concurrency and recovery
for GiST and hope to get it working for 7.5. Another work we'd like to
work is extending of GiST interface, so other important ADT's like digital
trees, quad-tree, s-tree etc could be implemented. But we decided to get
concurrency and recovery works at first.

>
> Chris
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2004-01-03 16:21:48 Re: website doc search is extremely SLOW
Previous Message Alvaro Herrera 2004-01-03 16:12:05 Re: Postgres + Xapian (was Re: fulltext searching via a custom index type )

Browse pgsql-hackers by date

  From Date Subject
Next Message ivan 2004-01-03 21:20:57 Re: time format
Previous Message Alvaro Herrera 2004-01-03 16:12:05 Re: Postgres + Xapian (was Re: fulltext searching via a custom index type )