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

php都升级到7了,scws.dll文件为何最高只有5.4的,请大神帮忙编译个5.6或者7的。 #95

Open
010test opened this issue Jun 3, 2019 · 1 comment

Comments

@010test
Copy link

010test commented Jun 3, 2019

如题,谢谢。

@TheBlueSkim
Copy link

TheBlueSkim commented Sep 30, 2019

根据文档的描述
从 1.3.1 版本起,Xunsearch 的 PHP-SDK 中加入 XSTokenizerScws 类,可通过搜索服务端执行分词功能。
所以如果你的版本达标,可以直接使用
$xs = new XS(...); // 必须先创建一个 xs 实例,否则会抛出异常 $tokenizer = new XSTokenizerScws; // 直接创建实例
进行分词

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

No branches or pull requests

2 participants