netgen / ezplatform-search-extra
Netgen 为 eZ Platform 搜索提供的附加功能
Requires
- ext-dom: *
- ext-json: *
- ezsystems/ezplatform-kernel: ^1.2
Requires (Dev)
Suggests
- ezsystems/ezplatform-solr-search-engine: Supports advanced capabilities with eZ Platform search API, ^1.4 is required
- netgen/ezplatform-site-api: Boost your site-building productivity with eZ Platform
Conflicts
- symfony/cache: 5.0.11 || 5.1.3
- dev-master / 2.7.x-dev
- 2.6.0
- 2.5.x-dev
- 2.5.0
- 2.4.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.16.x-dev
- 1.16.0
- 1.15.x-dev
- 1.15
- 1.14.x-dev
- 1.14.1
- 1.14.0
- 1.13.x-dev
- 1.13.0
- 1.12.x-dev
- 1.12
- 1.11.x-dev
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-NGSTACK-361_location_siblings_accesss
- dev-sf28_compat
This package is auto-updated.
Last update: 2024-08-29 15:46:54 UTC
README
其他版本
- 与 eZ Platform
3.1
兼容的版本是2.4
- 与 eZ Platform
2.x
兼容的版本是1.14
特性
这仅列出了所有实现的功能,有关特定功能的更多详细信息,请参阅文档。
-
ContentName
约束条件,用于匹配翻译的内容名称(solr
,legacy
) -
ContentName
排序约束条件,用于匹配翻译的内容名称(solr
,legacy
) -
ContentId
和LocationId
约束条件,支持范围运算符(solr
,legacy
)支持的运算符有:
EQ
,IN
,GT
,GTE
,LT
,LTE
,BETWEEN
。 -
Visible
约束条件(solr
,legacy
),可在内容和位置搜索中同时使用。该约束条件作用于内容和位置对象的复合可见性:如果内容被标记为可见,则内容可见;如果位置被标记为可见,且未被其任何祖先位置隐藏,并且其内容可见,则位置可见。 -
拼写检查建议支持(
solr
) -
CustomField
排序约束条件(solr
)提供了一种通过名称直接对 Solr 字段进行排序的方法。
-
Pagerfanta 适配器提供对搜索引擎返回的额外信息的访问权限,如分面、聚合、最高分数和执行时间(
solr
,legacy
)- 使用
API
搜索服务时,使用SearchAdapter
- 使用
SPI
搜索处理程序时,使用SearchHandlerAdapter
- 使用
-
一套与用户相关的约束条件(
legacy
)HasUser
约束条件UserEmail
约束条件UserEnabled
约束条件UserId
约束条件UserLogin
条件
-
IsFieldEmpty
条件 (solr
)安装后需要重新索引。
-
ObjectStateIdentifier
条件 (solr
,legacy
) -
SectionIdentifier
条件 (solr
,legacy
) -
支持自定义内容子文档(Solr 搜索引擎)(
solr
)提供了一种将自定义子文档索引到内容文档以及
SubdocumentQuery
条件,在内容搜索中可用于定义自定义子文档的分组条件。 -
SubdocumentField
排序子句 (solr
)提供了一种按子文档字段排序内容的方法,可以选择评分计算模式,并可选择使用
SubdocumentQuery
条件进行限制。注意: 这需要 Solr
6.6
或更高版本才能正确使用所有评分模式。 -
LocationQuery
条件 (solr
,legacy
)允许对位置条件进行分组,以便它们在位置上一起应用。
-
CustomFieldFacetBuilder
术语构建器 (solr
)允许在自定义 Solr 字段上构建术语。
-
RawFacetBuilder
术语构建器 (solr
)完全公开 Solr 的 JSON 术语 API。
-
Score
排序子句 (solr
)提供了一种按分数值排序内容的方法。
-
Random
排序子句 (solr
)提供了一种随机排序内容的方法。
-
RichText
和XmlText
的索引实现 (solr
)这些实现将作为关键字索引的文本缩短到 256 个字符,这可以防止当字段的内容太大而无法适合 Solr 的字符串字段时出现失败。它们可以通过语义配置进行控制(显示默认值)
netgen_ez_platform_search_extra: indexable_field_type: ezxmltext: enabled: true short_text_limit: 256 ezrichtext: enabled: true short_text_limit: 256
-
Loading
结果提取器实现 (solr
)加载结果提取器通过从持久化中加载它们来获取其值对象。这防止了
UnauthorizedException
失败,因为缺少content/versionread
权限时内容被更新,而当前版本号尚未在 Solr 中索引- 当内容/位置被删除且相应的文档尚未从 Solr 索引中删除时,发生
NotFoundException
失败
可以使用语义配置控制加载结果提取器的使用(显示默认值)
netgen_ez_platform_search_extra: use_loading_search_result_extractor: true
安装
要安装 eZ Platform Search Extra,首先将其作为依赖项添加到您的项目中
composer require netgen/ezplatform-search-extra:^2.5
一旦安装了附加的依赖,请通过将新依赖项添加到 app/AppKernel.php
文件中 registerBundles()
方法内的 $bundles
数组,来激活捆绑包,并与其他必需的捆绑包一起使用
public function registerBundles() { ... $bundles[] = new Netgen\Bundle\EzPlatformSearchExtraBundle\NetgenEzPlatformSearchExtraBundle; return $bundles; }