Re: Can't code to index documents

2007-11-14 Thread Erick Erickson
Several questions: 1> have you gotten a copy of Luke to examine your index? If so, what does it show? 2> Do you ever close your indexwriter? If so, is it closed before you open your indexreader to search? I don't see anything in your code that looks like it closes the writer, but I

Can't code to index documents

2007-11-14 Thread bbrown
I am using this code which is pretty basic. And it won't index the documents. I run the index code and print the document to make sure that it gets indexed, but when I looked at the output "gen" and "segments" file, there are only like 20bytes of data in the files. I am indexing about 300k of te