Skip to content

Instantly share code, notes, and snippets.

@baloo-solr
Created February 12, 2019 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baloo-solr/73add39132c8f3688a20d4f64fe93279 to your computer and use it in GitHub Desktop.
Save baloo-solr/73add39132c8f3688a20d4f64fe93279 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<bool name="zkConnected">true</bool>
<int name="status">0</int>
<int name="QTime">6</int>
<lst name="params">
<str name="debug">true</str>
<str name="fl">id,score,title,content_type_facet</str>
<str name="q">Corporate Affiliations Directory</str>
<str name="qf">title</str>
<arr name="boost">
<str>mul(query({!field f=content_type_facet v='Database'},0.1),12)</str>
<str>mul(query({!field f=content_type_facet v='Fast Answers'},0.1),10)</str>
</arr>
<str name="wt">xml</str>
</lst>
</lst>
<result name="response" numFound="4" start="0" maxScore="10.130859">
<doc>
<arr name="title">
<str>Directory of Corporate Affiliations, 1993-2015</str>
<str>Directory of Corporate Affiliations, 1993-2015</str>
</arr>
<arr name="content_type_facet">
<str>Dataset</str>
</arr>
<str name="id">ez_48976</str>
<float name="score">10.130859</float></doc>
<doc>
<arr name="title">
<str>Directory of Corp Affiliations Data Field Definitions</str>
</arr>
<arr name="content_type_facet">
<str>File</str>
</arr>
<str name="id">ez_49194</str>
<float name="score">6.6987066</float></doc>
<doc>
<arr name="title">
<str>Corporate Affiliations (Historical Edition)</str>
<str>Corporate Affiliations (Historical Edition)</str>
</arr>
<arr name="content_type_facet">
<str>Database</str>
</arr>
<str name="id">ez_319</str>
<float name="score">6.221582</float></doc>
<doc>
<arr name="title">
<str>America's Corporate Finance Directory</str>
<str>America's Corporate Finance Directory</str>
</arr>
<arr name="content_type_facet">
<str>E-Journals and Periodicals</str>
</arr>
<str name="id">ez_752</str>
<float name="score">6.145634</float></doc>
</result>
<lst name="debug">
<str name="rawquerystring">Corporate Affiliations Directory</str>
<str name="querystring">Corporate Affiliations Directory</str>
<str name="parsedquery">FunctionScoreQuery(FunctionScoreQuery(+(((title:corporate) (title:affiliation) (title:directory))~2), scored by boost(product(product(query(content_type_facet:Database,def=0.1),const(12)),product(query(content_type_facet:Fast Answers,def=0.1),const(10))))))</str>
<str name="parsedquery_toString">FunctionScoreQuery(+(((title:corporate) (title:affiliation) (title:directory))~2), scored by boost(product(product(query(content_type_facet:Database,def=0.1),const(12)),product(query(content_type_facet:Fast Answers,def=0.1),const(10)))))</str>
</lst>
<lst name="explain">
<str name="ez_48976">
12.157032 = product of:
1.0 = boost
12.157032 = product of:
10.130859 = sum of:
2.2363572 = weight(title:corporate in 23062) [SchemaSimilarity], result of:
2.2363572 = fieldWeight in 23062, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
5.060299 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
836.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=23062)
3.9852247 = weight(title:affiliation in 23062) [SchemaSimilarity], result of:
3.9852247 = fieldWeight in 23062, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
9.017534 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
15.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=23062)
3.909277 = weight(title:directory in 23062) [SchemaSimilarity], result of:
3.909277 = fieldWeight in 23062, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
8.845684 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
18.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=23062)
1.2 = product(product(query(content_type_facet:Database,def=0.1)=0.1,const(12)),product(query(content_type_facet:Fast Answers,def=0.1)=0.1,const(10)))
</str>
<str name="ez_49194">
8.038448 = product of:
1.0 = boost
8.038448 = product of:
6.6987066 = sum of:
3.3815753 = weight(title:affiliation in 21158) [SchemaSimilarity], result of:
3.3815753 = fieldWeight in 21158, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
9.017534 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
15.0 = docFreq
48538.0 = docCount
0.375 = fieldNorm(doc=21158)
3.3171315 = weight(title:directory in 21158) [SchemaSimilarity], result of:
3.3171315 = fieldWeight in 21158, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
8.845684 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
18.0 = docFreq
48538.0 = docCount
0.375 = fieldNorm(doc=21158)
1.2 = product(product(query(content_type_facet:Database,def=0.1)=0.1,const(12)),product(query(content_type_facet:Fast Answers,def=0.1)=0.1,const(10)))
</str>
<str name="ez_319">
400.04834 = product of:
1.0 = boost
400.04834 = product of:
(only this score considered in main score) 6.221582 = sum of:
2.2363572 = weight(title:corporate in 20552) [SchemaSimilarity], result of:
2.2363572 = fieldWeight in 20552, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
5.060299 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
836.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=20552)
3.9852247 = weight(title:affiliation in 20552) [SchemaSimilarity], result of:
3.9852247 = fieldWeight in 20552, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
9.017534 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
15.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=20552)
64.3001 = product(product(query(content_type_facet:Database,def=0.1)=5.3583417,const(12)),product(query(content_type_facet:Fast Answers,def=0.1)=0.1,const(10)))
</str>
<str name="ez_752">
7.374761 = product of:
1.0 = boost
7.374761 = product of:
6.145634 = sum of:
2.2363572 = weight(title:corporate in 20586) [SchemaSimilarity], result of:
2.2363572 = fieldWeight in 20586, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
5.060299 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
836.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=20586)
3.909277 = weight(title:directory in 20586) [SchemaSimilarity], result of:
3.909277 = fieldWeight in 20586, product of:
1.4142135 = tf(freq=2.0), with freq of:
2.0 = termFreq=2.0
8.845684 = idf, computed as log((docCount+1)/(docFreq+1)) + 1 from:
18.0 = docFreq
48538.0 = docCount
0.3125 = fieldNorm(doc=20586)
1.2 = product(product(query(content_type_facet:Database,def=0.1)=0.1,const(12)),product(query(content_type_facet:Fast Answers,def=0.1)=0.1,const(10)))
</str>
</lst>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment