Re: [Tracker] Search doesn't return anything while content being indexed



On Wed, 2008-08-06 at 15:32 -0700, Jimmy Huang wrote:
On Wed, 2008-08-06 at 18:23 -0400, Jamie McCracken wrote:
I think my two options are:
1) modify tracker to support search while indexing, so pause the
indexer, run search, then continue the indexer (if this support already
exists, and it is easy to fix)

2) write my own client that bypass tracker and read directly from SQLite
database created, this means I open a separate database connection to do
READs while the the tracker is writing.  (is this problematic?)

It would be nice if tracker's architecture already can support this
where I can leverage, or I am thinking that I have to write my own
client to access the DB directly.

Can Jamie or anyone comment on this?


we will be moving towards sqlite FTS3 for indexing and its indexing
should be more incremental (say committing every 100 or 200 files
indexing)

I would advise against trying to hack round it for the moment

jamie




What is the schedule for that? I'll need a proof-of-concept within 4-6
weeks.  

as soon as indexer split has merged i will start work on integratng it -
I hope to have something ready in time for ubuntu feature freeze (28th
august)

jamie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]