Solr 10 dropped the ExtractingRequestHandler, so a dedicated Tika
container on the Solr VPS (Caddy route /tika/*, own basic-auth
credential; Tika itself has no auth) extracts file text during
indexing: TikaDownloadContentIndexer listens on
BeforeDocumentIsProcessedForIndexingEvent, resolves the file through
the existing DownloadFileResolver and appends the text (mime
whitelist, 30 MB cap, 100k chars, fail-soft) to the document's content
field. Extractions are cached in var/tika-cache keyed on
path+size+mtime - a full re-index of 177 downloads drops from 2:12 min
to 27 s, replacing a file re-extracts naturally. Datasheet
specifications ("625i", "genlock") are now searchable. Spec v1.15.
59 lines
2.9 KiB
XML
59 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Product Finder - delivers the category hierarchy for the filter selects.
|
|
One element per products page, placed above the product lists.
|
|
-->
|
|
<T3DataStructure>
|
|
<sheets>
|
|
<sDEF>
|
|
<ROOT>
|
|
<sheetTitle>Product Finder</sheetTitle>
|
|
<type>array</type>
|
|
<el>
|
|
<settings.categoryRoot>
|
|
<label>Category root</label>
|
|
<description>The category whose children become the filter's main categories. Leave empty to use the product category tree ("Product").</description>
|
|
<config>
|
|
<type>select</type>
|
|
<renderType>selectSingle</renderType>
|
|
<foreign_table>sys_category</foreign_table>
|
|
<foreign_table_where>AND sys_category.parent = 0 AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.title ASC</foreign_table_where>
|
|
<items type="array">
|
|
<numIndex index="0" type="array">
|
|
<numIndex index="0">Product category tree (default)</numIndex>
|
|
<numIndex index="1">0</numIndex>
|
|
</numIndex>
|
|
</items>
|
|
<default>0</default>
|
|
</config>
|
|
</settings.categoryRoot>
|
|
|
|
<settings.sorting>
|
|
<label>Sort categories by</label>
|
|
<description>Applies to the main categories and their subcategories alike.</description>
|
|
<config>
|
|
<type>select</type>
|
|
<renderType>selectSingle</renderType>
|
|
<items type="array">
|
|
<numIndex index="0" type="array">
|
|
<numIndex index="0">Backend order (as arranged in the category tree)</numIndex>
|
|
<numIndex index="1">sorting</numIndex>
|
|
</numIndex>
|
|
<numIndex index="1" type="array">
|
|
<numIndex index="0">Alphabetically by title</numIndex>
|
|
<numIndex index="1">title</numIndex>
|
|
</numIndex>
|
|
<numIndex index="2" type="array">
|
|
<numIndex index="0">By uid</numIndex>
|
|
<numIndex index="1">uid</numIndex>
|
|
</numIndex>
|
|
</items>
|
|
<default>sorting</default>
|
|
</config>
|
|
</settings.sorting>
|
|
</el>
|
|
</ROOT>
|
|
</sDEF>
|
|
</sheets>
|
|
</T3DataStructure>
|