215.3. Spring Boot Auto-Configuration
组件支持 11 个选项,如下所列。
| 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 | 布尔值 |