[ 
http://opencast.jira.com/browse/MH-9084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32273#comment-32273
 ] 

Denis Meyer edited comment on MH-9084 at 11/27/12 2:51 PM:
-----------------------------------------------------------

I found the reason why it's not working: The returned relevance is 0 every time 
so nothing's being displayed.
Example json results:
                 { "duration" : "103000",
                    "hit" : "false",
                    "index" : "1",
                    "previews" : { "preview" : { "$" : 
"http://MYSERVER:8080/static/e5cf4062-0183-4646-ac01-a78de66b1876/attachment-5/slides_medium.jpg";,
                            "ref" : "attachment-5"
                          } },
                    "relevance" : "0",
                    "text" : "NASA Pedro Climate particular Martin Thomas Peter 
Christian David Land Climate Interactions Group Martin Andreas Karl",
                    "time" : "135000"
                  },
                  { "duration" : "37000",
                    "hit" : "false",
                    "index" : "2",
                    "previews" : { "preview" : { "$" : 
"http://MYSERVER:8080/static/e5cf4062-0183-4646-ac01-a78de66b1876/attachment-6/slides_medium.jpg";,
                            "ref" : "attachment-6"
                          } },
                    "relevance" : "0",
                    "text" : "Outline Introduction Land climate interactions 
Impact soil temperature precipitation with climate change Discussion 
Conclusions",
                    "time" : "238000"
                  },

When I change the code to display every single segment even if it has a 
relevance of 0 there are good results -- here the patch for this example: 
http://pastebin.com/67SDRY18
                
      was (Author: denmeyer):
    I will rewrite the search to search locally on the text.
                  
> Searching for Segments "Search this recording" on Players page
> --------------------------------------------------------------
>
>                 Key: MH-9084
>                 URL: http://opencast.jira.com/browse/MH-9084
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Distribution
>    Affects Versions: 1.4
>            Reporter: Pawel Fic
>            Assignee: Denis Meyer
>             Fix For: 1.4
>
>         Attachments: coolest_bug_ever.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to