Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I have the same problem.

Original comment by [email protected] on 26 May 2010 at 8:25

from luke.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I had the same problem. After the index creation I had many different files in 
my index folder (*.fdt, *.fdx, *.tvf, *.tvx, etc.). Whet I tried to open the 
index, there always came an error.
Then I created the index once more AND did "myIndexWriter.close()" at the end 
of the indexing process. After that I had ony 3 files in the index folder 
(_0.cfs, semgents.gen, segments_2) and I could open the index with Luke without 
any errors.
Hope that helps you (or others with this issue?).

Original comment by [email protected] on 18 Jan 2011 at 1:20

from luke.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
This behavior of Lucene and Luke is as designed. It's there to prevent 
accidental index corruption if there is another process that is still writing 
to the index. Therefore it makes sense that it should require a write access 
and it should be a conscious decision that you really want to modify an 
existing index (unlocking is a modification).

Original comment by [email protected] on 27 Apr 2011 at 10:19

  • Changed state: Invalid

from luke.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Huh? Why does it make sense that it should require write access? I came across 
this when trying to read an index that was currently being written by another 
process.  I know you shouldn't have more than one concurrent writer, which is 
why I selected "Open in Read-Only mode".  Seems like Luke should allow 
read-only access to a locked index, since that's what Lucene is designed to 
support.

Original comment by [email protected] on 6 Sep 2011 at 4:07

from luke.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.