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

Create Index for optimized answer retreival #3932

Open
dedenbangkit opened this issue Nov 7, 2022 · 0 comments
Open

Create Index for optimized answer retreival #3932

dedenbangkit opened this issue Nov 7, 2022 · 0 comments

Comments

@dedenbangkit
Copy link
Member

In order to use projection queries for answers, we need to create the following index:

The suggested index for this query is:

<datastore-index kind="QuestionAnswerStore" ancestor="false" source="manual">
    <property name="questionID" direction="asc"/>
    <property name="surveyInstanceId" direction="asc"/>
    <property name="value" direction="asc"/>
</datastore-index>

See: akvo/akvo-flow-api#244

dedenbangkit added a commit to akvo/akvo-flow-api that referenced this issue Nov 7, 2022
* TODO:
* Recover projections when index is up
* akvo/akvo-flow#3932
zuhdil added a commit that referenced this issue Nov 9, 2022
…zed-answer-retreival

[#3932] Add QuestionAnswerStore datastore-index
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