Segments file format

2005-10-26 Thread Bill Tschumy
The 00 00 00 4E at the end of the first line seems like it should not be there. Am I mis-reading something? FF FF FF FF 00 00 00 00 00 00 00 28 00 00 00 4E 00 00 00 04 02 5F 6A 00 00 00 0A 03 5F 31 33 00 00 00 0A 03 5F 31 6E 00 00 00 0A 03 5F 32 35 00 00 00 09 -- Bill Tschumy Otherwise -- A

Re: Another index corruption problem

2005-10-25 Thread Bill Tschumy
I hate to plead, but I really need to do my best to recover my customer's data. Does anyone have any pointers for how to manually (or programmatically) repair this corrupted index? On Oct 24, 2005, at 11:23 PM, Bill Tschumy wrote: Many months ago I wrote this list about a corrupted

Another index corruption problem

2005-10-24 Thread Bill Tschumy
onths. Has anything like this come up recently? I am using Lucene-1.4.3. -- Bill Tschumy Otherwise -- Austin, TX http://www.otherwise.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieve all terms

2005-05-18 Thread Bill Tschumy
signed for. Just search for all documents with language=en and then iterate over the hits extracting the contents of the desired field. -- Bill Tschumy Otherwise -- Austin, TX http://www.otherwise.com - To unsubscribe, e-mail:

Re: Latitude/Longitude and Lexigraphical search

2005-05-08 Thread Bill Tschumy
e some code to do this. -- Bill Tschumy Otherwise -- Austin, TX http://www.otherwise.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Max Field Length

2005-05-06 Thread Bill Tschumy
After you create your IndexWriter, do the following: writer.maxFieldLength = Integer.MAX_VALUE; Substitute you own limit if you don't want it (effectively) unlimited. The default value is 10,000 terms. -- Bill Tschumy Otherwise -- Austin, TX http://www.oth

Parsnips 1.4

2005-05-05 Thread Bill Tschumy
I have just released Parsnips 1.4, a commercial PIM for storage and retrieval of bookmarks, notes, file URLs and snippets of text. Parsnips is powered by Lucene. Please have a look at: <http://www.otherwise.com/Parsnips.html> -- Bill Tschumy Otherwise -- Austin, TX http://www.otherwi

ArrayIndexOutOfBounds exception

2005-04-13 Thread Bill Tschumy
n - starts[i], field); } That index "i" returned from readerIndex() is -1. I have gotten it twice, but am now unable to reproduce it. Does anyone know if there is a known problem or what I might do to prevent it? -- Bill Tschumy Otherwise -- Austin, TX http

Re: Strange sort error

2005-04-12 Thread Bill Tschumy
). private static String VERSION_CREATOR_KEY = "creatorVer"; private static String INDEX_VERSION_KEY = "indexVersion"; If you changed these to "a" and "aa", then all three tests would fail. -Yonik On Apr 12, 2005 2:04 PM, Bill Tschumy <[EMAIL PROTECTED]

Re: Strange sort error

2005-04-12 Thread Bill Tschumy
String[] children = dir.list(); for (int i = 0; i < children.length; i++) { boolean success = deleteFileOrDirectory(new File(dir, children[i])); if (!success) { return false; } }

Re: Strange sort error

2005-04-12 Thread Bill Tschumy
possibly be going on here? On Apr 11, 2005, at 2:27 PM, Bill Tschumy wrote: In my application, by default I display all documents that are in the index. I sort them either using a "time modified" or "time created". If I have a newly created empty index, I find I get an

Strange sort error

2005-04-11 Thread Bill Tschumy
ps.Parsnips.main(Parsnips.java:1205) I can't understand why I would be getting this for one sort field but not the other given there are 0 hits anyway in a newly created index. Anyone have any thoughts? I am using Lucene 1.4.2. -- Bill Tschum

Re: Corrupted index

2005-04-11 Thread Bill Tschumy
wrote: On Friday 08 April 2005 23:51, Bill Tschumy wrote: Would this happen if there was a Writer that was not closed? Either the copy was done while the index was being updated, or the previous index update didn't finish (e.g. because it crashed before the index was closed).

Re: Corrupted index

2005-04-08 Thread Bill Tschumy
1:22 PM, Daniel Naber wrote: On Friday 08 April 2005 19:26, Bill Tschumy wrote: The only thought I had was that he copied the data while the app was   still running and perhaps it was in an inconsistent state. Yes, the *.cfs shows that this is a compound index which has *.fnm files only when it&#x

Corrupted index

2005-04-08 Thread Bill Tschumy
thought I had was that he copied the data while the app was still running and perhaps it was in an inconsistent state. Is this possible? Any other way to track down what went wrong? -- Bill Tschumy Otherwise -- Austin, TX http://www.otherwise.com