Hot answers tagged

12

From the Content Manager Core Service API Documentation the following search scopes are supported: For searching system wide, leave SearchIn set to null For searching within a Repository/Publication, set the value of SearchIn to that specific RepositoryData For searching within an organizational item only (one level), set the value of SearchIn to that ...


12

I have never had to do this, but I think that this can be done through the API. The fact that you are getting this error is a good sign! In Lucene (which Solr is based on) the maxClauseCount exceeded error is normally because the number of terms/unknowns in your query makes it very 'vague'. I believe that the value can be increased in configuration. ...


12

Actually, it seems that this was related to issues with Chrome 36, for which there exists a hot fix: Chrome 36 with Tridion 2011 or 2013 Apparently I already had the hot fix but still needed to restart Chrome. After restarting Chrome, the error is gone.


11

You can use powershell for re-indexing your search indexes. Execute Sync-TcmSearchIndex on powershell to reindex all publication Execute Sync-TcmSearchIndex with a TcmRepositoryIds parameter containing list of publication URIs if you want to re-index a set of publication or a specific publication Source and Reference: SDL Live Documentation


11

Tridion doesn't really have a 'works best' type solution here you can pretty much plug anything into the CMS. here's what i've most commonly seen in the past: 1) You do nothing :) You use Tridion to publish your website as normal, your search application is configured to crawl your published website and index the content in this way. 2) You extend the ...


11

To answer the question on why you can't get results while searching on strings inside quotes or strings which have special characters in them like a : is to go down the Solr rabbit hole and find out why that actually is. First of all, there are a couple of characters which always have to be escaped when performing a search query. In Solr these are: + - &...


10

I don't think the XML format is documented anywhere (at least I could not find it) but following Nuno's comment I ran a simple VBscript to check. It seems that the main features that I need are compatible and work unaltered: Search on a particular (metadata) field using the IN operator Search in location Based on schema Type (component) Modified between ...


10

The Tridion Search Host service is indeed nothing more than Tomcat in disguise. It hosts the Tridion SOLR search index. It doesn't depend on Content Manager and/or Core Service. The Tridion Search Indexer service is the one monitoring the CM search queue, obtaining the data to be indexed from CM (normally on the same machine) and sending it to the SOLR ...


9

