214.3. Spring Boot Auto-Configuration

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

Name描述默认类型

camel.component.lucene.config.analyzer

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

布尔值