Hi Alex, thanks. Good idea to convert the numbers into strings. But converting the number fields to string won't exactly solve my problem. Only if there would be an analyzer which breaks down numbers into multiple tokens. Eg 300 into "100", "200", "300"
Cheers, Valentin On Tuesday, May 6, 2014 12:04:53 PM UTC+2, Alex Ksikes wrote: > > Hi Valentin, > > As you know, you can only perform mlt on fields which are analyzed. > However, you can convert your other fields (number, ..) to text using a > multi field with type string at indexing time. > > Cheers, > > Alex > > On Thursday, March 27, 2014 4:31:58 PM UTC+1, Valentin wrote: >> >> Hi, >> >> as far as I understand it the more like this query allows to find >> documents where the same tokens are used. I wonder if there is a >> possibility to find documents where a particular field is compared based on >> its value (number). >> >> Regards >> Valentin >> >> PS: elasticsearch rocks! >> > -- 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/195f8fa2-821f-4556-b9ae-8924b35c859f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
