惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

Lucene

关于 luke 查看 lucene 不支持 IKanalyzer - V2EX
关于Lucene的一个菜鸟问题? - V2EX
wangxiaolongbob · 2012-07-03 · via Lucene

我数据库表里面有这样一条数据(字段名:值):
question:可以到淘宝大学去学习吗?
replay:淘宝大学,就是在淘宝网上,就是淘宝开通的学习频道而已!
label:听课

这3个字段分别对应lucene索引里面的3个Field:question,replay,label。然后我要建立IndexSearcher的时候,在QueryParser中一定要指定某一个域,这让我有点郁闷。我的愿望是:这3个域都搜索,比如我输入“学习频道听课”(分词后为 学习 频道 听课),要能搜索到这篇DOC,我该怎么做???(我用的分词器是IK分词器,另外不能用MultifieldQueryParser,因为他会把 “学习 频道 听课”分别去我指定的多个域里面匹配,比如我指定了question和label域,那么他就把“学习 频道 听课”放到question匹配,然后放到label域匹配,最后将2则匹配的文档进行逻辑与,这样当然匹配不到了啊。)求指点!!!!