indexing going wrong

2007-08-10 Thread nachi
lyzer()); Query q = p.parse("ERROR"); Hits hits = d.search(q); for (int i = 0; i < hits.length(); i++) { Document doc = hits.doc(i); System.out.println(doc.get("filename")); } d.close(); } Can somebody tell me what I'm doing wrong ? I suspect that there is something wrong in the way I index. -- -nachi

Re: indexing going wrong

2007-08-11 Thread nachi
ly when if statement becomes true. -nachi On 8/11/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > 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 re