ahmetdursun / lire

Automatically exported from code.google.com/p/lire
Other
0 stars 0 forks source link

java.lang.AssertionError exception when only one image in index #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add only one image to index with help of CEDD documentbuilder
2. search by this image (note, same image as you added to index)
3. in ImageSearchHits you will have only one record, calling hits.score(0) will 
throw java.lang.AssertionError exception

What is the expected output? What do you see instead?
expected - 0; exception instead

What version of the product are you using? On what operating system?
0.9.3, Windows 7x64

Please provide any additional information below.
I attached source files for your convenience 

thanks

Original issue reported on code.google.com by arsen.li...@gmail.com on 13 Oct 2014 at 4:54

Attachments: