[Xapian-devel] Searching without flush?
Robert Pollak
robert.pollak@fabasoft.com
Tue, 01 Jun 2004 16:19:42 +0200
Olly Betts wrote:
> I think the first question is what are you searching for?
All kinds of queries.
>>It seems that I have to modify Xapian to either
>>- search only the already flushed data (eventually missing some hits)
>
> This is easy to do - just open the database read-only (i.e. as a
> Xapian::Database).
Thank you Olly, this works fine for me.
I'll just add a timer-based flush and tell the user that newly added
documents can be found at least after n minutes.
--
Robert Pollak
GPG Key ID: 748646AD