Download the PHP package h4ck3r31/solr-utility without Composer
On this page you can find all versions of the php package h4ck3r31/solr-utility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download h4ck3r31/solr-utility
More information about h4ck3r31/solr-utility
Files in h4ck3r31/solr-utility
Package solr-utility
Short Description This TYPO3 extension provides several utilities for ext:solr
License GPL-2.0+
Informations about the package solr-utility
TYPO3 Extension solr_utility
Content Objects
SOLR_BASECATEGORY
Fetches the next level cateogry titles of a given base category.
Properties
baseId
(int, required): Defines the base ID ofsys_category
to retrieve the next level children fromremoveEmptyValues
(bool, default: true): Whether to remove items that don't have a category titlemultiValue
(bool, default: true): Whether to return a multivalued arraysingleValueGlue
(string, default: ","): Which character to use to concatenate multiple category titles in casemultiValue
is disabledfilterIds
(int-list): Defines which category IDs to keep in the final result of resolved base categoriesexcludeIds
(int-list): Defines which category IDs to exclude from the final result of resolved base categories - takes precedence overfilterIds
concerning values that are present for both properties
Example
Given the following category tree, the SOLR_BASECATEGORY
content object
invoked for baseId=1
would fetch the category titles of the next level
below the submitted base category - in this example the result would be
["News", "Products", "Events", "Press"]
only.
- 1: Base Categories
- 11: News
- 12: Products
- 121: New Products
- 122: Products on Sale
- 13: Events
- 14: Press
- 2: Product Categories
- 21: Software
- 23: Books
Example of fetching next level category titles of base category with uid=1
Indexing
Ignore page ID constraints
Ignore page ID constraints on indexing entities that are not accessible per
default, like e.g. indexing sys_file
items on root-page (pid=0
).
Example of indexing files of storage 1
below folder /public-downloads/
Prevent non-translated pages being indexes
Prevents pages being indexed multiple times if no page translation is available.
This prevents rendering the content fall-back mode for sys_language_uid=0
with
having a real language in the request.
Example of preventing non-translated pages get indexed in content fall-back mode