baidu / AnyQ

FAQ-based Question Answering System
Apache License 2.0
2.58k stars 669 forks source link

在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 #184

Open Whitessky opened 4 years ago

Whitessky commented 4 years ago

我是按照如下的步骤来的: 1.修改sample_docs文件,增加"faq_id"字段 2.重新执行 sh solr_script/anyq_solr.sh solr_script/sample_docs, 重启solr 3.修改example/conf/retrieval.conf image 4../run_server,重启anyq 请问如何解决?

zhuyuqi commented 4 years ago

你这个问题解决了吗?

zhuyuqi commented 4 years ago

有的

------------------ 原始邮件 ------------------ 发件人: "houboowen"<notifications@github.com>; 发送时间: 2020年6月18日(星期四) 下午5:19 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

我也想按照不同领域区分,不知道该如何做? 你有方案了吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

houboowen commented 4 years ago

方便请教一下吗?  

------------------ 原始邮件 ------------------ 发件人: "zhuyuqi"<notifications@github.com>; 发送时间: 2020年6月18日(星期四) 下午5:20 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "侯博文。"<417435091@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

有的

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"houboowen"<notifications@github.com&gt;; 发送时间:&nbsp;2020年6月18日(星期四) 下午5:19 收件人:&nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&gt;; 抄送:&nbsp;"King"<529784162@qq.com&gt;;"Manual"<manual@noreply.github.com&gt;; 主题:&nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

我也想按照不同领域区分,不知道该如何做? 你有方案了吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

zhuyuqi commented 4 years ago

你要问什么?

------------------ 原始邮件 ------------------ 发件人: "houboowen"<notifications@github.com>; 发送时间: 2020年6月18日(星期四) 下午5:22 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

方便请教一下吗?&nbsp;&nbsp;

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"zhuyuqi"<notifications@github.com&gt;; 发送时间:&nbsp;2020年6月18日(星期四) 下午5:20 收件人:&nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&gt;; 抄送:&nbsp;"侯博文。"<417435091@qq.com&gt;;"Comment"<comment@noreply.github.com&gt;; 主题:&nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

有的

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人:&amp;nbsp;"houboowen"<notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年6月18日(星期四) 下午5:19
收件人:&amp;nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"King"<529784162@qq.com&amp;gt;;"Manual"<manual@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

我也想按照不同领域区分,不知道该如何做? 你有方案了吗?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhuyuqi commented 4 years ago

你加我微信  18200989764

------------------ 原始邮件 ------------------ 发件人: "houboowen"<notifications@github.com>; 发送时间: 2020年6月18日(星期四) 下午5:27 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

主要就是关于区分不同垂直领域。可否加个联系方式

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"zhuyuqi"<notifications@github.com&gt;; 发送时间:&nbsp;2020年6月18日(星期四) 下午5:26 收件人:&nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&gt;; 抄送:&nbsp;"侯博文。"<417435091@qq.com&gt;;"Comment"<comment@noreply.github.com&gt;; 主题:&nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

你要问什么?

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人:&amp;nbsp;"houboowen"<notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年6月18日(星期四) 下午5:22
收件人:&amp;nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"King"<529784162@qq.com&amp;gt;;"Manual"<manual@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

方便请教一下吗?&amp;amp;nbsp;&amp;amp;nbsp;

------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
发件人:&amp;amp;nbsp;"zhuyuqi"<notifications@github.com&amp;amp;gt;;
发送时间:&amp;amp;nbsp;2020年6月18日(星期四) 下午5:20
收件人:&amp;amp;nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&amp;amp;gt;;
抄送:&amp;amp;nbsp;"侯博文。"<417435091@qq.com&amp;amp;gt;;"Comment"<comment@noreply.github.com&amp;amp;gt;;
主题:&amp;amp;nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

有的    

------------------&amp;amp;amp;amp;nbsp;原始邮件&amp;amp;amp;amp;nbsp;------------------    
发件人:&amp;amp;amp;amp;nbsp;"houboowen"<notifications@github.com&amp;amp;amp;amp;gt;;    
发送时间:&amp;amp;amp;amp;nbsp;2020年6月18日(星期四) 下午5:19    
收件人:&amp;amp;amp;amp;nbsp;"baidu/AnyQ"<AnyQ@noreply.github.com&amp;amp;amp;amp;gt;;    
抄送:&amp;amp;amp;amp;nbsp;"King"<529784162@qq.com&amp;amp;amp;amp;gt;;"Manual"<manual@noreply.github.com&amp;amp;amp;amp;gt;;    
主题:&amp;amp;amp;amp;nbsp;Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)    

我也想按照不同领域区分,不知道该如何做? 你有方案了吗?    

—    
You are receiving this because you are subscribed to this thread.    
Reply to this email directly, view it on GitHub, or unsubscribe.    


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

isold23 commented 3 years ago

有相同需求,求答案

zhuyuqi commented 3 years ago

解决了。你要什么答案

------------------ 原始邮件 ------------------ 发件人: "baidu/AnyQ" <notifications@github.com>; 发送时间: 2021年1月8日(星期五) 晚上7:16 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

有相同需求,求答案

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

isold23 commented 3 years ago

image image solr中有数据,查询结果为空,求解

zhuyuqi commented 3 years ago

看不到你的图片,你加我QQ吧

------------------ 原始邮件 ------------------ 发件人: "baidu/AnyQ" <notifications@github.com>; 发送时间: 2021年1月18日(星期一) 晚上8:04 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184)

solr中有数据,查询结果为空,求解

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

darvincy commented 3 years ago

看不到你的图片,你加我QQ吧 ------------------ 原始邮件 ------------------ 发件人: "baidu/AnyQ" <notifications@github.com>; 发送时间: 2021年1月18日(星期一) 晚上8:04 收件人: "baidu/AnyQ"<AnyQ@noreply.github.com>; 抄送: "King"<529784162@qq.com>;"Manual"<manual@noreply.github.com>; 主题: Re: [baidu/AnyQ] 在faq_json文件里添加faq_id字段来区分不同的库问答没有结果 (#184) solr中有数据,查询结果为空,求解 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

大哥,求教,有相同的需求,很急,万分感谢,加你微信了你还没同意

isold23 commented 3 years ago

问题搞定,修改三个地方: 1、retrieval.conf 2、make_json.py 3、sample_docs