Re: Postgres + Xapian (was Re: fulltext searching via a - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Postgres + Xapian (was Re: fulltext searching via a
Date
Msg-id 3FF665F3.6090108@familyhealth.com.au
Whole thread Raw
In response to Re: Postgres + Xapian (was Re: fulltext searching via a custom index type )  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: Postgres + Xapian (was Re: fulltext searching via a custom index type )  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Postgres + Xapian (was Re: fulltext searching via a  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
> 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...

Chris


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: PL/Java issues
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: time format