I will try to take a look at this tomorrow. Sorry for the delay! I have
been really busy lately.
On Apr 20, 2013 3:43 PM, "David Fowler" <notifications@github.com> wrote:

> In JabbR/Infrastructure/Lucene/LuceneIndexingService.cs:
>
> > +        {
> > +            using (var repo = _repositoryFunc())
> > +            {
> > +                int newestMessageKey;
> > +                int messageCountToIndex = repo.GetMessageCountSince(lastMessageKey, out newestMessageKey);
> > +
> > +                return new IndexTaskMetaData()
> > +                {
> > +                    LowerBoundMessageKey = lastMessageKey,
> > +                    UpperBoundMessageKey = newestMessageKey,
> > +                    TotalItemsToIndex = messageCountToIndex,
> > +                };
> > +            }
> > +        }
> > +
> > +        private void AddChatMessages(IndexTaskMetaData indexTaskMetaData)
>
> So we're building the index 100 messages at a time right? We need to
> option to run this same logic offline (when the index is first built). Or
> somehow split it up over multiple jobs.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/JabbR/JabbR/pull/827/files#r3885665>
> .
>