[
https://issues.apache.org/jira/browse/SOLR-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-860:
--------------------------------
Attachment: SOLR-860.patch
With the attached patch, BooleanQueries constructed by MLT and MLT helper
function can be seen in debug area.
sample request and response:
{code}
http://localhost:8983/solr/select/?q=solr+ipod&indent=on&mlt=on&mlt.fl=features&mlt.mintf=1&mlt.count=2&debugQuery=on&wt=json
{code}
{code}
"debug":{
"moreLikeThis":{
"IW-02":{
"rawMLTQuery":"",
"boostedMLTQuery":"",
"realMLTQuery":"+() -id:IW-02"},
"SOLR1000":{
"rawMLTQuery":"",
"boostedMLTQuery":"",
"realMLTQuery":"+() -id:SOLR1000"},
"F8V7067-APL-KIT":{
"rawMLTQuery":"",
"boostedMLTQuery":"",
"realMLTQuery":"+() -id:F8V7067-APL-KIT"},
"MA147LL/A":{
"rawMLTQuery":"features:2 features:0 features:lcd features:x features:3",
"boostedMLTQuery":"features:2 features:0 features:lcd features:x
features:3",
"realMLTQuery":"+(features:2 features:0 features:lcd features:x
features:3) -id:MA147LL/A"}},
....
}
{code}
> moreLikeThis Degug
> ------------------
>
> Key: SOLR-860
> URL: https://issues.apache.org/jira/browse/SOLR-860
> Project: Solr
> Issue Type: New Feature
> Components: search
> Affects Versions: 1.3
> Environment: Gentoo Linux, Solr 1.4, tomcat webserver
> Reporter: Jeff
> Assignee: Koji Sekiguchi
> Fix For: 1.5
>
> Attachments: SOLR-860.patch
>
>
> moreLikeThis searchcomponent currently has no way to debug or see information
> on the process. This means that if moreLikeThis suggests another document
> there is no way to actually view why it picked that to hone the searching.
> Adding an explain would be extremely useful in determining the reasons why
> solr is recommending the items.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.