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
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in SOLR
- Upgrading to Solr 9 failes due to NoSuchFileException
- regex to produce duplicate string with modification
- Apache atlas UI not showing up
- SAP Commerce Cloud multisite SOLR configuration
- Solr 9 punctuation issue
- Accessing solr web interface behind reverse proxy returns "Content Encoding Error"
- Getting NPE in apache SOLR 8.11.2 while doing atomic update using add-distinct from my java based appication
- how to specify the maximum number of clusters for the STC algorithm in Solr admin console?
- SOLR compatibility of the KNN query parser with function queries
- How to use Solr as retriever in RAG
- Multiple replacement / substitute NGgram string SOLR 8.6
- Solr updates are taking too long. The update requests are stalling
- solrCloud(9.5) integrates springboots, and adds user authentication, and there is no problem with queries, but the new one keeps reporting errors
- Why does Spring Data for Apache Solr run a count query before running the actual query?
- SOLR 'facet.prefix' is not working as expected
Related Questions in TRIDION
- Tridion: Not able to copy paste the items in lower environment
- Tridion and SOLR Configuration
- How to Read the Tridion Page URL from the publication using Core Services?
- C# how to add values in ItemFields inside EmbeddedSchemaField of a STUB component
- can not sort on a field w/o docValues unless it is indexed=true uninvertible=true and the type supports Uninversion
- Problem with content unpublish in Tridion 2013 SP1 HR1
- Is there a function to get the unpublish info of a page in Tridion CoreService?
- Tridion Web 8.5: Can't copy and paste component
- Can't access XML node using xpath (namepace issue?)
- Deployer extension to fetch component fields in tridion
- item '/system/config/_all.json' not found for Localization '94'
- Tridion RTF Issue
- How can I check component/page is published to which target?
- Parent Publication option is not shwoing
- Update preview is not working as expected - Tridion 2013sp1hr1
Related Questions in TRIDION-2011
- How can I check component/page is published to which target?
- Update preview is not working as expected - Tridion 2013sp1hr1
- I got a "a non-generated template is already present" error using TcmUploadAssembly
- Selenium Firefox Pop-up blocker leads to fail the test case execution
- What is Virtual Folder in Sdl tridion
- SDL Tridion 2011 content manager - date filter is missing on list view
- How to show content published from Tridion 2011 in separate .net application
- SDL Tridion Content Porter to Merge Content
- SOLR can do searching on Broker DB data only
- ASCX User control SDL Tridion 2011
- Tridion Broker: get keyword id from item_categories_and_keywords using API
- Obtaining component title from the Tridion broker
- How to publish dynamic components in SDL Deployer file system maintaining the folder structure as in CME?
- Migration : if content migrated from tridion r5.XX to 2011?
- How can we provide the path for the image file in order to create the multimedia component in server?
Related Questions in TRIDION-CONTENT-DELIVERY
- item '/system/config/_all.json' not found for Localization '94'
- How to show content published from Tridion 2011 in separate .net application
- Get page content from Page Meta from Content Delivery side
- Obtaining component title from the Tridion broker
- Is it possible to retrieve the TCM URI of a component from the Broker DB in SDL Tridion 2011 SP1?
- how to fetch componentPresentation from brokerdb?
- Tridion Query for component that have no exact metadata field
- OrCriteria taking forever to execute using Tridion content delivery api
- Tridion: Component Template issue when looping over linked components
- Personalizing Content
- Why there is no Tridion page template system metadata published to broker database?
- Keyword has incorrect values in custom meta
- Tridion UGC service and oAuth authentication
- Publishing is getting failed to specific target for specific component
- UGC user is coming back as Null
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.