From: Ben v. K. <bva...@gm...> - 2011-08-06 23:26:57
|
Another approach would be to create your indexes to a temporary location and search that location for your live query before merging into the main index. Ben On Sun, Aug 7, 2011 at 9:05 AM, Itamar Syn-Hershko <it...@co...>wrote: > There isn't such thing built into clucene nor Java Lucene. You are going to > have to keep a list of document IDs that once matched a query, and to > perform searches in the background every now and then with that document ID > in it (use your IDs, not Lucene's internal docids). > > > On Sat, Aug 6, 2011 at 9:12 AM, Clemens <cz...@au...> wrote: > >> Hi, >> >> not sure if this question better goes to the java lucene mailing list but >> you probably can help me too. >> >> I'm using clucene to implement a desktop search engine for the Haiku OS. I >> like to notify the user when a new document matches an existing query or a >> document not match anymore. Is there something like this build in? >> Otherwise I just need to check if an modified document matches a query. >> >> How can I check if a document satisfy a query? Or do I have to modify the >> query to only search a special document? What is the best to do it? >> >> thank you, >> Clemens >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos & much more. Register early & save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> CLucene-developers mailing list >> CLu...@li... >> https://lists.sourceforge.net/lists/listinfo/clucene-developers >> >> > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |