【问题标题】:Search engine with ability to search for exact match over multiple views?能够在多个视图中搜索完全匹配的搜索引擎?
【发布时间】:2015-01-09 21:18:53
【问题描述】:

假设我有一堆原始文本,我想对其执行搜索。

Example:  "* escaped", or "president of the United States". 

正如我搜索的那样,有许多工具可以通过索引许多可能的 n-gram 来做到这一点(例如 Lucene)。

假设除了原始文本(视图 1)之外,我通过将每个单词分配给 lebel = {A, B} 来创建另一个视图,这是原始文本的另一个视图(视图 2)。例如,如果有一个文档包含:

View1 = "Jack killed John because he doesn't know how to code"

我们有视图 2,正好对应每个单词:

View2 = "A    B      A      B     A   A      B    A   A   B"

(一般我可能有更多视图,但假设我们有两个视图)

鉴于第二个视图,我希望能够搜索这两个视图的组合。

例如:

"A of the United States" 

"president of the B" 

或者可能明确指定:

"V2={A} V1={of the United States" 

"V1={president of the} V2={B}" 

现有的搜索引擎有没有类似的功能?

【问题讨论】:

    标签: database search hash lucene search-engine


    【解决方案1】:

    BlackLab 可以满足我的需求,但不确定它是如何工作的: https://github.com/INL/BlackLab

    【讨论】:

      猜你喜欢
      • 2019-09-22
      • 1970-01-01
      • 2020-05-07
      • 1970-01-01
      • 1970-01-01
      • 2016-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多