Skip to content

Conversation

@as51340
Copy link
Contributor

@as51340 as51340 commented Oct 4, 2022

Description

Query module which enables developers to serialize Memgraph into Elastic search instance using basic authentication. It can also scan based on the query given. It indexes documents using bulking_scan.

Pull request type

  • Bugfix
  • Algorithm/Module
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

######################################

Reviewer checklist (the reviewer checks this part)

Module/Algorithm

  • Core algorithm/module implementation
  • Query module implementation
  • Unit tests
  • End-to-end tests
  • Code documentation
  • README short description
  • Documentation on memgraph/docs

######################################

@as51340 as51340 added lang: python Issue on Python codebase status: ready PR is ready for review labels Oct 4, 2022
@as51340 as51340 self-assigned this Oct 4, 2022
@as51340 as51340 changed the title Added initial version of query module for connecting to elastic search Query module for connecting to elastic search Oct 6, 2022
@as51340 as51340 changed the title Query module for connecting to elastic search Query module for connecting to ElasticSearch Oct 6, 2022
@antoniofilipovic antoniofilipovic added the status: change PR reviewed - needs changes label Oct 7, 2022
Copy link
Contributor

@antoniofilipovic antoniofilipovic left a comment

Choose a reason for hiding this comment

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

Check the comment for the singleton class, we can discuss how to proceed but I think we need at least unit tests for this. When you implement a singleton class in unit tests we could mock elasticsearch. How does this sound to you?

@antoniofilipovic antoniofilipovic removed status: ready PR is ready for review status: change PR reviewed - needs changes labels Nov 14, 2022
@Josipmrden Josipmrden requested review from BorisTasevski and removed request for BorisTasevski January 3, 2023 10:54
@antoniofilipovic antoniofilipovic requested review from BorisTasevski and removed request for BorisTasevski January 19, 2023 15:15
HITS = "hits"
TOTAL = "total"

# Linkurious constants
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should remove anything that has connection with clients

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was left accidently, I removed other things.

Copy link
Contributor

@antoniofilipovic antoniofilipovic left a comment

Choose a reason for hiding this comment

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

Remove the connection to Linkurious and we are ready to ship it.

@antoniofilipovic antoniofilipovic merged commit b0753dd into main Jan 27, 2023
@antepusic antepusic deleted the Memgraph-serialization-ElasticSearch branch January 27, 2023 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: python Issue on Python codebase type: module

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants