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

_contained parameter seems to be ignored for cache hit purposes #2887

Closed
tadgh opened this issue Aug 12, 2021 · 0 comments
Closed

_contained parameter seems to be ignored for cache hit purposes #2887

tadgh opened this issue Aug 12, 2021 · 0 comments

Comments

@tadgh
Copy link
Collaborator

tadgh commented Aug 12, 2021

Search queries using _contained=truestore cached results

  • Step 1: Enabled Indexing of contained resources
  • Step 2: Created Contained resource
  • Step 3: Query contained resource
http://localhost:8000/Observation?subject.name=Smith&_contained=true

Successfully found contained resource. Example - 1 result found.

  • Step 4: Immediately Delete "_contained = True" from Query and run query again
http://localhost:8000/Observation?subject.name=Smith

Expected result : No Result Found
Actual Result : Result previous Search Query displayed.

  • Step 5: after 5 min Run query again
    Actual Result : No result found.
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

1 participant