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

refact(core): update dependencies version & adopt the new analyzer #1989

Merged
merged 3 commits into from
Oct 26, 2022

Conversation

jadepeng
Copy link
Contributor

And improve analyzer code

Copy link
Contributor

@javeme javeme left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution~

@codecov
Copy link

codecov bot commented Oct 25, 2022

Codecov Report

Merging #1989 (a44c93c) into master (9b5950e) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1989      +/-   ##
============================================
- Coverage     70.54%   70.53%   -0.01%     
+ Complexity      978      724     -254     
============================================
  Files           454      454              
  Lines         39055    39054       -1     
  Branches       5557     5558       +1     
============================================
- Hits          27550    27547       -3     
  Misses         8806     8806              
- Partials       2699     2701       +2     
Impacted Files Coverage Δ
.../com/baidu/hugegraph/analyzer/SmartCNAnalyzer.java 86.66% <ø> (-0.84%) ⬇️
...va/com/baidu/hugegraph/analyzer/JcsegAnalyzer.java 78.94% <100.00%> (ø)
.../hugegraph/backend/store/rocksdb/RocksDBTable.java 67.11% <0.00%> (-2.02%) ⬇️
...hugegraph/backend/store/raft/rpc/RpcForwarder.java 69.49% <0.00%> (-1.70%) ⬇️
...ugegraph/backend/store/raft/StoreStateMachine.java 64.86% <0.00%> (-0.91%) ⬇️
...om/baidu/hugegraph/backend/store/BackendTable.java 84.52% <0.00%> (-0.60%) ⬇️
...va/com/baidu/hugegraph/task/ServerInfoManager.java 72.67% <0.00%> (-0.59%) ⬇️
...hugegraph/backend/store/raft/rpc/RaftRequests.java 18.78% <0.00%> (-0.24%) ⬇️
...va/com/baidu/hugegraph/analyzer/HanLPAnalyzer.java 69.04% <0.00%> (ø)
...u/hugegraph/backend/store/mysql/MysqlSessions.java 69.49% <0.00%> (ø)
... and 3 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

…lyzer

jraft 1.3.9->1.3.11
ohc-core 0.7.0->0.7.4
org.apdplat.word 1.3->1.3.1
hanlp portable-1.5.0->portable-1.8.3
lucene-analyzers-smartcn,lucene-core 7.4.0->8.11.2
jcseg-core->2.2.0 ->2.6.2
lz4-java 1.7.1->1.8.0
eclipse-collections 10.4.0->11.1.0
fastutil 8.1.0->8.4.0
jjwt 0.11.2->0.11.5
@jadepeng jadepeng force-pushed the update-dependencies-version branch from 90d9a90 to 7bc8d13 Compare October 26, 2022 02:26
@imbajin imbajin changed the title Update server core dependencies version refact(core): update dependencies version & adopt the new analyzer Oct 26, 2022
segmentor.reset(new StringReader(text));

IWord word;
while ((word = segmentor.next()) != null) {
Copy link
Member

@imbajin imbajin Oct 26, 2022

Choose a reason for hiding this comment

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

warn: will the segmentor.next() throw exception if null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No exception

@javeme javeme merged commit 0781024 into apache:master Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants