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

Problem of using semantic retrieval #2

Closed
yingfeng opened this issue Jul 11, 2018 · 3 comments
Closed

Problem of using semantic retrieval #2

yingfeng opened this issue Jul 11, 2018 · 3 comments

Comments

@yingfeng
Copy link

I am experimenting the semantic retrieval according to the tutorial, while got the corruption when starting run_server as follows:

E0100 00:00:00.000000  9225 dual_dict_wrapper.cpp:38] RAW: can't find dict_type:String2RecallItemAdapter
I0100 00:00:00.000000  9225 dual_dict_wrapper.cpp:64] RAW: load dict file:./example/conf/./faq_json.index
I0100 00:00:00.000000  9225 dual_dict_wrapper.cpp:65] RAW: dict file state: Wed Jul 11 10:25:55 2018


Program received signal SIGSEGV, Segmentation fault.
0x00000000007c6cd8 in anyq::DualDictWrapper::reload (this=0x5021ff0) at /root/AnyQ/src/dict/dual_dict_wrapper.cpp:68
68	        if (tmp_dict->release() != 0) {

The error happens due to the plugin of String2RecallItemAdapter has not been registered. However, there does not exist such definition within the project, where could I find it within the project?

@zhanghan1992
Copy link
Collaborator

I'm sorry that I made a mistake in this tutorial. Please replace 'String2RecallItemAdapter' with 'String2RetrievalItemAdapter' in example/conf/dict.conf. Thank you for pointing out our mistake.

@yingfeng
Copy link
Author

thank you, it works now

@zhangyanbo2007
Copy link

关于anyQ源码细节研读,请加我微信15821444815,一起研究研究!

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

3 participants