Skip to content
a elasticsearch plugin integrated with carrot2,which clustering your search results into topics,
Find file
Pull request Compare This branch is 15 commits behind medcl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
README.textile
pom.xml

README.textile

elasticsearch.carrot2

1.download lexical files(https://github.com/downloads/medcl/elasticsearch-carrot2/config.zip),put them into the config folder.
2.bin/plugin install medcl/elasticsearch-carrot2/1.0

have fun.

curl -XPOST http://localhost:9200/elasticsearch_resources/_carrot2?carrot2.fetch_size=1800&carrot2.language=ENGLISH&carrot2.title_fields=title&carrot2.summary_fields=snippet&carrot2.url_field=url&carrot2.attach_detail=true
-d'
{
    "query": {
        "bool": {
            "should": [
                {
                    "match_all": {}
                }
            ]
        }
    },
    "from": 0,
    "size": 10
}
'

Response sample:
https://gist.github.com/2184894

algorithm:
STCClusteringAlgorithm
BisectingKMeansClusteringAlgorithm
ByFieldClusteringAlgorithm
ByUrlClusteringAlgorithm
LingoClusteringAlgorithm

language:
ARABIC, BULGARIAN, CZECH, CHINESE_SIMPLIFIED, DANISH, DUTCH, ENGLISH, ESTONIAN, FINNISH, FRENCH, GERMAN, GREEK, HUNGARIAN, ITALIAN, IRISH, KOREAN, LATVIAN, LITHUANIAN, MALTESE, NORWEGIAN, POLISH, PORTUGUESE, ROMANIAN, RUSSIAN, SLOVAK, SLOVENE, SPANISH, SWEDISH, THAI, TURKISH;

Something went wrong with that request. Please try again.