Similar sentences

Hi ,

I am trying to find variants of a sentence using Elasticsearch.
Based on my logic , following are perfect variants.

  • Lion ate the sheep
    • Sheep was eaten by lion
    • Sheep ate the lion

I believe i can achieve this by using a proper analyzer ( all stop words
removal + aggressive stemmer) and MLT with like 90% words matching.
But then MLT is also giving me long sentences which have all the words in
the above sample
like

  • Lion and sheep went on a walk and ate hamburger from McDonalds
  • Sheep went to Lions house and ate dinner for the first date.

How can i achieve this ?

~Mido

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.