Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add integration tests * Simplified code * Added documentation for possible points to extend the indexing
- Loading branch information
Showing
8 changed files
with
278 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,4 @@ tools: | |
|
||
external_code_coverage: | ||
runs: 2 | ||
timeout: 1200 | ||
timeout: 1800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../Includes.txt | ||
|
||
|
||
.. _conf-backend: | ||
|
||
|
||
.. raw:: latex | ||
|
||
\newpage | ||
|
||
.. raw:: pdf | ||
PageBreak | ||
Development | ||
=========== | ||
|
||
There are many ways to extend and hook into EXT:solr to customize EXT:solr for your needs. | ||
|
||
.. toctree:: | ||
:maxdepth: 5 | ||
:glob: | ||
|
||
Indexing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.. This file will be replaced from solrfluid later | ||
======== | ||
Indexing | ||
======== | ||
|
||
In this section i describe the possibilities to extend page indexing in EXT:solr with custom code. | ||
|
||
Page Indexing | ||
============= | ||
|
||
There are several points to extend the Typo3PageIndexer class and register own classes that are used during the indexing. | ||
|
||
indexPageAddDocuments | ||
--------------------- | ||
|
||
Registered classes can be used to add additional documents to solr when a page get's indexed. | ||
|
||
Registration with: $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageAddDocuments'] | ||
Required Interface: AdditionalPageIndexer | ||
|
||
|
||
indexPageSubstitutePageDocument | ||
------------------------------- | ||
|
||
Registered classes can be used to replace/substitute a Solr document of a page. | ||
|
||
|
||
Registration with: $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageSubstitutePageDocument'] | ||
Required Interface: SubstitutePageIndexer | ||
|
||
indexPagePostProcessPageDocument | ||
-------------------------------- | ||
|
||
Registered classes can be used to post process a Solr document of a page. | ||
|
||
Registration with: $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPagePostProcessPageDocument'] | ||
Required Interface: PageDocumentPostProcessor | ||
|
||
|
||
|
||
|
Oops, something went wrong.