HAPI always seems to timeout on searches

284 Views Asked by At

I have a HAPI instance set up in it's out of the box configuration. I've loaded 370,000 instances of Basic into it, and each one has a value for Basic.Meta.Profile.

I try to do a search for all instances of a given profile:

{{URL}}/Basic?_profile=http://stelar.org/StructureDefinition/stelar/profile/questionResponse

But I always get 504 gateway timeout returned. I have no idea if it's the search or the bundling of the results that's taking too long, but I'm not really sure how I go about fixing it. It doesn't seem like a lot of instances to search through, and it's one of the standard search parameters, so I was kind of expecting it to work out of the box.

Does anyone have any suggestions for what might be wrong?

0

There are 0 best solutions below