Apache Solr 4.0 with RankingAlgorithm v1.4.5
Solr with RankingAlgorithm enables Solr's search results to be comparable to Google Site Search and much better than Lucene for searches using the Perl index, see comparison searches. RankingAgorithm (patent pending) is a search library that uses a new scoring algorithm to rank results accurately and relevantly. RankingAlgorithm is very easy to use and uses the very popular Lucene index but scores and ranks on its own. It works in two modes, document mode and product mode.
In document mode, it ranks documents such as HTML, Wikipedia, Word/PDF docs relevantly while in Product mode, a term's occurrence is taken into account and scored accordingly. So titles starting with "wii console" are ranked first, and the others rank lower as the occurrence of "wii console" shifts in the title or gets reversed, see below:
* Wii Console and Wii Fit Plus with Balance Board Bundle (Nintendo Wii) * Wii Console System with Wii Sports Resort Game with TWO MotionPlus Attachments * Nintendo Wii Console w/ Bonus Wii Sports Resort Bundle, Black * Pelican Accessories Wii Console Stand - Nintendo Wii * Grafitti Skin for Nintendo Wii Console * NEW AC Adapter Cable Cord Power Supply For NINTENDO WII Gaming Console * Wii Remote Charging Console Stand * Nintendo Wii Skin - System Console Skin and two Wii Remote Skins - Blue Vortex * CET Domain 10301901 Console Stand Station for Nintendo Wii
The RankingAlgorithm has been integrated into Solr so that either Lucene or the RankingAlgorithm can be used to do the search. The RankingAlgorithm scoring or working does not break any of the existing functionality, so shrad, faceting, highlighting, etc. still work as before. RankingAlogirhtm only uses Lucene Apis to retrieve the terms from the index and uses its own ranking and scoring to rank the documents. The scoring is very friendly and easy to follow. RankingAlgorithm uses a double to score instead of a float used by Lucene. Solr with RA returns a double as the score for both Lucene and RankingAlgorithm.
Get more information: RankingAlgorithm paper
Give it a try Download Solr with RA
Try the Demo here, Wikipedia/Products/Perl.org search.