Re: delete/update

2001-12-10 Thread jean-christian . gagne
Hi Serge, You can't remove a field from a Document. If you compare an Index in Lucene to a table in a relational database, a Document is a row and a Field is a column. You can always delete a row but you cannot remove a column (for a single row). However, if you can directly update a row in a

Re: searching words starting with accent characters using UTF-8

2001-12-09 Thread jean-christian . gagne
>As posted in >one of the Lucene user-list mail I tried using UTF-8 encoding I don't know for queries, but when I use accent characters in a XML document, I use ISO-8859-1 encoding (otherwise the parser complains). JCG -- To unsubscribe, e-mail: For additi

RE: concurrent usage summary

2001-12-09 Thread jean-christian . gagne
Thanks a lot for the complete answer Doug ! JCG -- To unsubscribe, e-mail: For additional commands, e-mail:

concurrent usage summary

2001-12-07 Thread jean-christian . gagne
Hi all, It looks like Lucene supports concurrent searchs as long as the index is not modified with add, delete, or optimize actions (and maybe others?). For those actions, it is not clear what is happening (at least for me) with open searchers, readers and writers. Can those be reused freely ?

RE: existing or not existing

2001-12-06 Thread jean-christian . gagne
|+---> || Doug Cutting | || | || | || 05.12.2001 18:21 | || Please respond to| || "Lucene Users List" | |

Re: existing or not existing

2001-12-04 Thread jean-christian . gagne
> 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 sim

Re: existing or not existing

2001-12-04 Thread jean-christian . gagne
Thank you for your quick answer. I agree that create=true indicates that it's ok to overwrite. But when create=false and the index does not exists, I get a FileNotFoundException. I expected something like java.io.FileOutputStream 'append' flag : false = overwrite true = If the file exists, use

existing or not existing

2001-12-04 Thread jean-christian . gagne
Hi there, I'm testing Lucene after reading a good article on it on JavaWorld. Lucene seems quite simple and very powerful, but there's something I can't get. The first time an application uses an index, this one doesn't exist yet, so the boolean argument of the IndexWriter constructor must be

test - don't read

2001-12-04 Thread jean-christian . gagne
Just a test. I told you not to read it :-) -- To unsubscribe, e-mail: For additional commands, e-mail: