1 Jul 2005 02:06
Re: Xapian Search
Olly Betts <olly <at> survex.com>
2005-07-01 00:06:08 GMT
2005-07-01 00:06:08 GMT
On 2005-06-26, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:
> Just let me know how you'd like Xapian to be called, and I can whip
> something up.
Previously I thought it simplest to just "nc sea 8002" myself, but now
I've thought about this more, I think it's better if the "log-datespool"
script tells Xapian when it has added an article to the date sorted
spoool. That way I don't need to worry about whether the article that
sea has just announced has been processed by log-datespool and is
actually readable there or not.
So I guess if it can dump paths like this:
2005/07/01/00/11/21
to a file, then after a certain number (or a certain time) start a new
file and rename the existing one which the xapian indexer will then see
and pick up.
The obvious alternative seems to be for log-datespool to open the
xapian indexer as a pipe, which means that log-datespool needs to be
restarted whenever the indexer is changed.
It's probably simplest if I just adjust the scripts to show what I have
in mind.
Cheers,
Olly




RSS Feed