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

Elasticsearch2 Adlib support #716

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Elasticsearch2 Adlib support #716

merged 2 commits into from
Oct 24, 2022

Conversation

mworrell
Copy link
Contributor

@mworrell mworrell commented Oct 21, 2022

Add support for mod_elasticsearch2 to the Adlib/collection modules.

In ES7+ the _type is removed, as we used it for the Adlib database reference when storing documents we now have to combine the type and priref of a record to make an unique document _id (as multiple databases can have the same priref).

The filter collection_object_url can now be used to make collection_object urls, this instead of manually combining the type and id in the template (or Erlang code).

See also: driebit/mod_elasticsearch2#5

Copy link
Contributor

@cdfa cdfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Handig die collection_object_url

@cdfa cdfa force-pushed the elasticsearch2-adlib branch from 5e21973 to 4a97ddd Compare October 24, 2022 11:27
@cdfa cdfa merged commit ca2bdd8 into master Oct 24, 2022
@cdfa cdfa deleted the elasticsearch2-adlib branch October 24, 2022 14:33
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