On 21.02.2014 10:50, prashant.agrawal wrote:
> I am looking forward to write queries w.r.t. text categorization in
> Elasticsearch.
> So is there any API exists already if not how can I proceed with that?

Hi,

you could do something like kNN:
http://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm

Simply perform an MLT query and count the categories of the top-N docs.
Additionally, you could weight the categories by score.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html

I don't think there is anything directly usable via the API to classify
documents. Maybe there is some neat trick using aggregations in ES 1.0.

Hannes

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5307A8B8.6080801%40hkorte.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to