Hot answers tagged

10 votes
Accepted

Character Encoding Issue with Si4T and DCPs

Encoding problems are almost always about telling lies, albeit sometimes lies of omission. What I mean by this is that when sending data, you do three things: Transform your data into a stream of ...
user avatar
  • 18.5k
7 votes

SI4T configuration: "No Data Access Object Factory"

I think in Solr 4.8 binary extraction changed, meaning a lot of the dependencies could be removed from deployer - this may simplify your setup. I recently experimented with Solr 4.10 (albeit with ...
user avatar
  • 16.4k
7 votes
Accepted

SI4T not indexing DCPs

Spot on with your analysis Neil. I tried it out myself just now and experienced the same. The best resolution is to update that conditional logic to be: if (cp.ComponentTemplate.IsIndexed(_processor....
user avatar
  • 16.4k
7 votes
Accepted

Tridion 2013 SP1 DD4T SOLR index arabic character encoding issue

Is your source encoding UTF-8? If so you should run the JVM with the argument -Dfile.encoding=UTF-8 This can be achieved either by adding this parameter to the jvm.xml (if using a .Net web ...
user avatar
7 votes

Character Encoding Issue with Si4T and DCPs

tl;dr to Dominic Cronin's answer, encoding issues in SDL Tridion are always an issue of some system down the publishing/deployment line not being correctly configured. Read Elena Serghie's blog post ...
user avatar
  • 29.6k
7 votes

Is it possible to have more than one indexer

In theory this should be possible. Note that you can only have 1 Indexer per storage configuration, so if you want to do this, you need something like: <?xml version="1.0" encoding="UTF-8"?>...
user avatar
  • 7,253
6 votes
Accepted

SI4T - index in different collection per language

Indeed you can have different cores per publication, without different storage elements. The example config file illustrates this: <Indexer Class="org.si4t.solr.SolrIndexer" DefaultCoreUrl="...
user avatar
  • 16.4k
6 votes
Accepted

Delete the contents of the SI4T index

You can also use: http://host:port/solr/core/update? stream.body=<delete><query>*:*</query></delete>&commit=true To ensure nothing breaks when you delete the folder....
user avatar
  • 7,253
5 votes
Accepted

DXA Search module - error when publishing one specific page

The downloads page contains PDF multimedia components, so I suspect this is the issue. When setting up Solr to index PDFs there are a lot of additional configuration settings and dependent libraries ...
user avatar
  • 16.4k
5 votes

SI4T configuration: "No Data Access Object Factory"

While I haven't successfully indexed any data just yet (see "SI4T: Commit failed after getSolrServer"), I did want to post the solution that got me past this initial hurdle. I'll post a more refined ...
user avatar
5 votes

Search Integration With Amazon CloudSearch

Coincidentally I have just completed a proof of concept doing exactly this last week. My client is in the process of moving to Microsoft Azure, and replacing out existing GSA (Google Search Appliance) ...
user avatar
5 votes

Search Integration With Amazon CloudSearch

The SI4T architecture is designed for this kind of integration, and is a much more solid approach than using TBBs (you cannot, for example control unpublishing from a TBB) or Event System (you cannot ...
user avatar
  • 16.4k
5 votes
Accepted

SI4T indexing component links into Solr

To prevent your other components being indexed you need to add a NoIndex metadata field to your schema. If the value in this field is "Yes" then the components will not be indexed. Note this also ...
user avatar
  • 16.4k
5 votes
Accepted

SI4T Error: Error creating bean with name 'JPASearchBinaryContentDAO'

If you take a look in the source of the JPASearchBinaryContentDAO class, you'll see that error is thrown when there are no indexable file extensions configured. This happens if either the entire ...
user avatar
5 votes
Accepted

Dynamic Component Presentation indexing using DXA Search module (SI4T)

I did the same activity in one of my project. You need to add the Enable Search Indexing TBB on your dynamic CT. Also if you wants to have your own custom fields to add in SOLR. Update the ...
user avatar
  • 2,208
5 votes

Upload an XML file (not from CMS) to Solr using SI4T

My understanding of SI4T is that the index data is appended as comment in the rendering phase to the rendered (Page) output, and on the CD side, this is (from a storage extension): Sent to indexing ...
user avatar
  • 6,165
4 votes
Accepted

SI4T Custom Indexer never gets its addItemToIndex called

That is correct. Essentially, a Page Update is always done by the underlying JPA implementation as an JPASearchPageDAO.update, followed by a JPASearchPageDAO.create, so in essence both are doing the ...
user avatar
  • 7,253
4 votes

SI4T and category/keywords

It sounds like your question is about having SI4T index a whole category when it is published from the CMS. This is not possible, as only content from publishing pages and components is indexed (the ...
user avatar
  • 16.4k
4 votes

SI4T: Commit failed after getSolrServer

When you see these messages: [11/25/14 16:41:02:649 CST] 0000005d SolrIndexDisp I org.si4t.solr.SolrIndexDispatcher getSolrServer Obtaining Http Solr server [http://aixpcibld01:9191/solr/collection1: ...
user avatar
  • 7,253
4 votes
Accepted

Possible threading problem in SI4T

My suspicion is the the problem lies in ElasticSearchIndexer. Consider the following code: private String publicationId = null; private String indexname = null; //.. truncated public void commit(...
user avatar
  • 7,253
4 votes
Accepted

Publishing linked dynamic components

You could use a custom resolver; much like as described in this article: http://www.tridiondeveloper.com/a-custom-resolver-in-practice
user avatar
  • 16.4k
4 votes

Publishing linked dynamic components

Actually you can achieve this via templating, no need for custom resolver. You can add additional dwt in your page template in which you will have RenderComponentPresentation() function for your ...
user avatar
  • 8,446
4 votes
Accepted

SI4T Elastic Search -- Data not being indexed

In Sites 9 Regions are newly introduced to structure the content on a page in a better way. So the page is having a new structure now. The idea is while publishing the page we need to handle this ...
user avatar
3 votes

Tridion 2013 SP1 DD4T SOLR index arabic character encoding issue

Any type of encoding issues related to Tridion mostly mean that somewhere along the publish/deployment/delivery pipeline, you are not using the same encoding. This is typical since by default ...
user avatar
  • 29.6k
3 votes

SI4T indexing component links into Solr

Given the complexities of the consequences of the requirement, this is something SI4T does not have at the moment, but anyone with a brilliant solution can say so here. ;) The simplest thing would ...
user avatar
  • 7,253
3 votes
Accepted

Opening org.si4t.org in Eclipse

If you follow Dominic's documentation, you'll see that HTMLStripCharFilter has an overloaded read method, so it can take either one or three parameters :o). Further, the latest release of SI4T does ...
user avatar
  • 7,253
3 votes

Opening org.si4t.org in Eclipse

org.apache.lucene.analysis.charfilter.HTMLStripCharFilter is part of lucene. The documentation can be found here I would suggest double-checking the documentation on how to set up pre-requisites and ...
user avatar
  • 18.5k
3 votes

DXA 1.5 Search Integration Amazon

That is weird. The baseModelType is obtained from the View Model Registry (the MVC data of the CT is resolved to a View Model Type), but is not expected to ever be null; in case the View Model Type ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible