Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Search Integration For Tridion

No description

Will Price

on 7 June 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Search Integration For Tridion

Try the framework yourself:
Setup in < 2 hours
Tridion 2011 +
Modular Templating Search Engine Integration: Stop Reinventing the Wheel! Our Goal Simple
Focused on getting data into the index
Effective - 90% of requirements
Easy to extend Setup 1. Setup Search Solr compatible 'out of the box'
Configure standard index fields 2. Add TBBs Add to Page Template:
Generate Index Data
Add Index Data to Output 3. Configure
Deployer Add si4t.jar & si4t-solr.jar (or other)
Configure cd_storage_conf.xml 4. Publish Configure Extend Inclusive or Exclusive
Map fields
Embed linked content Defaults
PT override
CT override Control what is indexed Suppress individual pages
Minimum CT Prio Architecture Open Source https://github.com/SI4T
http://si4t.github.io/SI4T/ SI4T/SI4T - Framework
SI4T/Solr - Solr specific Contribute:
Other Search Engines
GUI for configuration (App Data?)
Crawler notification storage extension
Nodeploy storage extension
FS/XML storage extension
.NET/Java/Javascript query examples
Review our shonky code Can you code a TBB to generate some XML? Extending is Easy Default TBBs and XML serialization extensible, so most of the hard work done for you No need to touch it if you use Solr What about the deployer? ...For other search engines you will need to write a little bit of java to handle the insertion/removal from the index. Use the Solr code as an example and then share for the rest of the world Will Price & Raimond Kempees Get the basics working Do your own thing! Field Processing Behaviour Config granularity Other options... Indexing Strategies Intention is to support the following indexing strategies: PUSH (directly push data into the index)

NOTIFY (notify engine to index content from published site)

FILE (place XML files & Binaries on server and notify search engine to index them) 1 2 3 4 Scaling... Framework is loosely injected into the Tridion Storage Layer
Makes full use of the DAO Bundle Pattern
Extends Tridion Factory Classes to be transactional
Libs are configured on the Tridion Deployer Binary Content Textual Content can be indexed
Solr: Apache Tika Inject! <StorageBindings>
<Bundle src="SearchDAOBundle.xml"/>
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.si4t.JPASearchDAOFactory">
<Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="MyDBServer" />
<Property Name="portNumber" Value="1433" />
<Property Name="databaseName" Value="mybrokerdb" />
<Property Name="user" Value="mybrokerdbusername" />
<Property Name="password" Value="mybrokerdbpassword" />
<Indexer Class="org.si4t.solr.SolrIndexer" Mode="http" DefaultCoreUrl="http://localhost:8080/solr/staging" DocExtensions="pdf,docx,doc,xls,xlsx,pptx,ppt">
<!-- override specific Publications -->
<Url Value="http://localhost:8080/solr/staging" Id="12" />
</Storage> Framework Supports: Multiple storage configuration elements
Mixed configurations for DB and FS publishing
Different Indexer implementations per storage node
The ability to configure explicit publications to index per storage node
Full transcript