Performance of OR filter

Hello,

I'm having some issue with a part of my query leading to bad performance (about a 2-3x difference). Maybe someone can suggest an improvement. I already tried converting them over to a bool/match query, but seems to make no significant difference.

{
                                "query_string": {
                                    "query": "Module1 OR Module2 OR Module3 OR Module4 OR Module5 OR Module6 ORModule7",
                                    "fields": [
                                        "modules"
                                    ]
                                }
                            }

The ES docs just contain the module strings.

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.