Hot answers tagged

11

Quick test confirms that the following allows you to set a rendering parameter on existing items. # Path to the Coveo rendering you need to update $rendering = Get-Item "master:\sitecore\layout\Sublayouts\Sample Sublayout" # Update this value for the path of all the templates whose std vals you wish to update $items = Get-ChildItem -recurse master:\...


10

You can modify the expression that gets passed in as a parameter to the event function. This happens at query time and the modified query gets passed to the Coveo REST API. You'd wind up with something like this to filter items after a specific start date: Coveo.$(function() { Coveo.$('#search') .on(Coveo.QueryEvents.buildingQuery, function(e, args) { ...


10

If you want to get the building query and attach filters to the search you can do something like this: Coveo.$('#search').on("buildingQuery", function(e, args) { args.queryBuilder.advancedExpression.add('@Model.ToCoveoFieldName("templatename") == "MyTemplate"'); }).coveoForSitecore('init', CoveoForSitecore.componentsOptions); in this case you can ...


9

You need to add a datasource for the rendering, with the data using the Coveo Search Box Parameters template. So using the syntax @Html.Sitecore().Rendering("RENDERING ID", new { DataSource = "DATASOURCE ID" }) will do it.


9

If you are using the HtmlContentInBodyWithRequestsProcessor, this text is most likely indexed in the content of your page. Since the September release (4.0.402), Coveo for Sitecore has two new parameters that you can set to ignore parts of your HTML content by adding the StartCommentText and EndCommentText nodes in your configuration: <processor type="...


8

