Skip to content

Conversation

@hexian55
Copy link
Contributor

@hexian55 hexian55 commented Aug 8, 2020

Proposed changes

issues:#4295

Types of changes

What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@wuyunfeng wuyunfeng self-assigned this Aug 10, 2020
@wuyunfeng wuyunfeng added area/doris-on-es Issues or PRs related to Doris on ElasticSearch kind/fix Categorizes issue or PR as related to a bug. labels Aug 10, 2020

package org.apache.doris.external.elasticsearch;

import org.apache.commons.lang3.StringUtils;
Copy link
Member

Choose a reason for hiding this comment

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

import order is not right

}

@Test
public void testFieldMultAnalyzer() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public void testFieldMultAnalyzer() throws Exception {
public void testMultTextFields() throws Exception {

mappingPhase.resolveFields(searchContext, loadJsonFromFile("data/es/test_index_mapping_field_mult_analyzer.json"));
assertFalse(searchContext.docValueFieldsContext().containsKey("k3"));
}
}
Copy link
Member

Choose a reason for hiding this comment

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

add blank new line

}
}
}
} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

add blank new line

@wuyunfeng wuyunfeng changed the title fix doc value field NullPointerException [Doris On ES][Bug-Fix] Resolve NullPointerException when multi fields with text type Aug 10, 2020
Copy link
Member

@wuyunfeng wuyunfeng left a comment

Choose a reason for hiding this comment

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

I left some minor comments

wuyunfeng
wuyunfeng previously approved these changes Aug 10, 2020
Copy link
Member

@wuyunfeng wuyunfeng left a comment

Choose a reason for hiding this comment

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

This looks good to me, but i left some minor comments

@wuyunfeng wuyunfeng added the approved Indicates a PR has been approved by one committer. label Aug 10, 2020
Copy link
Member

@wuyunfeng wuyunfeng left a comment

Choose a reason for hiding this comment

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

LGTM

@wuyunfeng wuyunfeng merged commit 48f3ba3 into apache:master Aug 11, 2020
@wuyunfeng
Copy link
Member

Thanks @hexian55

EmmyMiao87 pushed a commit to EmmyMiao87/incubator-doris that referenced this pull request Aug 11, 2020
@EmmyMiao87 EmmyMiao87 added the branch-0.13 PR which need to merge to branch 0.13 label Aug 18, 2020
@EmmyMiao87 EmmyMiao87 mentioned this pull request Aug 18, 2020
acelyc111 pushed a commit to acelyc111/incubator-doris that referenced this pull request Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/doris-on-es Issues or PRs related to Doris on ElasticSearch branch-0.13 PR which need to merge to branch 0.13 kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants