215.3. Spring Boot Auto-Configuration


组件支持 11 个选项,如下所列。

Expand
Name描述默认值类型

camel.component.lucene.config.analyzer

分析器构建 TokenStreams,用于分析文本。因此,它代表了从文本中提取索引术语的策略。分析器的值可以是扩展抽象类 org.apache.lucene.analysis.Analyzer 的任何类。Lucene 还开箱即用提供一组丰富的分析者

 

analyzer

camel.component.lucene.config.authority

  

字符串

camel.component.lucene.config.host

lucene 服务器的 URL

 

字符串

camel.component.lucene.config.index-directory

在分析指定分析器的文档时创建索引文件的文件系统目录

 

File

camel.component.lucene.config.lucene-version

  

版本

camel.component.lucene.config.max-hits

限制搜索操作结果集的整数值

 

整数

camel.component.lucene.config.operation

要执行此操作,如插入或查询。

 

luceneOperation

camel.component.lucene.config.source-directory

可选目录,其中包含要在生成者启动时分析并添加到索引中的文件。

 

File

camel.component.lucene.config.uri

  

URI

camel.component.lucene.enabled

启用 lucene 组件

true

布尔值

camel.component.lucene.resolve-property-placeholders

启动时组件是否应解析自身上的属性占位符。只有属于 String 类型的属性才能使用属性占位符。

true

布尔值

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat