Sorry, if you mean the java code then it's as below:
import java.io.File;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.queryPar
Hi Erick,
I indexed only files in pdf format so I cannot put them inline here in
email. I did use Luke and put the same query into it and the same thing
happened.
Is there any chance i can send the two pdf files that cause the error to you
to see if the error can be reproduced?
Best,
Ng
On Nov
Attachments often do not come through, at least they aren't visible to
me using g-mail. So you might want to re-send them in-line.
But another thing you can do is get a copy of luke and examine
your index to see if the actual contents of doc1 and doc2 are what
you expect. You can even run queries