Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Posts
    4
    Rep Power
    0

    Default Lucene Re-Indexing

    I have some small isssue while developing desktop search application....when lucene struck while indexing some files because of out of memory or any other reason ..but when i restart again ..lucene tries to reindex again all the files.... is there anyway where i can instruct lucene to index only those files which are not indexed before...????

  2. #2
    Johnny Kewl is offline Member
    Join Date
    May 2008
    Location
    SA
    Posts
    4
    Rep Power
    0

    Default

    There may be some way to do it against a single index file, but then if it did crash, its prob best not even to try rescue the file.

    The way I do it is say by generating a single index per directory or disk, or whatever, and then you dont have to wait for the machine to do the entire company type thing... the lucense can join index's with
    writer.addIndexes
    Isnt lucene cool... a really nice tool.

Similar Threads

  1. Indexing starting with 1
    By ravian in forum New To Java
    Replies: 4
    Last Post: 01-04-2008, 12:03 PM
  2. Work On Lucene
    By peiceonly in forum Lucene
    Replies: 1
    Last Post: 08-07-2007, 05:47 PM
  3. Lucene Image REtrieval 0.5.4
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-11-2007, 03:54 PM
  4. Apache Lucene 2.2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-22-2007, 12:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •