Can any one help me in supplying a prototype or approach for a Deployer Extension in Java for SDL Tridion 2011, so that this app/process/module can consume the delta publish and index that content into Apache Solr?
There are 2 answers
Rajesh
On
SDL tridion 2011 SP1 Deployer comes as a war file (here we have as cd_deplyer.war) which can be deployed in any appserver, this is the place where we can have custom code to extend the deployer to have our custom logic to be applied to published content from SDL. This war file will have many config files one of them is cd_deployer_conf.xml where we have to declare a module tag which gets called for each time content is published. for Ex: . . ....... . Similarly for undeploy
<Processor Action="Undeploy" Class="com.tridion.deployer.Processor">
.
<Module Type="SolrPageUndeploy" Class="com.xyz.RemovePageFromSolr">
.
.
These IndexPageToSolr and RemovePageFromSolr will get required metadata for indexing to solr and unindexing from solr. We can have our java classes in the same war file or we can have all of the war files in our war file and deploy in any appserver and give the app full context path to SDL for publishing.
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in SOLR
- Developing a search and tag heavy website
- How can I integrate Solr5.1.0 with Nutch1.10
- Solr ping taking time during full import
- Indexed data is not displaying on storefront
- Heap size issue on migrating from Solr 5.0.0 to Solr 5.1.0
- Monolithic ETL to distributed/scalable solution and OLAP cube to Elasticsearch/Solr
- Exact word not boosting much Solr
- Solr stopped with Error opening new searcher at org.apache.solr.core
- Data import in solr from multiple entities
- solr reindexing issue for EdgeNgramFilter
- Heap memory Solr and Elasticsearch
- How to index documents with their metadata in a DB using Solr 5.1.0
- Isnull equivalent in SOLR
- SolrNet query not working for Scandinavian characters
- Query always the same with Sunspot/Solr on rails
Related Questions in TRIDION
- C# how to add values in ItemFields inside EmbeddedSchemaField of a STUB component
- Getting URL of published element in SDL Tridion
- Accessing Page Template Metadata from a Razor TBB
- SDL Tridion TOM.NET documentation
- Deployed binaries getting locked during SDL Tridion 2011 SP1 publishing
- SDL Tridion UI Using .Net master pages
- How to implement a Data Extender for populating a List in the component creation page?
- Tridion 2011 - Engine.GetObject overloads
- Unable to get list of publishing queue items. Timeout expired
- Content delivery service reports "Unable to retrieve desired results."
- Configure & Use Broker API in .Net Project
- Tridion CM reports "Couldn't retrieve data from 1 datasources"
- Exception while using SiteEdit with a Page Template in Template Builder
- Component link in custom metadata on Keyword
- Quickest way to comma separate a Tridion multivalue field
Related Questions in TRIDION-2011
- How to publish dynamic components in SDL Deployer file system maintaining the folder structure as in CME?
- Obtaining component title from the Tridion broker
- Deployed binaries getting locked during SDL Tridion 2011 SP1 publishing
- Tridion 2011 - Engine.GetObject overloads
- Whether Ribbon tool bar button will work in Home page tab of Tridion?
- Enabling Inline Editing for .Net Template Building Block in SDL Tridion 2011 Sp1
- How can I include sitemap breadcrumb in my Tridion page?
- Is it possible to remove the "Upload MM Component" button from the SDL Tridion 2011 Ribbon
- Issue in synchronization contacts from multiple websites
- How to get the complete set of Embedded field values in a popup window in the Tridion Web GUI?
- Looping through the multiple component links to get the schema name of the linked component in Dreamweaver TBB in SDL Tridion 2011
- How to know which object need to be used for particular method in Anguilla Project for Tridion 2011 sp1?
- Tridion 2011 SP1 : Issue while deploying the content
- Continuously Update Preview alert on SDL Tridion UI 2012
- TBBS required for Component Template and Page Template to implement SiteEdit for Component with component links
Related Questions in TRIDION-CONTENT-DELIVERY
- Obtaining component title from the Tridion broker
- Content delivery service reports "Unable to retrieve desired results."
- Configure & Use Broker API in .Net Project
- Issue in synchronization contacts from multiple websites
- Server Performance going down while we trying to get some data from Tridion 2009 broker LINK_INFO table using C# 2.0
- Can we customize Deployer using .NET?
- Tridion 2011 SP1 : Issue while deploying the content
- Tridion 2009 SP1 Broker not returning results
- How can we override the existing deployer customization in Tridion 2009?
- Tridion 2009 SP1: Broker how to get Binary Url?
- prototype or approach for having a Deployer Extension in Java for SDL Tridion 2011 for indexing of content into Apache Solr
- SDL Tridion 2011 Unpublishing Issue in webfarm
- What's the correct format for TCDL linkAttributes?
- Connection Issue When Dynamically Publishing to a Tridion Broker Database with an Instance Name (JDBC)?
- Published dynamic component template not found under published items
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Please take a look at these other questions on SO:
How can we override the existing deployer customization in Tridion 2009?
Running Custom Deployer from Eclipse
How to make a Custom Deployer to write data to MS SQL database?
Need to get the XML of a component's that version which is published
How can we integrate Microsoft FAST with SDL Tridion 2011 SP1?
The last one specifically deals with updating a search collection. If this does not help, please show us what you have tried with some code samples.