我需要修改 lucene 分析器以使其能够识别单词“Ben”(荷兰语停用词)。请进一步指导我。如何让 Lucene Analyzer 接受这个词作为常规词?
服务器的 Repository.xml
<paramname="analyzer"value="org.hippoecm.repository.query.lucene.StandardHippoAnalyzer"/>
工作区.xml
<?xmlversion="1.0"encoding="UTF-8"?>
<Workspacename="default">
<!--
virtual file system of the workspace:
class: FQN of class implementing the FileSystem interface
-->
<FileSystemclass="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem">
</FileSystem>
<!--
persistence manager of the workspace:
class: FQN of class implementing the PersistenceManager interface
-->
<PersistenceManagerclass="org.apache.jackrabbit.core.persistence.mem.InMemPersistenceManager">
</PersistenceManager>
<!--
Search index and the file system it uses.
class: FQN of class implementing the QueryHandler interface
-->
<SearchIndexclass="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<paramname="path"value="${wsp.home}/index"/>
</SearchIndex>
</Workspace>