opengrock 文件路径搜索现在需要一个带引号的值

opengrock file path search now needs a quoted value

我们刚刚从 opengrok-0.11.1 升级到 opengrok-1.0 以允许访问历史记录和注释等

但是现在有很多搜索字符串需要引号。我们过去能够搜索包含未加引号的 hosts.txt 的文件路径,现在可以找到数百个匹配项,而带引号的搜索 "hosts.txt" 可以找到预期的两个文件。是否有一些默认值我们可以调整以更改用于不同领域的分析器。这是一个错误吗?

根据 OpenGrok 帮助 (OpenGrok > 帮助):

if you want just exact path, enclose it in "", e.g. "src/mypath", otherwise dividers will be removed and you get more hits

此更改发生在 24-Oct-13,因为 Lucene 根据 issue 672(您可以在其中找到更多信息)进行更改。