我继承网站有着非常大的分层分类: Vocabulary name: categories
--term: company name
---- many child terms
-- term: country
---- many child terms
-- term: issue
---- many child terms
我意识到这将是更容易地创建搜索方面,并查看与适当的内容,
我读过一些文件,并建立它看起来像 文件Lucene索引: id 1
keyword foo bar
keyword john
id 2
keyword foo
id 3
keyword john doe
keyword bar foo
keyword what the hell
我想要的方式,来查询Lucene的在那里我可以结合单个词和短语。 比方说我的查询是 foo