RE: Document.setBoost() doesn't work

2008-02-27 Thread John Griffin
Subject: Document.setBoost() doesn't work I work with Lucene 2.0. I boost some documents: Document doc = new Document(); // adding fields doc.setBoost(2.0f); indexwriter.addDocument(doc); If I look to my index with Luke (0.6) the boost value of all documents is still 1.0. How can I

Document.setBoost() doesn't work

2008-02-27 Thread Soeren Pekrul
I work with Lucene 2.0. I boost some documents: Document doc = new Document(); // adding fields doc.setBoost(2.0f); indexwriter.addDocument(doc); If I look to my index with Luke (0.6) the boost value of all documents is still 1.0. How can I boost documents? Thanks. Sören