Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [content-search]

Questions about searching (querying) Sitecore projects with the ContentSearch API. Use the Lucene or Solr (or Coveo) tags if the question is specific for any of those technologies.

0
votes
0answers
8 views

Could SocketException be caused by CloudSearchRetryPolicy?

I'm investigating an issue where we are seeing SocketExceptions and socket handle leaks. Using Sitecore 8.2 rev 107614, in Azure using Azure Search as the search provider. Drilling down to one of the ...
0
votes
0answers
22 views

Multilist with search not loading for non admin

Data on the left side of the multi-list is not loading if the user is a non-admin. I have multisite on a single node so on the data source I've put Sitecore query as StartSearchLocation=query:./...
0
votes
0answers
13 views

SXA Auto suggest grouping [on hold]

I want to group all auto suggest results, what I do now is returning top results suggested by the typed word like this: This is what I want to do : When I choose first option, it should gives me all ...
4
votes
1answer
38 views

How to search for items created in the last X days in Content Search tab?

I have a requirement to create a saved search item under our bucket item, that will display all items created in the last X days, where X is 7 by default but client would like to change that. We use ...
0
votes
1answer
43 views

Index sitecore_marketingdefinitions_web was not found exception Sitecore 9 XP1 scaled [duplicate]

I have a distributed Sitecore 9 Update 2 XP1 on prem setup. Getting below exception only on the CD servers, upon refresh the error goes away. Any ideas to resolve this? Server Error in '/' ...
0
votes
0answers
26 views

How to use Coveo search in local environment?

I am trying to use Coveo non-production license on my local environment. This non-production license used on our QA environment also and Coveo source built from QA. I have created view only API key ...
1
vote
1answer
37 views

Lucene Search Item start location

We are having the below item structure in sitecore and using Lucene Index, Home -- Products A Repository Product 1 Product 2 Product 3 -- Products B Repository Product 1 Product 2 Product 3 ...
0
votes
1answer
35 views

Sorting search results with multiple facets

I'm using Sitecore 9 and SXA 1.7 I am trying to find a way to sort search results with 2 facets without using custom code or having it affect performance speed. In this case, I have some blog posts ...
0
votes
1answer
34 views

Search using a Search string in SXA Search service

I have a requirement to implement a custom search box and pull search results based on scope and then present the search results by combining components created using two templates. I am trying to ...
6
votes
0answers
59 views

Solr Search Model doesn't work without the dynamic field suffix

