Re: why the score is not 1.0?

2004-06-03 Thread Erik Hatcher
Without looking at your code, a good first suggestion is to se IndexSearcher.explain(Query,docId) to see why scores are they way they are. Erik On Jun 3, 2004, at 7:21 AM, uddam chukmol wrote: Dear all, I have another trouble in one of my program using Lucene. I tried to compare the

why the score is not 1.0?

2004-06-03 Thread uddam chukmol
Dear all, I have another trouble in one of my program using Lucene. I tried to compare the same string and use the same analyzer to index it. You can see my code as following: --