MLT support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MLT support

Itai-3
Hi,

Is Elastic Search support MLT?

Itai
Reply | Threaded
Open this post in threaded view
|

Re: MLT support

kimchy
Administrator
Not yet... . I hope to get it into 0.5, if not, then definitely into 0.6. (MLT is More Like This).

On Thu, Feb 25, 2010 at 3:52 PM, Itai <[hidden email]> wrote:
Hi,

Is Elastic Search support MLT?

Itai

Reply | Threaded
Open this post in threaded view
|

Re: MLT support

kimchy
Administrator
Some work to support MLT has gone into master in the form of queries that can be expressed through the query DSL. More here: http://github.com/elasticsearch/elasticsearch/issues/issue/43.

-shay.banon

On Thu, Feb 25, 2010 at 4:18 PM, Shay Banon <[hidden email]> wrote:
Not yet... . I hope to get it into 0.5, if not, then definitely into 0.6. (MLT is More Like This).


On Thu, Feb 25, 2010 at 3:52 PM, Itai <[hidden email]> wrote:
Hi,

Is Elastic Search support MLT?

Itai


Reply | Threaded
Open this post in threaded view
|

Re: MLT support

kimchy
Administrator
Yet more work on mlt is in master now. Support for getting documents like a specific document. Sample:

curl -XGET "localhost:9200/test/type1/1/_moreLikeThis?minTermFrequency=1&minDocFreq=1"

(or)

curl -XGET "localhost:9200/test/type1/1/_mlt?minTermFrequency=1&minDocFreq=1"

You can choose which fields to do the mlt on (by default will do on all of them), all mlt parameters are exposed though HTTP parameters. The request itself is translated into a search request, so the request body can be the search request body (facets, from, and so on). The result is the same as a search response.

-shay.banon

On Fri, Feb 26, 2010 at 3:30 AM, Shay Banon <[hidden email]> wrote:
Some work to support MLT has gone into master in the form of queries that can be expressed through the query DSL. More here: http://github.com/elasticsearch/elasticsearch/issues/issue/43.

-shay.banon


On Thu, Feb 25, 2010 at 4:18 PM, Shay Banon <[hidden email]> wrote:
Not yet... . I hope to get it into 0.5, if not, then definitely into 0.6. (MLT is More Like This).


On Thu, Feb 25, 2010 at 3:52 PM, Itai <[hidden email]> wrote:
Hi,

Is Elastic Search support MLT?

Itai



Reply | Threaded
Open this post in threaded view
|

Re: MLT support

Itai-3
Shay,

That was fast...
It would be very interesting to check it.

Thanks,

Itai

2010/2/27 Shay Banon <[hidden email]>
Yet more work on mlt is in master now. Support for getting documents like a specific document. Sample:

curl -XGET "localhost:9200/test/type1/1/_moreLikeThis?minTermFrequency=1&minDocFreq=1"

(or)

curl -XGET "localhost:9200/test/type1/1/_mlt?minTermFrequency=1&minDocFreq=1"

You can choose which fields to do the mlt on (by default will do on all of them), all mlt parameters are exposed though HTTP parameters. The request itself is translated into a search request, so the request body can be the search request body (facets, from, and so on). The result is the same as a search response.

-shay.banon

On Fri, Feb 26, 2010 at 3:30 AM, Shay Banon <[hidden email]> wrote:
Some work to support MLT has gone into master in the form of queries that can be expressed through the query DSL. More here: http://github.com/elasticsearch/elasticsearch/issues/issue/43.

-shay.banon


On Thu, Feb 25, 2010 at 4:18 PM, Shay Banon <[hidden email]> wrote:
Not yet... . I hope to get it into 0.5, if not, then definitely into 0.6. (MLT is More Like This).


On Thu, Feb 25, 2010 at 3:52 PM, Itai <[hidden email]> wrote:
Hi,

Is Elastic Search support MLT?

Itai