[Xapian-devel] Searching without flush?

Robert Pollak robert.pollak at fabasoft.com
Tue Jun 1 15:19:42 BST 2004


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





More information about the Xapian-devel mailing list