4

Need some details on how search works. Looking Tridion live content and there is a small bit but not what I wanted. I would like to know what each piece does; Seach Host, Query Engine, Indexer, Host slave. We are currently running with 2 CM servers. Server 1 has the host and indexer service running. Node 2 has only the indexer. Not sure if we need it in this configuration but it doesn't appear that there is a master configured. If I browse to this URL, it does not say it is a master.

http://MySearchHostServer:8983/tridion/admin/replication/index.jsp

Any ideas on where to look for a better description of the search function?

  • What version are you on and was this the small bit you're referring too? – Alvin Reyes Dec 4 '13 at 1:42
  • Tridion 2011 Sp1. I was referring to the small bit of information on the SDL Live content site for Tridion 2011 SP1. – BryanD Dec 4 '13 at 14:37
5

In Tridion search functionality is achieved using two Tridion Services, Tridion Content Manager Search Indexer and Tridion Content Manager Search Host and a third party Solr component. Whenever a searchable item is created/updated Tridion queues an instruction for indexing that item. The Tridion Content Manager Search Indexer picks it up and sends to Solr which is running inside the Tridion Content Manager Search Host to be indexed.

You can scale out the Tridion Content Manager Search Indexer and/or Tridion Content Manager Search Host. The instances where Tridion Content Manager Search Indexer it also needs Tridion Content Manager Service Host to retrieve content from Tridion. However, scaling out Tridion Content Manager Search Host is a bit more complex as Solr cannot have multiple masters, ie. where the items are indexed, so, one of them has to become the master and other ones slave. Only the master can index index item and later on the slaves' index gets synched with the master. So, all Tridion Content Manager Search Indexer should connect to the master Tridion Content Manager Service Host to index, configured in the config in <searchIndexer ... hostUrl="[Address]" hostUsername="[Username]" hostPassword="[Password]" />. Then the question is why would you scale out Tridion Content Manager Service Host, it is done to scale out querying. You could query against any slave, ideally a load balancer is placed between scaled out Tridion Content Manager Service Host to balance the query to the instances, configured in the config in <search hostUrl="[Address]" hostUsername="[Username]" hostPassword="[Password]" />.

Further details are here login required.

  • So the master server is the server that is running Solr. Correct? On our server running Solr, we did not add -Denable.master=true to the TcmSearchHost.exe.config. – BryanD Dec 4 '13 at 14:26
  • As you are not scaling out Tridion Content Manager Search Host ie. querying in load balanced, you do not have multiple solr instances, hence, you do not need to configure -Denable.master=true. – Likhan Dec 5 '13 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.