Hi Valentin,

For these types of searches, have you looked into range queries, perhaps
combined in a boolean query?

Alex
On May 7, 2014 4:14 PM, "Valentin" <[email protected]> wrote:

> 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 a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/Wsye6JD__ys/unsubscribe.
> To unsubscribe from this group and all its topics, 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<https://groups.google.com/d/msgid/elasticsearch/195f8fa2-821f-4556-b9ae-8924b35c859f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAMrXmPdWStJjTaW5%3D27MrMNLHPkK1hihgrs%3DDs-SAiHzHz9eAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to