Closed lkimuk closed 1 week ago
Finally, I identified the issue. The Contrib components are located in lucene++-contrib.so, so this library needs to be linked as well:
find_library(LUCENEPP_CONTRIB_LIB lucene++-contrib)
Ensure that the Contrib module is enabled during compilation with -DENABLE_CONTRIB=ON
. It appears to be enabled by default, but you can confirm this by running cmake .. -L | grep ENABLE_CONTRIB
.
Hello,
I'm using
StandardAnalyzer
without any issues, but when I try to switch to a contrib analyzer, such asChineseAnalyzer
, I encounter the following error:I suspect that contrib analyzers are not being properly compiled, as I cannot find these classes in the
.so
file. Runningnm -D /usr/local/lib/liblucene++.so | grep ChineseAnalyzer
returns no output.Could you please advise how to resolve this? Thanks in advance!