> This is what I do, but frankly it's a little scary. > > Basically, if your open fails for some other reason, it >blows away your index. > > > I think it would make sense to follow the "standard" >of, if that flag is true, to make the index if needed and >use it if it exists. > > To simply clear the index completely should be another >mechanism that the user would call if they really wanted >to overwrite an index with a new one. I agree with you. To make sure that I don't overwrite an existing index just because the open failed, I won't rely on the exception but rather check for the presence of the segment file, as suggested in another reply. JCG -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- existing or not existing jean-christian . gagne
- Re: existing or not existing David Spencer
- Re: existing or not existing Otis Gospodnetic
- Re: existing or not existing Ian Lea
- Re: existing or not existing Trevor Boicey
- Re: existing or not existing Ype Kingma
- Re: existing or not existing jean-christian . gagne
- RE: existing or not existing Halácsy Péter
- RE: existing or not existing jean-christian . gagne
- RE: existing or not existing Doug Cutting
- RE: existing or not existing Otis Gospodnetic
- RE: existing or not existing jean-christian . gagne
- Lexical Error Christian Schrader
- *news* Serge A. Redchuk
- *news* - oops Serge A. Redchuk
- AW: Lexical Error Christian Schrader
- Re: AW: Lexical Error Halácsy Péter
- AW: AW: Lexical Error Christian Schrader
- Re: AW: Lexical Error Brian Goetz