CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Task #26817

Filter for sitehash should be optional

Added by Georg Ringer about 2 years ago. Updated about 2 years ago.

Status:Rejected Start date:2011-05-14
Priority:Won't have this time Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

It would be nice if the sitehash filter can be turned off.

indexing can be done on many places, e.g in a custom extension in the backend. therefore maybe there is even not a rootline available or a TSFE.

same for $query->setUserAccessGroups

T3X_solr_disablesitehash-1_0_0-z-201001121143.t3x (2.6 kB) Ingo Renner, 2011-05-24 15:40


Related issues

duplicates Apache Solr for TYPO3 CMS - Feature #5898: Use of getSiteHash when querying should be configurable t... Rejected 2010-01-06

History

Updated by Ingo Renner about 2 years ago

The siteHash is important for cases where you index content from multiple sites into one index.

Example:
A university with its faculties. They all live in the same installation, the university and its faculties all have a separate branch wit an own root page. Because of the siteHash we can do things like when searching from within a faculty branch we get only the faculty's results. When searching from the university's site we could opt to search just the university's pages or all page including the faculties. You can remove the siteHash filter using the tx_solr_QueryModifier hook / interface though (check the attached extension).

Also available in: Atom PDF