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.

Filter by
Sorted by
Tagged with
4
votes
2answers
109 views

Sitecore ContentSearch results order is not same as raw Solr search results

Sitecore ContentSearch is not providing result in the same order like Solr query does. http://localhost:8983/solr/sitecore_web_index/select?indent=on&q=_content:testorder&wt=json we are ...
2
votes
1answer
623 views

Rebuilding Indexes with SOLR throws Exceptions

I set up a fresh Sitecore 9.1 with SXA on my local machine. When rebuilding the indexes, I get the following messages: (Core) 19676 14:50:03 WARN Could not compute value for ...
-1
votes
1answer
188 views

Product ID or name is not searchable

I am working on Sitecore commerce 9 update-1. Many customizations are already done till now. For searching I'm using the default Search component. Issue :- Product is not searchable by Product ID/...
2
votes
1answer
346 views

Custom Azure Search Index returns '&search=This_Is_Equal_ConstNode_Return_Nothing' for searches

I have setup an custom Azure Search index in Sitecore 8.2 u7 and was getting no results returned even though I have data in it (I can see the data in the Azure console). Looking in the Sitecore Search ...
0
votes
1answer
186 views

Fuzzy search with SearchStringModel in sitecore

Is there any way to implement Fuzzy search with SearchStringModel technique in sitecore?
0
votes
1answer
113 views

How to sort Sitecore items by popularity

I'm using Sitecore 9 update 1 and SXA 1.7, I want to sort Sitecore pages by popularity, I opened the Reporting database and found many tables like Fact_Visits, Fact_PageViewsMetrics and ...
2
votes
1answer
181 views

search component- suggestion issue

Working on Sitecore commerce 9 update 1. Search-box is listing multilingual suggestions when typing. I have an item with content in English and Chines version. I have 2 issues to highlight, When ...
0
votes
2answers
560 views

Make Computed index field searchable

I'm using Sitecore 9 update 1 and SXA 1.7, I created a computed index field but it's not searchable, when I search by its value the item that has the index field don't return, I'm using SXA search box ...
1
vote
0answers
52 views

Items inside composite items are not listed on search

In SXA Search we are not getting the results for items present inside composite components like Tab/Carousel components. Does anyone have any suggestion that might help?
3
votes
1answer
186 views

How are search keywords saved?

I'm using Sitecore 9 update 1, I'm trying to get the top trending search keywords by users for my website. I discovered that the local search keywords are stored at table DimensionKeys in the ...
1
vote
0answers
45 views

Virtual Folder defined for a language site not working with Data API URL

We are on multi-lingual websites having en-CA and fr-CA languages as well. We defined virtual folder for fr-CA to share the same domain name with en-CA. Hence the en-CA works on www.mywebsite.ca and ...
4
votes
1answer
179 views

SOLR datetime fields not readable

In my SOLR index, all my datetime fields have encoding in them and not date data. I have compared my configs with a vanilla Sitecore 9.0.1 and find no differences. So it seems like it must be a ...
0
votes
1answer
94 views

Where the auto suggest results implemented in SXA?

I'm using Sitecore 9 update 1 with SXA 1.7, I configured the search box suggestion mode to be "ShowsPredictions", I know that the implementation is in Sitecore.XA.Foundation.VersionSpecific.Services....
4
votes
1answer
100 views

How to add externally stored PDF documents to my existing custom index

using Sitecore 8.2 update 4 and SOLR 6.6.0. Currently using a custom crawler to index database records. I have a requirement to now index the actual pdf content the database will house a http://path/...
1
vote
0answers
48 views

Prioritize search word in title over finding the word in any other field?

I got some help in a previous question about prioritizing the title field in searches, however when I run the search now, I continue to to get some results where the word is only in the content field ...
0
votes
1answer
245 views

Unit testing Sitecore ContentSearchManager

I have the following code that returns Items: public static IList<Item> GetAll(Language language) { var index = $"my_index_{Context.Database.Name.ToLowerInvariant()}"; using (var ...
2
votes
1answer
281 views

Way to prioritize title field for search results?

Can we adjust the Lucene search results so that items most likely to be related are shown closer to the top of the results feed - I'm thinking this would involve providing higher weight to results ...
0
votes
1answer
238 views

How Sitecore index primary and secondary sync in SolrCloud?

Let me start of by describing my current set up. I am currently having Sitecore 8.2 update 6 running with Solr Cloud 5.5.1 as a search engine. I have 1 CM and 2 CDs. Solr Cloud is running on 5 servers ...
1
vote
1answer
37 views

Is there a way to do a search in Sitecore against with Lucene using a dynamic field?

My client needs me to write a speak app that can do a search where they can type in whatever field they want to equal a value in the search bar. Is there a way to do a search against Lucene to within ...
5
votes
1answer
209 views

Can the Auto suggest results count be changed in SXA?

I'm using Sitecore 9 update 1 with SXA 1.7, I configured the auto suggester in the Solr, the suggest.count is 30 and the maximum predictive results count for the SXA search box is 30 also, but the ...
1
vote
1answer
111 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 ...
1
vote
1answer
107 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:./...
4
votes
1answer
143 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
290 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 '/' ...
1
vote
1answer
47 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
185 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 ...
1
vote
1answer
322 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 ...
7
votes
0answers
431 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
45 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
84 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 ...
1
vote
2answers
314 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
363 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
1answer
127 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 ...
1
vote
0answers
82 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
94 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
196 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 ...
3
votes
2answers
177 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 ...
5
votes
2answers
94 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
99 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
234 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
1answer
137 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
174 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/...
3
votes
1answer
401 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
56 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
36 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: ...
3
votes
1answer
100 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
1answer
74 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
131 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
1answer
86 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.
2
votes
2answers
760 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, ...