Martijn took a swing at it just now. He eliminated any scoring-based 
slowdown, like so (constant_score_filter)…

    curl -s -XGET 'http://127.0.0.1:9200/dxr_test/line/_search?pretty' -d '{
        "query": {
            "filtered": {
                "query": {
                    "match_all": {}
                },
                "filter": {
                    "and": [
                        {
                            "query": {
                                "match_phrase": {
                                    "content_trg": "Children"
                                }
                            }
                        },
                        {
                            "query": {
                                "match_phrase": {
                                    "content_trg": "Next"
                                }
                            }
                        },
                        {
                            "query": {
                                "wildcard": {
                                    "content": {
                                        "wildcard": "*Children*Next*",
                                        "rewrite": "constant_score_filter"
                                    }
                                }
                            }
                        }
                    ]
                }
            }
        }
    }'

…but it didn't make any difference. Somehow, the `and` pipeline isn't 
behaving as we expect. Since ES can't provide any more detailed timing 
ouput, I guess the next step is to go look at the source code for the `and` 
filter and the wildcard query and see what's what.

I think we'd both be fascinated to know what's going on, if anyone has 
anything to add.

-- 
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/3114f40c-0b15-4dd4-8a6b-fc8c13d43f23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to