Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How to calculate score in search results. Java LAPI.
Ray_Peterson_(rpeterso_-_(deleted))
Can anyone tell me how to calculate the score (percentage) in the results returned by a Java LAPI search? I've looked at the oscript, and it does something like multiply the # of hits by 5.63 or something like that... does anyone know of the algorithm to use, and if it can be duplicated using the Java LAPI search calls?Thanks in advance.
Find more posts tagged with
Comments
Geoff_Price_(JTASCAdmin_(Delete)_1422989)
Don't ask me why but this is how to get the score in percent.score^1/8 * 56.23//Java code int score = (int)(Math.pow(rawscore, .125) * 56.23);
Norman_Leung_(ImvecAdmin_(Delete)_2148619)
What is the "rawscore" then?