fc06111229
[chore] Porting to Clang-16 ( #49 )
...
Currently, some errors occur when building clucene by Clang-16. This PR fixes these errors.
2023-03-29 10:36:12 +08:00
eb3c0f7a68
[Fix](chinese analyzer) fix memory leak in chinese analyzer ( #45 )
...
1. Failure to implement the reusableTokenStream method results in token stream being created each time, which can cause memory leaks.
2. Refactored the Jieba instance using singleton.
3. Replaced new norm with nullptr in TermScorer to save memory.
2023-03-23 19:31:36 +08:00
0edfd44af1
[Fix](clucene) fix clucene Memory leak ( #43 )
...
Co-authored-by: yangsiyu <yangsiyu@selectdb.com >
2023-03-23 19:06:36 +08:00
37b0491072
[chore] Assign names to the build jobs ( #46 )
...
We should mark the build workflow required. Therefore, we should assign names to the build jobs in order to set up the .asf.yml.
2023-03-21 18:19:05 +08:00
18062b2aa1
[chore] Remove deprecated templates ( #42 )
...
Changes:
1. std::binary_function was marked deprecated in C++ 11 and we should remove it.
2. Add a workflow to validate the build on multiple platforms.
2023-03-21 00:27:23 +08:00
e6e9da1681
[Fix](thread) fix thread compatibility in diffrent compilation enviroment ( #39 )
...
fix compatible problem find in macos build.
2023-02-21 14:06:37 +08:00
b7e3279110
[Fix](clucene) fix some problems finding in multi-thread enviroment ( #31 )
...
1. fix thread-local problem to adapt bthread-context
2. fix multi-thread global variable conflicts problem.
3. enhance chinese analyzer
2023-02-17 21:15:20 +08:00
bbfbc15f29
[fix](clucene) Fix compilation bugs ( #30 )
2023-01-12 14:40:21 +08:00
8db03b9633
[Fix](clucene) fix compile error in MacOS ( #29 )
2023-01-11 23:11:41 +08:00
641247fe49
[Fix](clucene) fix clucene makefile and file name ( #27 )
2023-01-10 23:12:32 +08:00
0b55d3eb10
[Update](clucene) add dict for clucene jieba analyzer ( #26 )
...
Co-authored-by: airborne12 <airborne12@gmail.com >
2023-01-09 14:03:40 +08:00
d638d383ab
[Update] update clucene readme ( #24 )
...
Co-authored-by: airborne12 <airborne12@gmail.com >
2023-01-09 13:02:59 +08:00
f62d011d0a
[Update] initialize clucene ( #23 )
...
Co-authored-by: airborne12 <airborne12@gmail.com >
2023-01-09 11:29:44 +08:00
043689d494
first commit
2023-01-06 18:10:17 +08:00