Re: retrieve document boost

2007-02-20 Thread Ken Krugler
: Can you get the boost of an indexed document? Am I missing something : basic? Is the stored document boost lost once it is indexed? Bingo. In Lucene, Document boosts aren't stored in the docs for later recovered - the getBoost method is meaningless from a Document returned by a search (or re

Re: retrieve document boost

2007-02-20 Thread Brian Whitman
On Feb 20, 2007, at 4:09 PM, Mike Klaas wrote: Sorry, I inverted the logic in my head. You're right. You're not alone, I do it all the time too. I believe that docBoost does not translate into a fieldBoost display (which is only the query-time boost), but is factored into the fieldNorm. O

Re: retrieve document boost

2007-02-20 Thread Mike Klaas
On 2/20/07, Brian Whitman <[EMAIL PROTECTED]> wrote: > If omitNorms=false on a field, the document boost and field boost are > moot. Unfortunate, but true. hm? The reason I have omitNorms=false on for a field is because I want the boost. I did so because I read here: http://wiki.apache.org/solr

Re: retrieve document boost

2007-02-20 Thread Brian Whitman
If omitNorms=false on a field, the document boost and field boost are moot. Unfortunate, but true. hm? The reason I have omitNorms=false on for a field is because I want the boost. I did so because I read here: http://wiki.apache.org/solr/UpdateXmlMessages "NOTE: make sure norms are enabled

Re: retrieve document boost

2007-02-20 Thread Mike Klaas
On 2/20/07, Brian Whitman <[EMAIL PROTECTED]> wrote: On Feb 20, 2007, at 2:59 PM, Chris Hostetter wrote: > In Lucene, Document boosts aren't stored in the docs for later > recovered - the getBoost method is meaningless from a Document > returned by > a search (or retrieved from an IndexReader) >

Re: retrieve document boost

2007-02-20 Thread Ryan McKinley
On 2/20/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Can you get the boost of an indexed document? Am I missing something : basic? Is the stored document boost lost once it is indexed? Bingo. In Lucene, Document boosts aren't stored in the docs for later recovered - the getBoost method i

Re: retrieve document boost

2007-02-20 Thread Brian Whitman
On Feb 20, 2007, at 2:59 PM, Chris Hostetter wrote: In Lucene, Document boosts aren't stored in the docs for later recovered - the getBoost method is meaningless from a Document returned by a search (or retrieved from an IndexReader) Boosts are folded into the fieldNorm - doc boosts are fold

Re: retrieve document boost

2007-02-20 Thread Chris Hostetter
: Can you get the boost of an indexed document? Am I missing something : basic? Is the stored document boost lost once it is indexed? Bingo. In Lucene, Document boosts aren't stored in the docs for later recovered - the getBoost method is meaningless from a Document returned by a search (or re

retrieve document boost

2007-02-20 Thread Ryan McKinley
I'm trying to make sure the document boost i'm sending in is actually getting used. I don't see it showing up anywhere. To illustrate, I augmented the BasicFunctionalityTest.testDocBoost() with: public void testDocBoost() throws Exception { ... LocalSolrQueryRequest lqr = lrf.makeRequest(