Hi, On Thu, Jul 16, 2009 at 13:16, Marcel Reutegger<marcel.reuteg...@gmx.net> wrote: > On Thu, Jul 16, 2009 at 12:28, Jukka Zitting<jukka.zitt...@gmail.com> wrote: >> Alternatively, we should probably move the extraction timeout handling >> to some getExtractedText(long timeout) method that does a >> wait(timeout) call on the extraction task, waiting for it to return >> the extracted text as a String. If the timeout is reached, then just >> an empty string is used and the rest of the extraction task is placed >> in the indexing queue. > > does that mean you want to change the return value of a TextExtractor from > Reader to String? or that would be on top of the existing interface?
just realized that this is probably not what you meant. I guess you rather meant to change TextExtractorJob. e.g. instead of getReader(timout) it could be changed to getExtractedText(timeout). I think that might work... do you want to give it a try, or should I? regards marcel