Skip to content
New issue

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

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

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant