-
-
Save oleander/044b3df379b60defcde7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://localhost:9002/solr/select?fl=*+score&start=0&q=die%20hard&qf=title_text&wt=ruby&fq=type:Movie&defType=dismax&debugQuery=true | |
{ | |
'responseHeader'=>{ | |
'status'=>0, | |
'QTime'=>16, | |
'params'=>{ | |
'fl'=>'*score', | |
'debugQuery'=>'true', | |
'start'=>'0', | |
'q'=>'diehard', | |
'qf'=>'title_text', | |
'wt'=>'ruby', | |
'fq'=>'type: Movie', | |
'defType'=>'dismax' | |
} | |
}, | |
'response'=>{ | |
'numFound'=>5, | |
'start'=>0, | |
'maxScore'=>1.7287993, | |
'docs'=>[ | |
{ | |
'id'=>'Movie883', | |
'score'=>1.7287993 | |
}, | |
{ | |
'id'=>'Movie4981', | |
'score'=>1.4406661 | |
}, | |
{ | |
'id'=>'Movie14848', | |
'score'=>0.72033304 | |
}, | |
{ | |
'id'=>'Movie2703', | |
'score'=>0.5762664 | |
}, | |
{ | |
'id'=>'Movie4224', | |
'score'=>0.5762664 | |
} | |
] | |
}, | |
'debug'=>{ | |
'rawquerystring'=>'diehard', | |
'querystring'=>'diehard', | |
'parsedquery'=>'+((DisjunctionMaxQuery((title_text: die))DisjunctionMaxQuery((title_text: hard)))~2)()', | |
'parsedquery_toString'=>'+(((title_text: die)(title_text: hard))~2)()', | |
'explain'=>{ | |
'Movie883'=>'1.7287993=(MATCH)sumof: 1.7287993=(MATCH)sumof: 0.77164894=(MATCH)weight(title_text: diein73643), | |
productof: 0.66809404=queryWeight(title_text: die), | |
productof: 6.160002=idf(docFreq=539, | |
maxDocs=94049)0.10845678=queryNorm1.1550004=(MATCH)fieldWeight(title_text: diein73643), | |
productof: 1.0=tf(termFreq(title_text: die)=1)6.160002=idf(docFreq=539, | |
maxDocs=94049)0.1875=fieldNorm(field=title_text, | |
doc=73643)0.95715046=(MATCH)weight(title_text: hardin73643), | |
productof: 0.7440769=queryWeight(title_text: hard), | |
productof: 6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.10845678=queryNorm1.2863595=(MATCH)fieldWeight(title_text: hardin73643), | |
productof: 1.0=tf(termFreq(title_text: hard)=1)6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.1875=fieldNorm(field=title_text, | |
doc=73643)', | |
'Movie4981'=>'1.4406661=(MATCH)sumof: 1.4406661=(MATCH)sumof: 0.6430407=(MATCH)weight(title_text: diein77463), | |
productof: 0.66809404=queryWeight(title_text: die), | |
productof: 6.160002=idf(docFreq=539, | |
maxDocs=94049)0.10845678=queryNorm0.96250033=(MATCH)fieldWeight(title_text: diein77463), | |
productof: 1.0=tf(termFreq(title_text: die)=1)6.160002=idf(docFreq=539, | |
maxDocs=94049)0.15625=fieldNorm(field=title_text, | |
doc=77463)0.79762536=(MATCH)weight(title_text: hardin77463), | |
productof: 0.7440769=queryWeight(title_text: hard), | |
productof: 6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.10845678=queryNorm1.0719663=(MATCH)fieldWeight(title_text: hardin77463), | |
productof: 1.0=tf(termFreq(title_text: hard)=1)6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.15625=fieldNorm(field=title_text, | |
doc=77463)', | |
'Movie14848'=>'0.72033304=(MATCH)sumof: 0.72033304=(MATCH)sumof: 0.32152036=(MATCH)weight(title_text: diein4371), | |
productof: 0.66809404=queryWeight(title_text: die), | |
productof: 6.160002=idf(docFreq=539, | |
maxDocs=94049)0.10845678=queryNorm0.48125017=(MATCH)fieldWeight(title_text: diein4371), | |
productof: 1.0=tf(termFreq(title_text: die)=1)6.160002=idf(docFreq=539, | |
maxDocs=94049)0.078125=fieldNorm(field=title_text, | |
doc=4371)0.39881268=(MATCH)weight(title_text: hardin4371), | |
productof: 0.7440769=queryWeight(title_text: hard), | |
productof: 6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.10845678=queryNorm0.53598315=(MATCH)fieldWeight(title_text: hardin4371), | |
productof: 1.0=tf(termFreq(title_text: hard)=1)6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.078125=fieldNorm(field=title_text, | |
doc=4371)', | |
'Movie2703'=>'0.5762664=(MATCH)sumof: 0.5762664=(MATCH)sumof: 0.2572163=(MATCH)weight(title_text: diein75443), | |
productof: 0.66809404=queryWeight(title_text: die), | |
productof: 6.160002=idf(docFreq=539, | |
maxDocs=94049)0.10845678=queryNorm0.38500014=(MATCH)fieldWeight(title_text: diein75443), | |
productof: 1.0=tf(termFreq(title_text: die)=1)6.160002=idf(docFreq=539, | |
maxDocs=94049)0.0625=fieldNorm(field=title_text, | |
doc=75443)0.31905013=(MATCH)weight(title_text: hardin75443), | |
productof: 0.7440769=queryWeight(title_text: hard), | |
productof: 6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.10845678=queryNorm0.42878652=(MATCH)fieldWeight(title_text: hardin75443), | |
productof: 1.0=tf(termFreq(title_text: hard)=1)6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.0625=fieldNorm(field=title_text, | |
doc=75443)', | |
'Movie4224'=>'0.5762664=(MATCH)sumof: 0.5762664=(MATCH)sumof: 0.2572163=(MATCH)weight(title_text: diein76816), | |
productof: 0.66809404=queryWeight(title_text: die), | |
productof: 6.160002=idf(docFreq=539, | |
maxDocs=94049)0.10845678=queryNorm0.38500014=(MATCH)fieldWeight(title_text: diein76816), | |
productof: 1.0=tf(termFreq(title_text: die)=1)6.160002=idf(docFreq=539, | |
maxDocs=94049)0.0625=fieldNorm(field=title_text, | |
doc=76816)0.31905013=(MATCH)weight(title_text: hardin76816), | |
productof: 0.7440769=queryWeight(title_text: hard), | |
productof: 6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.10845678=queryNorm0.42878652=(MATCH)fieldWeight(title_text: hardin76816), | |
productof: 1.0=tf(termFreq(title_text: hard)=1)6.8605843=idf(docFreq=267, | |
maxDocs=94049)0.0625=fieldNorm(field=title_text, | |
doc=76816)' | |
}, | |
'QParser'=>'DisMaxQParser', | |
'altquerystring'=>nil, | |
'boostfuncs'=>nil, | |
'filter_queries'=>[ | |
'type: Movie' | |
], | |
'parsed_filter_queries'=>[ | |
'type: Movie' | |
], | |
'timing'=>{ | |
'time'=>16.0, | |
'prepare'=>{ | |
'time'=>2.0, | |
'org.apache.solr.handler.component.QueryComponent'=>{ | |
'time'=>1.0 | |
}, | |
'org.apache.solr.handler.component.FacetComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.MoreLikeThisComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.HighlightComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.StatsComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.DebugComponent'=>{ | |
'time'=>0.0 | |
} | |
}, | |
'process'=>{ | |
'time'=>14.0, | |
'org.apache.solr.handler.component.QueryComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.FacetComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.MoreLikeThisComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.HighlightComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.StatsComponent'=>{ | |
'time'=>0.0 | |
}, | |
'org.apache.solr.handler.component.DebugComponent'=>{ | |
'time'=>14.0 | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment