Skip to content

Conversation

@codeliner
Copy link

@codeliner codeliner commented Jul 6, 2019

This PR adds a new option to the PostgresDocumentStore. You can initialize it with useMetadataColumns set to true. If enabled, the document store will check documents and properties for a metadata key and if set, stores the metadata in dedicated columns and uses them in queries.

A new MetadataColumnIndex can be used to tell Postgres about the columns. The document store adds or removes the columns in addCollection, addCollectionIndex, dropCollectionIndex.

See tests for details.

@codeliner
Copy link
Author

@sandrokeil fyi

@codeliner codeliner merged commit 7287726 into master Jul 6, 2019
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

Successfully merging this pull request may close these issues.

2 participants