oops...that was a control-c control-v error. Im indexing directory "c:\test"
and using the
index in c:\test for searching. I found the problem to be this - Im reusing
the same document
object in the for loop. I solved it by creating new document each time the
loop runs...
actually when if statement
A couple of things come to mind. But before I get to them, really, really,
really get a copy of Luke. It'll allow you to examine your index and
see if what's in there is really what you expect. It'll save you a world
of hurt Google luke lucene
Also, use query.toString to see what the quer
all,
No sure if earlier mail went thru..so resending...
Im new lucene and Im trying to develope a textual search module. I have
written the following code ( this is research code) -
File dir = new File("c:/test");
IndexWriter writer = new IndexWriter(dir, new StandardAnalyzer(), true);
Doc