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

Search simplifications and optimizations #104

Merged
merged 13 commits into from
Aug 23, 2023
Merged

Search simplifications and optimizations #104

merged 13 commits into from
Aug 23, 2023

Conversation

cmgrote
Copy link
Collaborator

@cmgrote cmgrote commented Aug 22, 2023

  • Adds a new FluentSearch approach to searching (no need to know Elastic anymore)
  • Changes default inclusion operation for Bool queries to filter rather than must (for efficiency)

Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
…sort by GUID for stable results across pages

Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
@cmgrote cmgrote requested a review from ErnestoLoma August 22, 2023 14:37
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Copy link
Collaborator

@ErnestoLoma ErnestoLoma left a comment

Choose a reason for hiding this comment

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

A few suggestions

pyatlan/model/fields/atlan_fields.py Outdated Show resolved Hide resolved
pyatlan/model/fields/atlan_fields.py Outdated Show resolved Hide resolved
pyatlan/model/fluent_search.py Show resolved Hide resolved
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
@cmgrote cmgrote requested a review from ErnestoLoma August 22, 2023 22:57
@cmgrote
Copy link
Collaborator Author

cmgrote commented Aug 22, 2023

Can you also double-check the Jinja template I removed is in fact no longer used (assets/referenceable.jinja2)? It looked to me like it's been replaced by other files (I couldn't find any reference to it in the generator code, either)...

@ErnestoLoma
Copy link
Collaborator

Yes it has been replaced by templates/referenceable_attributes.jinja.

pyatlan/model/fields/atlan_fields.py Outdated Show resolved Hide resolved
cmgrote and others added 3 commits August 23, 2023 11:07
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
@ErnestoLoma ErnestoLoma merged commit d7c28de into main Aug 23, 2023
@ErnestoLoma ErnestoLoma deleted the AM-118 branch August 23, 2023 17:01
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