I have ContentSearch code that works and runs fine using Lucene. When I switch the configs over to Solr, the query fails, and the logs state that the field I'm using in the query doesn't exist. [...
1
vote
1answer
23 views

Content Search and Azure how to move items to the bottom of search results with boosting

Similar to my earlier question, I need a way to move certain items to the end of my search results, without using ordering. I have a checkbox field (currently indexed as a string, containing "1" or "...
1
vote
1answer
16 views

Content Search and Azure how to apply negative boost based on a checkbox value

I want to apply negative boosting to items, based on the value of an indexed checkbox field in order to move those items to the bottom of the search results. I am applying (positive) boosting to other ...
0
votes
0answers
30 views

Lucene search results including null static members

We are trying to expand our website search results to include PDF files, and have most of pieces in place. We can get successful results on certain terms, with the results including both page items ...
0
votes
2answers
74 views

Search results with starting date equal to Today

I need to search the content that has a date equal to today so that the search results component would only show the items that are only valid for today and later I'm using SXA 1.7
0
votes
2answers
70 views

SXA search results not working

I have an issue exactly similar to this Items appear in SXA scope but not in search results and here is my sitecore log 876 14:32:27 ERROR Exception when executing agent aggregation/aggregator ...
0
votes
0answers
25 views

Sitecore Lucene Index duplicate items web

I'm currently using Sitecore 8.2 (rev. 171121), when I rebuild one of the indexes using the web database and the items has let's say 2 versions, it adds me 2 versions of the item into the index, I ...
0
votes
1answer
19 views

How to add charFilter to Solr Managed Schema from Sitecore 9?

I need to add a charFilter to the Solr managed schema. I'm using Solr Cloud 6.6 and Sitecore 9.0.1. Sitecore uses a SchemaPopulateHelper class that generates xml updates to the managed schema. It ...
0
votes
0answers
45 views

Why SXA search doesn't search by q params?

I have SXA Search installed when I don't use q param it gives me all data but with it nothing is returned. With q param: http://tdemo/sxa/search/results/?q=ca { "TotalTime": 8, "CountTime": ...
1
vote
0answers
20 views

Content Search - How to choose boost values

I'm updating some of our search code to utilise boosting of different fields. We have been given a specification of the boosting values to be applied to different fields. We are covering 15 fields in ...
4
votes
1answer
34 views

SXA Search box algorithm

I want to change SXA search box algorithm to support exact matching, when I search with a work like "National Day", it returns results that contains "National" or "Day" or "National Day", I want it to ...
1
vote
2answers
59 views

How to make a media library image searchable with few keywords rather just the item name?

Simply wondering how to tag an image with a few different keywords and find it that way later on within the media library. It seems like currently the search function of the media library only picks ...
2
votes
1answer
45 views

Adding Dynamic Fields in Bucket Search Results

We are trying to add dynamic fields in a bucket search results view. We want to display custom fields. In the previous versions of sitecore there use to be a DynamicFields pipeline. As stated in the ...
2
votes
1answer
41 views

Solr auto-suggest brings all data in the website

I'm using Solr auto-suggest with the SXA search box, it's working perfect but with two issues, first it brings suggestion for all data in the site without any limitation, I want to limit to a search ...
0
votes
1answer
43 views

Is there a way to control Page size of Page list Component like Search Results in SXA

In SXA Search, I observed that we can control search results display using Page Size and Page Selector components together. But, I want to control page list component also like Search by displaying ...
1
vote
1answer
92 views

SXA Checlikst filter not working with special characters

SXA Checlikst filter is not working when filtering by a choice with a special character like : '&' then filter by other filter I think the problem is in the encoding because when I checked the ...
0
votes
0answers
39 views

Solution for Azure and Solr Search Differences

So I am working on a solution locally, that works perfectly when doing a solr search, but doesn't work at all when that solution is deployed to an Azure environment that is using Azure Search. I've ...
0
votes
0answers
17 views

OData Service partial string Search

We are using the below OData Query to perform the search. currently, it's searching the Entire Word. But it doesn't search partial words. for eg: Ragnarok can be searchable but Rag is not searchable. ...
0
votes
1answer
47 views

Checklist filter SXA not filtering itself

I'm using two checklist filters with two different facets for each one that are using a computed index field to populate their data. Each one is filtering the search results and the other filter data ...
4
votes
0answers
49 views

Check if boost rule has been applied to an item

I am implementing functionality to push certain items in my content tree down in search results depending on a "discontinued" checkbox field. I have created a rule item under /sitecore/system/Settings/...
0
votes
0answers
91 views

How to search against multiple index fields with azure search

Is there a special way to search against multiple fields for a text search with Azure search? Currently I am constructing an IQueryable with predicates as follows: var termPredicates = ...
2
votes
1answer
92 views

ContentSearch predicates for filtering on a multilist field

I'm trying to figure out why certain code is needed in order for a content search query to work with Azure search. I have a multilist field which is indexed by the default indexer in Sitecore, meaning ...
1
vote
1answer
43 views

Index two different template fields into the same index field

Say I have a template "ArticlePage" which includes the field "ArticleTitle" and then I have another template called "ContentPage" which includes the field "Title". (I know this is not an ideal setup, ...
0
votes
1answer
20 views

Does it matter Sitecore CM connect to Solr Cloud leader vs follower?

We currently have our Solr Cloud with zookeeper and for front with load balance (Solr Prd1 and Prd2). CM is connecting to Solr Prd1 (leader) and CDs are connecting to Solr load balance. Questions: ...
0
votes
0answers
48 views

Clear functionality of the the SXA checklist filter

I have a SXA checklist filter that filters four search results and it has their four signatures. The filter at the first has 10 choices, after I filter by one or two choices then press clear, the ...
3
votes
1answer
47 views

SXA Search results Tooltip

The SXA search results tool-tip contains the display name of the item as shown in image below I want to make the tool-tip reads its content from a specific field of the item template, as I have a ...
0
votes
0answers
59 views

While InitializeCommerce step myself getting the below error [duplicate]

It's seems it obviously trying to execute below step [----------------------------------------------------------------- BootStrapCommerceServices : BootStrapCommerceServices --------------------------...
0
votes
1answer
38 views

Sitecore 7.2 - SOLR 4.10.1 - OnPublishEndAsynchronousStrategy is not updating the SOLR index

Indexupdatestrategy(OnPublishEndAsynchronousStrategy) for SOLR index is not updating the index whereas Full index is working fine. Can you please help me to fix this issue. Details are as below. I am ...
0
votes
1answer
60 views

Add choice All to SXA checklist filter [closed]

I have a SXA checklist filter, let's say it has 10 choices. I want to select and filter by them "all". So I want to add a choice which filter by them all and name it : "All". Is there a way to do ...
0
votes
0answers
26 views

SXA search issue for multi term word

Currently we are using default SXA Search component with Solr for our global website search. The issue we are facing is, if we search for "unique building", it gets the results of the page containing ...
0
votes
1answer
33 views

Hide SXA filter checklist when no data is displayed

I'm using a SXA filter checklist with a SXA search results, I want to hide this filter when there is no data in the search results.
0
votes
0answers
34 views

Convert string to LinkField [duplicate]

I need to convert string (received from SOLR, for example) to LinkField to have an ability to get the URL later. string rawString = "<link linktype=\"external\" url=\"http://some-url/find-and-...
2
votes
2answers
188 views

Results are not coming in the order using sortorder from lucene index

I have some items present in an item folder and want them to retrieve from Lucence index. There is a requirement that we have to order items in the Sitecore based on the order set on the Sitecore CMS, ...
1
vote
1answer
47 views

Rebuild Search indexes error: “System.ArgumentException”

My "Rebuild search indexes" aborts and produces this error: "System.ArgumentException: it doesn't make sense to have a field that is neither indexed nor stored". but which field, which Item ID? ...
1
vote
2answers
96 views

Sitecore Elastic Search

In Sitecore (Sitecore 9) to get search results from different-2 third party systems including Sitecore, we need to use Elastic search instead of default Solr search in Sitecore 9. Is my understanding ...
2
votes
1answer
63 views

Querying Solr datetime Collection

I have a Sitecore 9 instance using Solr. I'm trying to query a collection of datetimes such that if any of the datetimes in that collection are within a range that item will be returned. The issue ...
0
votes
1answer
68 views

Do I need a SearchCrawler to add and update items in a custom Solr Index?

I have an custom index where I will store data that doesn't exist in Sitecore, it has the following configuration: <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://...
2
votes
1answer
87 views

Config patch/hack to temporarily disable index update

Is there some easy config patch or hack I could make which would disable all indexing activities? I want to do this for things like package installation and also deletion of large content branches ...
3
votes
1answer
160 views

Programmatically adding items to a custom Solr Index

I'm trying to add some items to a custom Sitecore Solr index Programmatically via the Sitecore Content Search APIs. The items I will add won't reside in Sitecore so the code below is just a test for ...
9
votes
1answer
254 views

Is there a way to define index per site in SXA

There is a lot of reasons why I would like to have a separate index per site (or even per language). Some of them are: separation of data keeping the index small which increase performance not ...
0
votes
2answers
61 views

Limiting the items indexed by Lucene

I have created a Lucence Index in the ContentSearch.config with the below codes using Sitecore CMS 7.0 <index id="articles_index_web" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, ...