Re: Boosting query - debuging

2009-05-14 Thread liat oren
No, As I wrote above For finlin, 6621468 * 6, 5265266 * 12 (I use payload for this) and TTD - 6621468 * 3 (I use payload for this) I search for 6621468 * 3 and it and finlin gets a higher score 2009/5/13 Grant Ingersoll > > On May 13, 2009, at 3:04 AM, liat oren wrote: > > Thanks a lot, Grant

Re: Boosting query - debuging

2009-05-13 Thread Grant Ingersoll
On May 13, 2009, at 3:04 AM, liat oren wrote: Thanks a lot, Grant. Yes, this is the case, it is longer than TTD. Can you also explain me Why in finlin, we have the doc 35433 and in TTD, its 20? Are these the number of dcuments that contain any of the elements exist in eaxh word. My unde

Re: Boosting query - debuging

2009-05-13 Thread liat oren
Thanks a lot, Grant. Yes, this is the case, it is longer than TTD. Can you also explain me Why in finlin, we have the doc 35433 and in TTD, its 20? Are these the number of dcuments that contain any of the elements exist in eaxh word. So if word TTD contains only 6621468, then 20 is the number of do

Re: Boosting query - debuging

2009-05-11 Thread Grant Ingersoll
On May 10, 2009, at 5:59 AM, liat oren wrote: The output is the following: *finlin, score: 19.366615* 19.366615 = (MATCH) fieldWeight(worlds:6621468^3.0 in 35433), product of: 4.2426405 = (MATCH) btq, product of: 0.70710677 = tf(phraseFreq=0.5) 6.0 = scorePayload(...) 7.3036084 = idf

Re: Boosting query - debuging

2009-05-10 Thread liat oren
Hi Grant, Thanks for the reply. I saw that I had a problem in the code that prints these (very stupid mistake) int docId = hits[j].doc; Document curDoc = searcher.doc(docId); and then to the explain method, I gave j instead of docId. But I have a questino regarding the fieldNorm - When I have 60

Re: Boosting query - debuging

2009-05-06 Thread Grant Ingersoll
Hi Liat, Can you post the code you are using to generate the info below? -Grant On May 3, 2009, at 11:43 PM, liat oren wrote: I looked into the output again, and saw that the explain method, explains a different result then the document i thought it did. Within the loop of the results, I r

Re: Boosting query - debuging

2009-05-03 Thread liat oren
I looked into the output again, and saw that the explain method, explains a different result then the document i thought it did. Within the loop of the results, I replaced int docId = hits[j].doc; Document curDoc = searcher.doc(docId); with Document curDoc = searcher.doc(j); So I got the right

Boosting query - debuging

2009-05-03 Thread liat oren
Hi, I try to debug boosting query. Is there a way to see the term boost in the documents? I see them in spans in BoostingTermQuery, yet, from there I can't see which document I am in. If I want to copy some of the document in an index that saves the boosting - how can it be done? The problem I am