[TYPO3-Solr] 2 webs and 2 domains in one TYPO3 instance with solr

Jigal van Hemert jigal.van.hemert at typo3.org
Sat Oct 31 12:23:09 CET 2015


Hi,

On 31/10/2015 02:07, Gordon Fidora wrote:
> I got one question:
> Is it possible to have one TYPO3 instance with 2 webs, 2 domains and 1
> SOLR core?
>
> PID 100 = www.domain1.org
> PID 200 = www.domain2.org
>
> All pages will be indexed and SOLR uses the domain-record to differ, right?

Yes, this is possible. Solr expects a domain record in the root of each 
website. It will use that domain for the "site" property of each 
document in the solr index.
You can use the query.allowedSites property to select in which site(s) 
you'd like to search [1].

[1] 
https://forge.typo3.org/projects/extension-solr/wiki/Tx_solrsearch#queryallowedSites

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-solr mailing list