-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix sorting TEXTSTRING mapped fields in ES #2562
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
Conversation
|
|
|
Thanks for your contribution! Depending on your firm's policy, you either need to sign the individual CLA or have your firm signed up so that you can join the CCLA. See https://github.com/JanusGraph/janusgraph/blob/master/CONTRIBUTING.md |
li-boxuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this fix looks good to me!
If possible, could you also add some tests in JanusGraphIndexTest? That is the place where we write integration tests involving mixed index. This will help us make sure the TEXTSTRING sorting functionality works for both ES and Lucene. You may take a look at testDualMapping and either amend it or add a new test method.
3968347 to
d5f3519
Compare
Signed-off-by: Long Tran <long.tran1@fireeye.com>
d5f3519 to
232b511
Compare
Added some assertion to the existing |
li-boxuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
Thank you @long-tran1 ! |
Yup! Currently working on it. I'll let you know asap. |
|
I'm now authorized under a signed CLA. |
porunov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you @long-tran1 !
While the failing HBase tests are not related to your PR, I would suggest to wait for #2576 and rebase from master branch as soon as #2576 is merged.
|
@li-boxuan , @farodin91 - looks like HBase tests are now fixed. Merging this PR |
I think bug sounds more like an issue with GitHub Actions. CQL bug did apear round the same time. #2578 |
Sorting on TEXTSTRING mapped fields threw the following ES error, because JG applied sorting to the wrong ES field.
Thank you for contributing to JanusGraph!
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:
master)?For code changes:
For documentation related changes: