Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow queries #445

Open
joepio opened this issue Sep 28, 2023 · 2 comments
Open

Slow queries #445

joepio opened this issue Sep 28, 2023 · 2 comments

Comments

@joepio
Copy link
Contributor

joepio commented Sep 28, 2023

The responses for simple queries can take up to 30 seconds.

Screenshot 2023-09-28 at 16 01 59 Screenshot 2023-09-28 at 16 00 12

Hopefully this is fixable with current hardware.

@breyten
Copy link
Member

breyten commented Oct 4, 2023

We reconfigured redis to prevent saving any kind of state which makes performance better in general. We're looking into other ways to improve performance.

@tsaltena
Copy link

tsaltena commented Jun 7, 2024

Is there an update on this? I am trying to implement some cross-index searches, but they can take minutes to complete. I am using the API to find mentions of academic researchers in policy documents.

Like so:

            "query": {
                "bool": {
                        "must": [
                            {"bool": {"should": ["Ronald Van Steden", "R. Steden", "Ronald Steden"]}},
                            {"match_phrase": {
                                "text": {
                                    "query": "Vrije Universiteit Amsterdam",
                                    "slop": 1,
                                    }    
                            }}
                        ]
                    }
            },

image

Are the search clusters provisioned with enough RAM for indexed text data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants