Solr-RA, accurate and relevant search...
   
RankingAlgorithm elasticsearch-ra Wiki Demo Discussions Downloads Search Components Who is using
RankingAlgorithm library

elasticsearch With RankingAlgorithm  --   Register,  ,   Downloads (it is free)  
 Software Agreement
elasticsearch with RankingAlgorithm 1.5.x

elasticsearch with RankingAlgorithm 1.5.x is now available for download. See downloads below ...

Multiple algorithms are available, SIMPLE* and COMPLEX*. SIMPLE is a very fast algorithm and can return queries in <10ms on a 10m wikipedia index (complete index). It can also scale to 2 billion docs. COMPLEX is a more complex algorithm so is a little slower compared to the SIMPLE, but can also still return queries in < 10ms on a 10m wikipedia index (complete index). COMPLEX is more accurate and should be able to give you the best rankings as compared to SIMPLE. SIMPLE is also very good and may be well suited than COMPLEX for some type of queries.

RankingAlgorithm works in multiple modes, document mode, product mode, for complex-lsa algorithm TermSimilarity, DocumentSimilarity, TermDocumentSimilarity:

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:

TermSimilarity, DocumentSimilarity, TermDocumentSimilarity can be used to retrieve semantic related with hidden meanings and relevant terms, sentences, paragraphs, chapters, books, images, etc. simulating human language recognition and acquistion (see demo).

The RankingAlgorithm has been integrated into elasticsearch 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.

Get more information:

Give it a try Download elasticsearch with RankingAlgorithm

Try the Demos here,

Try Autocomplete using Solr with RankingAlgorithm, similar to Google/Yahoo/Bing's autocomplete (It is free),  Give it a try

Installing and Using elasticsearch with RankingAlgorithm

Install elasticsearch as before, no changes to the existing installation steps (see elasticsearch docs for installation). No changes to the way you query or use elasticsearch. The change is when you initiate a query, the search uses RankingAlgorithm instead of Lucene. You can still use Lucene by adding "-Dlibrary=lucene" to use Lucene as before. You can download elasticsearch with RA from here and follow the steps as in the download docs either on the elasticsearch website or from here.

See examples below:

Creating an Index and Searching
-------------------------------
curl -XPUT 'http://localhost:9200/twitter/user/kimchy' -d '{ "name" : "Shay Banon" }'

curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '
{
    "user": "kimchy",
    "postDate": "2009-11-15T13:12:00",
    "message": "Trying out Elastic Search, so far so good?"
}'


curl -XPUT 'http://localhost:9200/twitter/tweet/2' -d '
{
    "user": "kimchy",
    "postDate": "2009-11-15T14:12:12",
    "message": "Another tweet, will it be indexed?"
}'

realtime-get
------------

curl -XGET 'http://localhost:9200/twitter/user/kimchy?pretty=true'
curl -XGET 'http://localhost:9200/twitter/tweet/1?pretty=true'
curl -XGET 'http://localhost:9200/twitter/tweet/2?pretty=true'

searching with simple algorithm in document mode (default)
----------------------------------------------------------

curl -XGET 'http://localhost:9200/twitter/tweet/_search?q=user:kimchy&pretty=true'

curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
{
    "query" : {
        "text" : { "user": "kimchy" }
    }
}'

See the change in scores and relevance/ranking ... as it is using RankingAlgorithm now.


Searching with complex algorithm in product mode:

export ES_JAVA_OPTS="-Dalgorithm=complex -Dmode=product"
restart elasticsearch

Searching with complex algorithm in document mode:

export ES_JAVA_OPTS="-Dalgorithm=complex -Dmode=document"
restart elasticsearch

Searching with lucene:

export ES_JAVA_OPTS=-Dlibrary=lucene
restart elasticsearch


Search components

Autocomplete using Solr with RankingAlgorithm, similar to Google/Yahoo/Bing's autocomplete (It is free),  Give it a try

Demos

Try the Demos here

Give it a try (Downloads)

Features

1. Search very accurate and relevant. Comparable to Google site search and much better than Lucene, see comparison.
2. Multiple algorithms, SIMPLE, SIMPLE1, COMPLEX, COMPLEX1, COMPLEX-LSA
3. Multiple modes, Document, Product, TermSimilarity, DocumentSimilarity, TermDocumentSimilarity mode. Product mode enables very accurate product/retail/short twitter text searches. Document mode enables relevant search, can be used for product searches too. TermSimilarity, DocumentSimilarity, TermDocumentSimilarity can be used to retrieve semantic related with hidden meanings and relevant terms, sentences, paragraphs, chapters, books, images, etc. simulating human language recognition and acquistion (see demo)
4. By default AND/OR combinations.
5. Very easy scoring with a relevancy score.
6. Very easy to use.
7. Score boosting, supports Document, Field, Query & Query term boosts.
8. Uses the very popular Lucene index. No changes to your code or index.
9. Realtime-search, similar to realtime-get but with search capability
10. Query a 10m wikipedia index in <50 ms, scale upto 100m docs
11. Supports +- boolean queries, entire Lucene Query Syntax
12. Supports Glob/Regular expressions/Fuzzy/Prefix/Suffix queries, results ranked relevantly

Documentation

Browse the javadocs here:

RankingAlgorithm 1.5.0 docs,RankingAlgorithm 1.5.0 Javadocs.
RankingAlgorithm 1.4.7 docs,RankingAlgorithm 1.4.7 Javadocs.
RankingAlgorithm 1.4.6 docs,RankingAlgorithm 1.4.6 Javadocs.
RankingAlgorithm 1.4.5 docs,RankingAlgorithm 1.4.5 Javadocs.
RankingAlgorithm 1.4.4 docs,RankingAlgorithm 1.4.4 Javadocs.
RankingAlgorithm 1.4.3 docs,RankingAlgorithm 1.4.3 Javadocs.
RankingAlgorithm 1.4.1 docs,RankingAlgorithm 1.4.1 Javadocs.
RankingAlgorithm 1.3 docs, RankingAlgorithm 1.3 Javadocs.
RankingAlgorithm 1.2 docs, RankingAlgorithm 1.2 Javadocs.
RankingAlgorithm 1.1/1.0 docs, RankingAlgorithm 1.1 Javadocs.

WIKI, Apache Solr with RankingAlgorithm WIKI.




Contact,


Discussions

RankingAlgorithm


  About   DynamicAds   Affiliates   API   Contact   Jobs   Downloads   Advertise on tgels.com
Copyright (c) transaxtions llc 2011   Terms and Conditions  Privacy Policy  CST
tgels, a real-time search engine


** Solr and Lucene are trademarks of Apache Software Foundation

Your Login or Sign In Box

Close
Close
Close
Close