DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26196>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26196

IndexWriter problem when create set to false





------- Additional Comments From [EMAIL PROTECTED]  2004-03-04 17:52 -------
I don't think that is a correct description of current behaviour.  Perhaps this
is the source of the confusion.  Current behaviour should be:

public IndexWriter(String d, Analyzer a, boolean create) throws IOException {
    if (create) {
      // if the directory doesn't exist, create it
      // if the files are there, delete them and start again
    } else {
      // if the directory doesn't exist, or the files are not there,
      // throw a FileNotFoundException, else work with what's there
    }
 }

Is that not what you're seeing?

Also, for back-compatibility reasons, we cannot change the semantics of
IndexWriter(String,boolean).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to