[TYPO3-Solr] Respect "no_search" in page properties recursively

Jochen Rieger j.rieger at connecta.ag
Thu Apr 19 15:26:52 CEST 2012


Hi all,

I found a post here and some issues on forge concerning recursive 
re-indexing etc.

What I am looking for is a way to exclude whole page branches from 
indexing by just editing / adding the branch's parent page.

I guess I am forgetting something due to a lack of personal overview 
concerning the indexer work but at a first glance it seems not so hard?

I identified 3 possible places to start:

1) function isPageIndexable() in tx_solr_indexqueue_pageindexer
==> here we could add some kind of either "excludePages" / 
"excludePagesRecursively" comma list check. Or we could check the 
rootline for a "no_search" / "extendToSubpages" combination

2) function isPageExcludedFromSearch() in tx_solr_garbagecollector
==> same possibilities as described in 1)

3) function addItem() in tx_solr_indexqueue_Queue
==> same possibilities as described in 1)

What do you think? Am I missing something important?

Regards,
Jochen


More information about the TYPO3-project-solr mailing list