: 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 --
: Hits hits = searcher.search(query);
> :
> : for (int i = 0; i < hits.length(); i++) {
> : System.out.println("- DOC " + hits.doc(i).get("ID")
+"-
w QueryParser("WORD",new
> : StandardAnalyzer());
> : Query query = queryParserWord.parse("home");
> :
> : Hits hits = searcher.search(query);
> :
> : for (int i = 0; i < hits.length(); i++) {
> : System
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.
:
:
: --
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