As Tjo says you can search on elements at a top level, and get results recursively. For example, the code below would give you an array of any items that have been modified in the last day, inside the folder tcm:95-1436-2. It would also include items inside child folders of tcm:95-1436-2. SearchQueryData searchQueryData = new SearchQueryData { ...


9

This should be possible. First, stop the Tridion Content Manager Search Indexer service. Then open a 64 bit PowerShell console run as Administrator user and execute the commands as shown below: Windows PowerShell Copyright (C) 2013 Microsoft Corporation. All rights reserved. PS C:\> Import-Module Tridion.ContentManager.Automation PS C:\> Remove-...


9

From your question it seems that you probably do not have the background of the application. The Content Hub is no term in the SDL Tridion and must be related to the project (I probably know which project is this). If it is told to you that the data is being fetched from the SOLR, it means it is not the Tridion's SOLR but must be a separate implementation - ...


9

You can also try the Export Item List alchemy plugin. It can be downloaded from here: https://www.alchemywebstore.com/plugins/Export-Item-List If you want to customize or extend it the code is also available at https://github.com/saurabhgangwar/Alchemy.Plugins/tree/master/Alchemy.Plugins.ExportItemList


8

Tridion uses SOLR for its search on the Content Manager. The Content Delivery side doesn't come with an integrated full-text search, but does have extensive structured query capabilities. In addition many people have integrated it with their preferred search solution. Using a web site crawler is definitely an option, but I expect that others will chime ...


8

First check if your search server is up and running by going to http://tridion-cm.tridion.com:8983/tridion. If it's not accessible, check whether the Tridion Content Manager Search Host service is running. Then check with which user you are able to log in. Usually this is MTSUser. In the SDL Tridion Content Manager MMC snap in, go to Search Settings and ...


8

According to my mailbox, I've seen this error before :) It was resolved by re-registering the CAPICOM.DLL file that Tridion requires to encrypt/decrypt this configuration file. It looks like something must have changed recently on your server causing this dll to not be registered anymore. Credit goes to Brandon Truong from SDL Customer Support: On windows ...


7

By selecting an existing Virtual Folder and conducting a new Advanced Search, the CME will prompt you with a Modal pop-up to optionally update or save a new Virtual Search folder. I didn't realize this was possible and accidentally found this feature while updating training materials. :-)


6

There are two main approaches to implementing search with Tridion: When you publish a piece of content or a page or whatever from Tridion, also publish info about the item in question into the search engine's index. In a nutshell, this is how Solr and Lucene integrations work, and John's and Pankaj's answers loosely describe the approach. This is an ...


6

If all you want is search by metadata - use the SDL Tridion Criteria APIs. If you want to do full text search, then you probably want more than just search on DCPs, and you should consider doing one of the approaches suggested on this post. Meanwhile, there is also this great effort done by Will Price and Raimond Kempees: SI4T.


6

If you do decide to use SOLR for site search (which I recommend,) consider a custom deployer / storage extension approach (which I believe SI4T does). It is much more efficient that crawling with Nutch especially if the site is large. Items are indexed at publish time, and therefore are immediately visible in search. Items are removed from the index at un-...


6

Tridion CMS using SOLR, : has very special meaning. SOLR query syntax is to treat : as field name and value (fieldname:value) so the reason why you are getting the error that undefined fieldvalue since nav is not defined as solr schema field. When you search just "Navigation" solr could not found the text because the word "Navigation" is not separated by ...


6

We had some access-related problems with search before as well, and it turned out to be the user not being added to a windows group named "sdlsearchusers". (see Tridion search not working after changing MTSUser). Can you check if the user "our-account" is added to this group ?


6

The culprit was Sync-TcmSearchIndex. It was scheduled to run every evening. This was resulting in a huge Search Queue (items or be indexed) and an ever churning search index Sync-TcmSearchIndex is now disabled, and will only be ran as required e.g. out of date search index due to environment sync To remove items from the queue, you can run Remove-...


5

The search service is responsible for adding items to the search collection on save. Maybe you can try removing your search index entirely and then following the LiveDocs instructions for creating it from scratch. This will take many hours, so best to let it run overnight. Here are a few quick checks to perform to help troubleshoot this issue: Is the ...


5

In TOM.NET you can use SearchQuery or SearchQueryData in CoreService which has BasedOnSchemas property which is a collection, you can set multiple values there. Or you could try: SchemaId:? AND CatchAllXml:\"MyField hello MyField\" AND CatchAllXml:\"MyOtherField world MyOtherField\"


5

In general, Yes. You could scale the CMS Search Instances. Check the documentation http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/concept_E7DB2BEDD94C43359C6511D3C69010C0 (requires login). This was answered in our old forums. https://forum.sdltridion.com/topic.asp?TOPIC_ID=7460 (copying here for convenience). Decide on ...


5

Instead of indexing the DB, maybe the best way would be to index directly the final web site itself to generate the search index. As SOLR does not include a crawler, you will have to combine it with an external crawler like Nutch.


5

I suspect that, even if it is possible to formulate a query using the Broker API, then this may be difficult to write, maintain and not very scalable. Have you considered getting all of the Components using the OR statement and doing some server-side (.NET or JAVA) processing to determine the 'relevance'? (I have seen something similar done with an addition ...


5

Thanks for the documentation Raimond. It was very helpful. Initially we faced some problems, but after removing few jar files and config updates it worked. This is now really working well with Solr 4.3.1. I really appreciate your work guys, this helped us solve many problems. You have to do the following things to make it work with SDL Tridion 2013 Follow ...


5

Thanks Chris for the info about the restart; the re-indexing was done, but IT confirmed server was not restarted afterwards. A simple restart solved the issue, average RAM usage is now about 300MB (which seems reasonably for the TcmSearchHost.exe process compared with other T2011 projects).


5

My 2 cents: You cannot use the CM-side search on your website, the fact it uses SOLR means nothing in this context I would advice against crawling the delivery database, and instead recommend indexing the rendered pages How to integrate SOLR with existing pages is something you could probably ask Google. What do you want to do with SOLR and Tridion? I know ...


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