[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
www.ephesoft.com/forums • View topic - couldn't invoke 'generateConfidenceScore'

couldn't invoke 'generateConfidenceScore'

General discussion about the Ephesoft architecture at a high-level

Re: couldn't invoke 'generateConfidenceScore'

Postby ephesoft » Mon Nov 01, 2010 9:22 am

Soliveira,
Thank you for your post. We have located the issue and created a bug report for it. The issue will be fixed in our next release which is due for November 25th. We have provided with a work around below but If you have an immediate need for this fix for a customer, please let us know.

Here is the description of the issue and a temporary fix:
Issue: Lucene confidence score is returned using "," as decimal point instead of ".".
Description: Lucene is using the system regional settings for decimal points. A possible score may be "75.24". If the operating system is configured to use "," (comma) for decimal, the score is generated as "75,24" by lucene and this creates and error message for "generateConfidenceScore" class.

Long term fix: The bug report has been created and marked with high priority.
Short term fix: Change the system regional settings to use "." (period) to use for decimal digit.

Ephesoft Support Team.
ephesoft
Site Admin
 
Posts: 90
Joined: Wed Feb 10, 2010 10:27 pm

Re: couldn't invoke 'generateConfidenceScore'

Postby ephesoft » Sat Dec 04, 2010 6:27 pm

Soliveria,
We have just found out that there is an easier better way to solve this problem.
You just need to tell your JavaAppServer, Tomcat in the case of Ephesoft Community Edition, to use US locale settings rather than chancging your windows system settings.
Please add
-Duser.language=en -Duser.country=US
to your JAVA_OPTS in the startup.bat. It should look something like this:
set JAVA_OPTS=-Djava.library.path=C:\Ephesoft/Application/native -Ddcma.home=C:\Ephesoft/Application -Xmx1024m -Duser.language=en -Duser.country=US

If you are using your own tomcat server, this setting might be in the tomcat.bat file or even in the registry for running the tomcat as a service.

Ephesoft Support.
ephesoft
Site Admin
 
Posts: 90
Joined: Wed Feb 10, 2010 10:27 pm

Previous

Return to High-Level Architecture Discussion

Who is online

Users browsing this forum: No registered users and 1 guest