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

AnalyzerTextOptions ctors changes and name suffix on properties #11810

Merged
merged 7 commits into from
Jun 5, 2020

Conversation

sima-zhu
Copy link
Contributor

@sima-zhu sima-zhu commented Jun 5, 2020

@sima-zhu sima-zhu self-assigned this Jun 5, 2020
@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jun 5, 2020

/azp run java - search - tests

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jun 5, 2020

/azp run java - search - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -45,7 +45,7 @@
* 'Simple', 'Stop', 'Whitespace'
*/
@JsonProperty(value = "analyzer")
private LexicalAnalyzerName analyzer;
private LexicalAnalyzerName analyzerName;
Copy link
Member

Choose a reason for hiding this comment

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

Two questions.

  1. Should this and tokenizerName be final and only set in the constructor?
  2. If we choose not to do Blob storage hangs for files > about 3500 kb #1 should the other value be set to null when using setAnalyzerName or setTokenizerName? Based on other code it appears these should be mutually exclusive.

Copy link
Contributor Author

@sima-zhu sima-zhu Jun 5, 2020

Choose a reason for hiding this comment

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

I have set the other one to null.
Also made tokenizerName and analyzerName final

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jun 5, 2020

/azp run java - search - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jun 5, 2020

/azp run java - search - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jun 5, 2020

/azp run java - search - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sima-zhu sima-zhu merged commit 65ae7e7 into Azure:master Jun 5, 2020
@sima-zhu sima-zhu deleted the consistency_changes branch June 5, 2020 22:42
eboyd23 pushed a commit to eboyd23/azure-sdk-for-java that referenced this pull request Jun 8, 2020
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