Index Persistency

2002-05-30 Thread Hyong Ko
Do I have to reindex everything when I restart Lucene? Thanks. _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: For additional commands, e-m

Re: segment count

2002-05-30 Thread Hyong Ko
name. That segment name is used to create a SegmentInfo, which gets added to the SegmentInfos vector. Am I missing something? Thanks!! >From: Ian Lea <[EMAIL PROTECTED]> >Reply-To: "Lucene Users List" <[EMAIL PROTECTED]> >To: Hyong Ko <[EMAIL PROTECTED]> &g

Re: segment count

2002-05-30 Thread Hyong Ko
Everytime segments are merged, the segment counter (based on an index number which is zero based) is incremented by one to name the index files. >From: "Hyong Ko" Reply-To: "Lucene Users List" To: >[EMAIL PROTECTED] Subject: segment count Date: Thu, 30 May >200

segment count

2002-05-30 Thread Hyong Ko
I added a segment using IndexWriter.addDocument. Then I called IndexWriter.optimize (IndexWriter.close works too) to generate index files to do a search. Then I added another segment using IndexWriter.addDocument. The total segment count should be 2, but instead it's 3. Any ideas? Is this the

Adding segments after exiting program

2002-05-30 Thread Hyong Ko
Hello. Is there a way to add segments to the existing index files after exiting the program, ex. opening and adding segments? How do I preserve my previously indexed files? Thank you very much. _ Get your FREE download of MSN Explo

Searching UNICODE

2002-05-01 Thread Hyong Ko
when I ran SearchFiles, the output debug showed the byte arrays in default byte! I tried calling QueryParser.parse after converting the search string to UTF-8, but still got non-UTF8 bytes. I think that's why my search's been failing. Any ideas?? Thank you very much. Hyong Ko [

Unicode support

2002-04-30 Thread Hyong Ko
Hello. What are the necessary steps that I need to take in order to support UNICODE? I recompiled with JAVA_UNICODE_ESCAPE turned on. I am using demo classes, IndexFiles and SearchFiles, to test UNICODE but still unable to search words encoded in UTF-8. Any suggestions? Thank you.

Search UNICODE

2002-04-30 Thread Hyong Ko
when I ran SearchFiles, the output debug showed the byte arrays in default byte! I tried calling QueryParser.parse after converting the search string to UTF-8, but still got non-UTF8 bytes. I think that's why my search's been failing. Any ideas?? Thank you very much. Hyong Ko [