Re: Boost Document

2006-11-19 Thread Chris Hostetter
: with scoring. Each time you index a document, it get a doc id greater than : any already in the index, and they get reassigned if you delete docs and : optimize They *may* be used when scoring to break ties but that doesn't : do you any good... they aren't really used to break ties --

Re: Boost Document

2006-11-18 Thread Erick Erickson
: Hits hits = searcher.search(query); > : > : for (int i = 0; i < hits.length(); i++) { > : System.out.println("- DOC " + hits.doc(i).get("ID") +"-

Re: Boost Document

2006-11-18 Thread John Pailet
w QueryParser("WORD",new > : StandardAnalyzer()); > : Query query = queryParserWord.parse("home"); > : > : Hits hits = searcher.search(query); > : > : for (int i = 0; i < hits.length(); i++) { > : System

Re: Boost Document

2006-11-17 Thread Chris Hostetter
System.out.println(searcher.explain(query,hits.id(i)).toString()); : } : } : : : Thanks a lot ! : -- : View this message in context: http://www.nabble.com/Boost-Document-tf2654631.html#a7405959 : Sent from the Lucene - Java Users mailing list archive at Nabble.com. : : : --

Boost Document

2006-11-17 Thread John Pailet
Hello, I have a problem with the BOOST DOCUMENT method. When I have 2 documents that have exactly the same data, but different boost value. The order does not respect the boost value. It the following exemples, the first document of the search is the document with the lower boost value... is it