In Coveo for Sitecore you can use the coveoItemProcessingPipeline to add other items that should also be indexed. This is similar in concept to the Sitecore indexing.getDependencies pipeline public class IndexWildcardItems : IProcessor<CoveoItemProcessingPipelineArgs> { public void Process(CoveoItemProcessingPipelineArgs p_Args) { var ...


8

The insert option is actually defined by a pipeline processor in Coveo.UI.Controls.config. You can remove it using the following config patch: <processors> <uiGetMasters> <processor type="Coveo.UI.PipelineProcessors.GetMasters.AllowSearchPageProcessor, Coveo.UIBase"> <patch:delete /> </processor> </...


8

You can index external sources like blogs etc using Coveo. In addition to the items of your Sitecore Content Tree, a search interface built upon Coveo for Sitecore components can return results coming from external systems. (i.e. external to Sitecore). There is a specific section in a Coveo Search component that allows you to specify which sources in Coveo ...


7

Coveo will first add the new items and then send a delete order for the older ones. This mean that you do not need to configure anything in Coveo to be able to query the index while rebuilding. Versions of Coveo for Sitecore 3.0 prior to December 2014 do not have this feature. Upgrading is the only option.


7

Is it possible that the title field is not a facet? According to developers.coveo.com/display/SitecoreV4/Provide+Query+Suggestions: - The field used for suggestions needs to be a facet field


7

As JF said in the comments, indexing CD should be avoided at all cost. Also, if you are using several CM, you need to configure them to avoid competition between instances. See: developers.coveo.com/display/SitecoreV4/Coveo+for+Sitecore+Scaling+Guide Now indexing slowness can be caused by several factors. First of all, on the Sitecore side: Heavy ...


7

Since the silent install documentation has been released, a new option has been added to the installer in order to create a certificate, point 18 of this doc: https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_ces_on_the_master_server.htm This does not seem to be in the silent option documentation. I asked Coveo Documentation team to update ...


7

wooot! solved my own issue. The CES certificate - cert-iis.p12 was not valid. Once I replaced this with the valid certificate, everything worked. I wish the error was a bit more informative.


6

What we discovered after hours of troubleshooting is that there was a corrupted message in the queue. When we removed that one message, the rest of the messages were processed properly. I had to re-implement https://www.akshaysura.com/2015/05/01/add-max-message-limit-for-rabbitmq-for-coveo/ on the newer version of the CES and RabbitMQ in order to limit the ...


6

In Sitecore 8.1, the Version property for Sitecore.ContentSearch.SearchTypes.SearchResultItem extracts the version from the URI set by the _uniqueid field. It looks like that field is not indexed for your documents. You could create a custom SearchResultItem that uses the @fversion24653 field and see how it goes.


6

From my testing, it does it by default. So I followed this page: developers.coveo.com/display/SitecoreV4/Provide+Result+Suggestions and I added the "Coveo Search Resources", "Coveo Search Box" and "Coveo Omnibox Result List" to my header. I now have suggestions on everything within my index. Side Note : The suggestions, when clicked, will open the result ...


6

Coveo do not offer grouped search results. It offers facets to drill down search results. Folding is used when you have a parent and child search results (model/variants, email thread, business/locations...) which is not your case. Coveo is a relevance platform. Coveo believes the most relevant information will be returned in the first 3 search results, ...


6

Coveo Index can build similar to the Sitecore indexing, in the control panel, under the indexing section click on Indexing Manager. Here you can see the Coveo indexes list with other Sitecore indexes. Check you Coveo indexes and click on rebuild button. Update: With the latest version of Coveo you will get the indexing manager, which will give you a UI ...


5

So turns out that this issue is a bit more complicated. After troubleshooting for days we figured out that this was a redirection issue. Nothing in the application but its how Coveo 4 handles redirection. CM Site: https://cm.mysite.com CES Site: http://myCESServer From Coveo 4 on, the server side Linq to Search requests go through the Coveo Search API via ...


5

Since you mentioned upgrading, the way the coveolicense.xml is generated is a bit different in the newer Coveo/Sitecore versions. The new versions authenticate with the cloud in order to get your org and then write both the Coveolicense.xml in the data folder along with Coveo\ConfigurationEncryptionKeys\IndexingEncryptionKeys file. The newer version no ...


5

It looks like you are missing the caches/fieldsCache node in the coveo node in your Coveo.SearchProvider.config, as the following: <caches> <fieldsCache type="Coveo.Framework.Caching.FieldsCache, Coveo.Framework" singleInstance="true" /> </caches> I suspect this error comes from trying to access the field cache that can't be initialized ...


5

This is a common issue when removing the CoveoResultLink class from your Result Templates. Here is a Knowledge base article on this issue: developers.coveo.com/display/SupportKB/No+Clicks+in+Coveo+Usage+Analytics Coveo JavaScript Framework attach to this HTML Class in order to send the click events. If this class is removed, click events will no longer be ...


5

Well, you just found a new bug in Coveo for Sitecore 4.0.450! It is caused by a new fix that was introduced in the October version. It looks for an input in all .CoveoSearchboxes to bind an event when the CoveoForSitecoreOmniboxResultList component is added. However, the input is not yet loaded, because the Search page loads after the ...


5

If this is version 4, make sure that the item is within the scope of your crawler: https://developers.coveo.com/display/SitecoreV4/Changing+the+Crawling+Root+of+an+Index The crawler scope by default will only include Media Library >> Files and Sitecore >> Content. If your bucket is outside of this path, you need to change the crawler's scope. Also, if you ...


5

By using Expression.Property(...) you are trying to access a Property with the name textField on the SearchResultItem, which corresponds to this: SearchResultItem.textField To get a field value you instead need to use the indexer on SearchResultItem which corresponds to this: SearchResultItem['textField'] I don't know much about Coveo, but I found ...


5

I think you have run into a Known Issue with Sitecore. With 8.0 update 6 and 7, 8.1 update 1, and 8.2, there is an issue that prevents pages with rules from being saved in the Experience Editor. There is a workaround, where you can edit and save the rules in the Presentation > Details section, or remove all of your rules before saving. Here is a link to ...


5

Yes you can. You can simply use a reference to the rendering. Be aware that you will also need to pass a datasource reference with the rendering for the options. So: 1- Create a parameters item which you will use as a datasource, the template of these items is in the template/coveomodule folder. 2- Pass the refference of the rendering and your datasource ...


4

The URL of the Coveo/Rest extension is set in the Coveo.SearchProvider.Rest.config. Start by validating it. The the site itself is in the Coveo.SearchProvider.config and should look like this: <site patch:before="*[1]" name="coveorest" virtualFolder="/coveo/rest" physicalFolder="/coveo/rest" enableAnalytics="false" database="web" domain="extranet" /> ...


4

Ken, You do not need a db names "Pub", in your case you can substitute "web". Also this means that you do not need to setup the index for "Pub" The error on your CM indicates that there is an issue with your coveo install, since /coveo folder gets added to the web root by default. The CD error could be related to the new index you are trying to add or an ...


4

Coveo add those items to be easy for developers to play and discover Coveo for Sitecore. We do not add them through rules as upgrading Coveo for Sitecore would re-install the insert options. Instead we are using the uiGetMasters Sitecore processor in the Coveo.UI.Controls.config file. The exact node location is /configuration/sitecore/processors/uiGetMasters ...


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