Here is the tar.gz folder of the entire elasticsearch data.
let me know if you need anything elese
https://drive.google.com/file/d/0BwYlrRGOfVARbzkwb2FEUmxlRFU/view?usp=sharing

On Fri, Oct 3, 2014 at 5:00 PM, [email protected] <[email protected]
> wrote:

> I would love to reproduce it, do you have some test data available for a
> full reproduction?
>
> Thanks,
>
> Jörg
>
> On Fri, Oct 3, 2014 at 4:21 PM, Ümit Seren <[email protected]> wrote:
>
>> I have a weird problem when doing a simple query using different JDK
>> versions with the same indexed data.
>>
>> I have 2 docker images based on the official dockerfiles (
>> http://dockerfile.github.io/#/elasticsearch).
>> One image has jdk7u67 installed and one has jdk8u20 installed. Both use
>> the same index data (mounted as a volume) and have the same elasticsearch
>> installed (1.3.4)
>> Of course I only run one instance at a time
>>
>> When I issue following search request I get different results (1 hit with
>> jdk7 and 5 hits with jdk8):
>>
>> POST /INDEX/MyType/_search
>> {
>>   "from": 0,
>>   "size": 50,
>>   "query": {
>>     "multi_match": {
>>       "query": "Flowering",
>>       "fields": [
>>         "name^3.5"
>>       ]
>>     }
>>   },
>>    "post_filter": {
>>     "bool": {
>>       "must": [
>>         {
>>           "term": {
>>             "candidategenelist.id": "20"
>>           }
>>         },
>>         {
>>           "term": {
>>             "status": "Finished"
>>           }
>>         }
>>       ]
>>     }
>>   }
>> }
>>
>> The “MyType” document has a mapping.
>> candidategenelist is a nested type:
>>
>> candidategenelist: {
>>     properties: {
>>         id: {
>>             type: integer
>>        }
>>        name: {
>>           type: string
>> }
>>
>> There are a couple of additional nested field types with a similar setup
>> (id: integer, name: string)
>>
>> With jdk7u67 I get 1 hit:
>>
>> Relevant explanation:
>> description”: “weight(study_.name:flowering in 74274)
>> [PerFieldSimilarity], result of:”,
>>
>> With jdk8u20 I get 5 hits:
>>
>> Relevant explanation:
>> “description”: “weight(candidategenelist.name:flowering in 74274)
>> [PerFieldSimilarity], result of:”,
>> “description”: “weight(candidategenelist.name:flowering in 6614)
>> [PerFieldSimilarity], result of:”,
>>
>> “description”: “weight(candidategenelist.name:flowering in 56078)
>> [PerFieldSimilarity], result of:”,
>> “description”: “weight(candidategenelist.name:flowering in 6674)
>> [PerFieldSimilarity], result of:”,
>> “description”: “weight(candidategenelist.name:flowering in 6646)
>> [PerFieldSimilarity], result of:”,
>>
>> So according to the explanation, the only difference is that with JDK7u67
>> it matches “name” in the nested study_ field whereas with JDK8u20 it
>> matches the “name” in candidategenelist.
>>
>> I really don’t know why there are different query results when the only
>> difference is the JDK version?!
>> ​
>>
>> --
>> 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/66af6726-d390-4f3f-8620-6ef2cff5397c%40googlegroups.com
>> <https://groups.google.com/d/msgid/elasticsearch/66af6726-d390-4f3f-8620-6ef2cff5397c%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 a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/3m9vPPokslw/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/CAKdsXoEkKm-6Z%2B65jWANAACC8nta9JexLjtjaLub5-fS5pSsyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEkKm-6Z%2B65jWANAACC8nta9JexLjtjaLub5-fS5pSsyg%40mail.gmail.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/CANBYW4CEmwYd1iy%3DNWDK8iSiOh%3DoeMWGZD4xXw1L9yc1phmf_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to