Hello ,
We need more data to debug this.
Can you paste the reference document you are performing MLT.
Also i feel if you set min_term_freq as 1 along with min_doc_freq=1 , it
should work.
Thanks
Vineeth
On Tue, Sep 9, 2014 at 7:39 PM, phenrigomes <[email protected]> wrote:
> Why _mlt results is empty? Even with data in index.
>
> GET /megacorp/deas/1/_mlt?mlt_fields=name&min_doc_freq=1
>
> {
> "took": 3,
> "timed_out": false,
> "_shards": {
> "total": 5,
> "successful": 5,
> "failed": 0
> },
> "hits": {
> "total": 0,
> "max_score": null,
> "hits": []
> }
> }
>
> Type Mapping:
>
> {
> "megacorp": {
> "mappings": {
> "deas": {
> "properties": {
> "fields": {
> "type": "string"
> },
> "ids": {
> "type": "string"
> },
> "max_query_terms": {
> "type": "long"
> },
> "min_term_freq": {
> "type": "long"
> },
> "more_like_this": {
> "properties": {
> "docs": {
> "properties": {
> "_id": {
> "type": "string"
> },
> "_index": {
> "type": "string"
> },
> "_type": {
> "type": "string"
> }
> }
> },
> "fields": {
> "type": "string"
> },
> "ids": {
> "type": "long"
> },
> "max_query_terms": {
> "type": "long"
> },
> "min_term_freq": {
> "type": "long"
> }
> }
> },
> "name": {
> "type": "string",
> "store": true
> }
> }
> }
> }
> }
> }
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/More-Like-This-Results-Is-Empty-tp4063176.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> 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/1410271748763-4063176.post%40n3.nabble.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAGdPd5%3DoB3QHmQ_dzbU0oJWQcLmhqT03PJdTwJqtRcT9EG5ERw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.