Debug Query returns different debug explanation output for documents

2012-07-09 Thread Dalius Sidlauskas
Hello, I have a query that returns different debug explanation output 
for some reason. First document has no (MATCH) product of: that others 
have and makes it as a first results that should not be.


Here is my debug explain output:

Doc #1

4.2649355 = (MATCH) sum of:
  0.035260722 = (MATCH) max of:
0.035260722 = (MATCH) weight(search_full_definitions:jaume in 
5265), product of:

  0.09532936 = queryWeight(search_full_definitions:jaume), product of:
5.9181304 = idf(docFreq=3177, maxDocs=434581)
0.01610802 = queryNorm
  0.36988315 = (MATCH) fieldWeight(search_full_definitions:jaume in 
5265), product of:

1.0 = tf(termFreq(search_full_definitions:jaume)=1)
5.9181304 = idf(docFreq=3177, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
  3.698813 = (MATCH) max of:
0.122653306 = (MATCH) weight(search_full_definitions:destorrent in 
5265), product of:
  0.17779547 = queryWeight(search_full_definitions:destorrent), 
product of:

11.037699 = idf(docFreq=18, maxDocs=434581)
0.01610802 = queryNorm
  0.6898562 = (MATCH) 
fieldWeight(search_full_definitions:destorrent in 5265), product of:

1.0 = tf(termFreq(search_full_definitions:destorrent)=1)
11.037699 = idf(docFreq=18, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
3.698813 = (MATCH) weight(search_dc_title:destorrent^3.0 in 5265), 
product of:

  0.5978991 = queryWeight(search_dc_title:destorrent^3.0), product of:
3.0 = boost
12.3727 = idf(docFreq=4, maxDocs=434581)
0.01610802 = queryNorm
  6.18635 = (MATCH) fieldWeight(search_dc_title:destorrent in 
5265), product of:

1.0 = tf(termFreq(search_dc_title:destorrent)=1)
12.3727 = idf(docFreq=4, maxDocs=434581)
0.5 = fieldNorm(field=search_dc_title, doc=5265)
1.2329376 = (MATCH) weight(search_title:destorrent in 5265), 
product of:

  0.1992997 = queryWeight(search_title:destorrent), product of:
12.3727 = idf(docFreq=4, maxDocs=434581)
0.01610802 = queryNorm
  6.18635 = (MATCH) fieldWeight(search_title:destorrent in 5265), 
product of:

1.0 = tf(termFreq(search_title:destorrent)=1)
12.3727 = idf(docFreq=4, maxDocs=434581)
0.5 = fieldNorm(field=search_title, doc=5265)
  0.5152115 = (MATCH) max of:
0.020531582 = (MATCH) weight(search_full_definitions:i in 5265), 
product of:

  0.041998293 = queryWeight(search_full_definitions:i), product of:
2.607291 = idf(docFreq=87102, maxDocs=434581)
0.01610802 = queryNorm
  0.48886704 = (MATCH) fieldWeight(search_full_definitions:i in 
5265), product of:

3.0 = tf(termFreq(search_full_definitions:i)=9)
2.607291 = idf(docFreq=87102, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
0.5152115 = (MATCH) weight(search_dc_title:i^3.0 in 5265), product of:
  0.22314619 = queryWeight(search_dc_title:i^3.0), product of:
3.0 = boost
4.617704 = idf(docFreq=11665, maxDocs=434581)
0.01610802 = queryNorm
  2.308852 = (MATCH) fieldWeight(search_dc_title:i in 5265), 
product of:

1.0 = tf(termFreq(search_dc_title:i)=1)
4.617704 = idf(docFreq=11665, maxDocs=434581)
0.5 = fieldNorm(field=search_dc_title, doc=5265)
0.1702569 = (MATCH) weight(search_title:i in 5265), product of:
  0.074060805 = queryWeight(search_title:i), product of:
4.5977597 = idf(docFreq=11900, maxDocs=434581)
0.01610802 = queryNorm
  2.2988799 = (MATCH) fieldWeight(search_title:i in 5265), product of:
1.0 = tf(termFreq(search_title:i)=1)
4.5977597 = idf(docFreq=11900, maxDocs=434581)
0.5 = fieldNorm(field=search_title, doc=5265)
  0.015650144 = (MATCH) max of:
0.015650144 = (MATCH) product of:
  0.031300288 = (MATCH) sum of:
0.031300288 = (MATCH) weight(search_full_definitions:casa in 
5265), product of:
  0.08981632 = queryWeight(search_full_definitions:casa), 
product of:

5.5758758 = idf(docFreq=4474, maxDocs=434581)
0.01610802 = queryNorm
  0.34849223 = (MATCH) fieldWeight(search_full_definitions:casa 
in 5265), product of:

1.0 = tf(termFreq(search_full_definitions:casa)=1)
5.5758758 = idf(docFreq=4474, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
  0.5 = coord(1/2)


Doc #2

4.210119 = (MATCH) product of:
  5.6134915 = (MATCH) sum of:
1.3994671 = (MATCH) max of:
  1.3994671 = (MATCH) weight(search_dc_title:jaume^3.0 in 8120), 
product of:

0.36777148 = queryWeight(search_dc_title:jaume^3.0), product of:
  3.0 = boost
  7.6105256 = idf(docFreq=584, maxDocs=434581)
  0.01610802 = queryNorm
3.8052628 = (MATCH) fieldWeight(search_dc_title:jaume in 8120), 
product of:

  1.0 = 

Re: Debug Query returns different debug explanation output for documents

2012-07-09 Thread Dalius Sidlauskas

Does these settings somehow are involved into this?

   str name=defTypeedismax/str
   str name=mm2lt;-25%/str

Regards!
Dalius Sidlauskas

On 09/07/12 11:23, Dalius Sidlauskas wrote:
Hello, I have a query that returns different debug explanation output 
for some reason. First document has no (MATCH) product of: that 
others have and makes it as a first results that should not be.


Here is my debug explain output:

Doc #1

4.2649355 = (MATCH) sum of:
  0.035260722 = (MATCH) max of:
0.035260722 = (MATCH) weight(search_full_definitions:jaume in 
5265), product of:
  0.09532936 = queryWeight(search_full_definitions:jaume), product 
of:

5.9181304 = idf(docFreq=3177, maxDocs=434581)
0.01610802 = queryNorm
  0.36988315 = (MATCH) fieldWeight(search_full_definitions:jaume 
in 5265), product of:

1.0 = tf(termFreq(search_full_definitions:jaume)=1)
5.9181304 = idf(docFreq=3177, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
  3.698813 = (MATCH) max of:
0.122653306 = (MATCH) weight(search_full_definitions:destorrent in 
5265), product of:
  0.17779547 = queryWeight(search_full_definitions:destorrent), 
product of:

11.037699 = idf(docFreq=18, maxDocs=434581)
0.01610802 = queryNorm
  0.6898562 = (MATCH) 
fieldWeight(search_full_definitions:destorrent in 5265), product of:

1.0 = tf(termFreq(search_full_definitions:destorrent)=1)
11.037699 = idf(docFreq=18, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
3.698813 = (MATCH) weight(search_dc_title:destorrent^3.0 in 5265), 
product of:
  0.5978991 = queryWeight(search_dc_title:destorrent^3.0), product 
of:

3.0 = boost
12.3727 = idf(docFreq=4, maxDocs=434581)
0.01610802 = queryNorm
  6.18635 = (MATCH) fieldWeight(search_dc_title:destorrent in 
5265), product of:

1.0 = tf(termFreq(search_dc_title:destorrent)=1)
12.3727 = idf(docFreq=4, maxDocs=434581)
0.5 = fieldNorm(field=search_dc_title, doc=5265)
1.2329376 = (MATCH) weight(search_title:destorrent in 5265), 
product of:

  0.1992997 = queryWeight(search_title:destorrent), product of:
12.3727 = idf(docFreq=4, maxDocs=434581)
0.01610802 = queryNorm
  6.18635 = (MATCH) fieldWeight(search_title:destorrent in 5265), 
product of:

1.0 = tf(termFreq(search_title:destorrent)=1)
12.3727 = idf(docFreq=4, maxDocs=434581)
0.5 = fieldNorm(field=search_title, doc=5265)
  0.5152115 = (MATCH) max of:
0.020531582 = (MATCH) weight(search_full_definitions:i in 5265), 
product of:

  0.041998293 = queryWeight(search_full_definitions:i), product of:
2.607291 = idf(docFreq=87102, maxDocs=434581)
0.01610802 = queryNorm
  0.48886704 = (MATCH) fieldWeight(search_full_definitions:i in 
5265), product of:

3.0 = tf(termFreq(search_full_definitions:i)=9)
2.607291 = idf(docFreq=87102, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
0.5152115 = (MATCH) weight(search_dc_title:i^3.0 in 5265), product 
of:

  0.22314619 = queryWeight(search_dc_title:i^3.0), product of:
3.0 = boost
4.617704 = idf(docFreq=11665, maxDocs=434581)
0.01610802 = queryNorm
  2.308852 = (MATCH) fieldWeight(search_dc_title:i in 5265), 
product of:

1.0 = tf(termFreq(search_dc_title:i)=1)
4.617704 = idf(docFreq=11665, maxDocs=434581)
0.5 = fieldNorm(field=search_dc_title, doc=5265)
0.1702569 = (MATCH) weight(search_title:i in 5265), product of:
  0.074060805 = queryWeight(search_title:i), product of:
4.5977597 = idf(docFreq=11900, maxDocs=434581)
0.01610802 = queryNorm
  2.2988799 = (MATCH) fieldWeight(search_title:i in 5265), product 
of:

1.0 = tf(termFreq(search_title:i)=1)
4.5977597 = idf(docFreq=11900, maxDocs=434581)
0.5 = fieldNorm(field=search_title, doc=5265)
  0.015650144 = (MATCH) max of:
0.015650144 = (MATCH) product of:
  0.031300288 = (MATCH) sum of:
0.031300288 = (MATCH) weight(search_full_definitions:casa in 
5265), product of:
  0.08981632 = queryWeight(search_full_definitions:casa), 
product of:

5.5758758 = idf(docFreq=4474, maxDocs=434581)
0.01610802 = queryNorm
  0.34849223 = (MATCH) 
fieldWeight(search_full_definitions:casa in 5265), product of:

1.0 = tf(termFreq(search_full_definitions:casa)=1)
5.5758758 = idf(docFreq=4474, maxDocs=434581)
0.0625 = fieldNorm(field=search_full_definitions, doc=5265)
  0.5 = coord(1/2)


Doc #2

4.210119 = (MATCH) product of:
  5.6134915 = (MATCH) sum of:
1.3994671 = (MATCH) max of:
  1.3994671 = (MATCH) weight(search_dc_title:jaume^3.0 in 8120), 
product of:

0.36777148 = queryWeight(search_dc_title:jaume^3.0), product of:
  3.0 =