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
0
votes
1answer
26 views

Search HTML code in Content Editor

I am sorry if this is a stupid question, I am just starting to explore Sitecore. When I use the search function in the Content Editor, it will return the items that contain my search query. But it ...
0
votes
2answers
17 views

Semantic Tag Based Sxa Search not showing result on solr search service

I am using Sitecore 10.1 with Sxa on solr 8.4.1. The sxa scopes based on templates having any semantic tag is showing result in build query, but not on page preview nor published page. Example query : ...
2
votes
3answers
55 views

How to write the query for grouping of articlecategories to fetch the count of article in Solr

I would like to query in Solr, to pass the list of categoryID('cat001','cat002','cat003','cat004'), based on the categoryID, we need to get the count of Article of passed categoryID in the Solr Query, ...
0
votes
0answers
18 views

Solr - Can I change the "_indexname" field from "string" to "lowercase" using config files?

I've realized that since Sitecore 10.1 the Solr "_indexname" field is a "lowercase" instead of a "string" as it used to be. Is it possible to override its type in lower ...
0
votes
1answer
32 views

Load Site based item only in 'Multilist With Search'

I am working on Sitecore 9.1 with SXA multisite application. I have a folder in every site e.g Site-1/data/Tags/ I created page items with a field Multilist With Search type Now I want to load data ...
0
votes
0answers
20 views

SEO Reports and Branded Location Searches

I use SEMRush for keyword position tracking, but need something to help the below searches in some other type of report. Our company has multiple locations in the US, and as the company grows and more ...
0
votes
1answer
54 views

Popular search keywords not being tracked

I am using Sitecore 9.3 and trying to track and display the popular search terms used on the website. However, I am not seeing the search keywords being tracked as intended in Internal search ...
1
vote
1answer
15 views

How to apply a greater/less than DateTime query in Sitecore using the `IQueryable<ContentSearchResult>` Linq?

How do you apply a DateTime field comparison in Sitecore using the Sitecore.ContentSearch SDK? The ContentSearchResult[string key] function always returns a string which cannot be cast into a DateTime ...
0
votes
0answers
27 views

Azure search through sitecore does not return all results

I have setup synonyms for azure search for searching for products on our site. Our products are split into language specific entities. When I search for the product directly I get all language ...
0
votes
0answers
29 views

Getting error in Azure search ""Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"

We are getting result thorough content api using Azure search and solr. In Solr, everything is working fine but when we are trying to get result in Azure search then we are getting the below error
0
votes
0answers
33 views

Content search - An error has occurred and the search cannot be completed

When I search something in the Content search and it is not working, and the UI shows 0 results with a message on red background under the search bar "An error has occurred and the search cannot ...
0
votes
1answer
31 views

Solr ContentSearch - Finding literal spaces and dashes

I'm working with Sitecore 10.1 and SOLR 8.4.0. I am building a typeahead search that matches items (around 17,000) within a bucket in Sitecore. There are two fields in my template that can be matched, ...
0
votes
1answer
32 views

Boosting items by its own field values

I'm using Sitecore 9.3 and Solr 8.2.1, I had Solr index-time boosting in my old search implementation, but after I upgraded to a new Solr version, it is deprecated now. Imagine I have an item with ...
1
vote
1answer
53 views

Sitecore.ContentSearch.Linq is adding backslash to all space characters in search query

Whenever I query using the Like query the Sitecore generated Solr query escapes the space characters. Here is an example: queryable = queryable.Where(result => result["...
0
votes
1answer
25 views

sxa custom boosting condition for dynamic value from cookie

We have a requirement where we want to boost results based on a value from a cookie/session. The items that contains the value from cookie in a Certain field should be boosted. Hence the rule should ...
0
votes
0answers
36 views

Solr spatial search as part of an OR clause in a content search predicate

When performing content search queries, you can make use of the WithinRadius, OrderByDistance and OrderByDistanceDescending methods of the Sitecore.ContentSearch.Linq.QueryableExtensions class to get ...
0
votes
1answer
50 views

Content Search API issue with Droplist and Treelist fields

I am facing a weird(might not be weird for experienced people) issue where ContentSearch API is returning null value for few fields while I can see the correct values in Solr. The fields whose values ...
0
votes
1answer
39 views

Including the solr field in search result along with item fields in the Search result rendering variant

I am using sxa search result for rendering the service items which contain coordinates(lat-lang). We have got a new requirement where the same services may be available in different locations. Hence ...
1
vote
1answer
42 views

Rule based boosting at the field level

We are using Sitecore 9.1, Solr 7.7 and are NOT using SXA. I tried creating a boosting rule and associated the rule with the template. The rule is as below: where the page title field contains bills ...
2
votes
1answer
213 views

How do you create a scriban function which implements the Content Search API?

I've seen examples such as here on how to create a custom Scriban function. How would I go about implementing one which supports the Content Search API like that shown here? Example: Function called ...
0
votes
1answer
75 views

Some records do not appear in multilist with search

I've got a multilist with search field in Sitecore 9.2 that does not return all of the items I know it should be. The field source is StartSearchLocation=[ID of folder]&Filter=_templatename:[...
0
votes
1answer
50 views

Could not find property 'IndexAllFields' on object of type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration

I have tried adding IndexAllFields as true in C:\inetpub\wwwroot\subway93sc.dev.local\App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config. But it does not ...
0
votes
1answer
34 views

CreateConnection method doesn't exits in DefaultSolrStartUp - Sitecore 9.3

I am in process of upgrading content serach Solr provider from Sitecore 8.2 to Sitecore 9.3. I am facing some code issue after upgraded the dll(Sitecore.ContentSearch.SolrProvider, Version=6.0.0.0) ...
0
votes
1answer
47 views

SXA Search box is not showing Predictions for Chinese language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and Solr 6.6.2. I have added a search box component and search result component on the same page for a chinese language and also selected the ShowPrdeictions ...
0
votes
1answer
86 views

Computed Field in Sitecore using Solr and Analyzers

I'm trying to use an analyzer on my computed field to allow searching with spaces. Nothing I've tried works yet. Any ideas? <contentSearch> <indexConfigurations> <...
0
votes
0answers
25 views

Sitecore search to support pdf files [duplicate]

how to implement search to support pdf files? Is it possible with Sitecore 10 & Solr on azure pass?
0
votes
0answers
21 views

Single select and Multiselect checklists not working with Chinese language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and solr 6.6.2.We have requirement for multiselect search for chinese language. I have created a template called fruit with fruitname,color etc as its fields ...
0
votes
0answers
22 views

Commerce search results using multiist selection

We are migrating from Sitecore 8 to Sitecore 9. In Sitecore 8, we have a Multilist which has few values like Pending, Sold, Available or Not Available. When any value is selected, for-example if Sold ...
0
votes
0answers
31 views

Configuring synonym analyzer for lucene

My question is related to sitecore search / content search, which is a topic I'm not fully experienced with, so don't hesitate to correct me :) We just want to use the default Lucene indexer with a ...
0
votes
1answer
54 views

How to show the filter values in Chinese in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 .we have a requirement that the filter values should get displayed in chinese language. I have created a template with field color and data type multiroot tree ...
2
votes
0answers
157 views

Sort By Grouping NumFound Field

Hello Sitecore Stack Exchange, Environments: Sitecore 9.2, Solr 7.5.0|SolrCloud 7.5.0, Custom search index. In the Search logic I have the next requirement: I should group search response and sort ...
1
vote
0answers
69 views

Solr index rebuild on CD servers

I am working on a client applciation on sitecore 8.1 we have one CM and multiple CD server , The CM solr instance and CD solr instance are pointing to 2 seperate instances , configured as master and ...
2
votes
1answer
81 views

Rebuild search index inside Sitecore 10.1 CMS not showing sitecore_web_index or sitecore_master_index or sitecore_web_core

I was trying to implement search functionality with Solr on Sitecore 10.1 instance. But Im not able to find the following default indexes: sitecore_web_index sitecore_master_index sitecore_web_core ...
2
votes
1answer
45 views

Control the order of indexes during rebuild

I have the following scenario implemented in sitecore 9.2 and which uses azure search: index1 is configured to index around 100k items under /sitecore/content/shared/data index2 is indexing around ...
2
votes
0answers
111 views

Filtering Solr search results based on score

I'm trying to figure out a way to apply a filter on result scores. E.g. I want only results with score >50. In pure Solr, that is solved by using a filter query. Adding the following to the query ...
2
votes
1answer
96 views

Droplist field type and Drop link field both are showing Item ID in sitecore 9.0.1

I am using sitecore 9.0.1 and sxa version 1.7. I have created a custom template with field type Drop link for the search functionality and created a rendering varient for it .But it is displaying Item ...
0
votes
0answers
26 views

How to change the order of Checklist filter facet in sxa

We are using a checklist filter to filter the data of a sxa search result. Is there any way to change the order of the facet(choices) that gets displayed? I am using a tag treelist to get the data
0
votes
2answers
155 views

Sitecore 9.3 Solr ContentSearch does not get the right language

I have a site with the language english (en -> default language) and portuguese (pt-BR). Now I have the problem that on the portugese website there are shown items of the english language version. ...
2
votes
1answer
95 views

How to make a cache exist for the duration of an indexing operation

Is there a way to create a Sitecore custom cache which exists for the duration of an indexing operation. I would like to store frequently looked up relationships which can be re-used by different ...
0
votes
1answer
45 views

Is it necessary to create sxa cores in solr 6.6.2

I am Newbie to Sitecore 9.0.1. I am building a SXA site for search functionality. Setting up of Sitecore and Solr 6.6.2 is done and I have installed SXA 1.7. Does the cores should be created for SXA ...
1
vote
1answer
125 views

Does Re-Index Tree command in Content Editor always cause a recreation of Solr documents

I'm using the "Re-Index Tree" button in the Content Editor (Developer toolbar). I run a query in Solr admin just after to examine the indexed document and for some reason, the ...
3
votes
1answer
136 views

How to exclude an item based on template when using find-item in Powershell

I'm working on this script: $criteria = @( @{Filter = "NotEquals"; Field = "_template"; Value = "{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}"} ) $props = @{ Index = &...
0
votes
2answers
91 views

Where to get Azure search query logs to check a query?

We are using Azure search to get the Sitecore items based on some filter conditions passed as predicate. This condition is not working with Azure Search in our dev environment. We have to check the ...
0
votes
0answers
21 views

Ensure Azure Content Search Provider uses a filter for a query

We have a number of searches on our site that should be possible through a pure filtered search - we're searching across a few fields, some of which are mutli-selects, others are booleans and one's a ...
0
votes
0answers
25 views

Sxa Check list filter for single line text filtering as like operator not equal operator

I have a search results component. I want to apply the sxa check list filter. While applying over the single line text the unique value is coming properly along side check box but filter is not ...
0
votes
1answer
63 views

SXA Search scope dynamically passing facet information

We have a requirement where we need to display the first two news items (sorted by time) and along with it there will be a link to view the rest of the news as well (this is page 1). If they click on ...
1
vote
1answer
253 views

Create custom facet for Sitecore SXA search filter

I have to apply the SXA search Checklist filter component on a search result by the product type (which is a single line text field). Can anyone please provide any information or useful links on how ...
0
votes
0answers
38 views

SXA Search api doesn't work with Arabic facet value

I'm using Sitecore 9.3 and SXA 9.3, I use SXA OOB Search results components, when filtering with Arabic keyword in the facets, it doesn't bring data, although I checked the generated SOLR query, it ...
2
votes
2answers
209 views

Sitecore SXA search result count in scriban

Is there a way to read the search results count in a Scriban template in a rendering variant of SearchResult in SXA? I have a requirement that if the search results count is less than 6 the result ...
1
vote
0answers
101 views

Sxa custom search token query for date range is not working in azure search service

I have Sitecore 9.3 SXA with Azure search in our application. We are trying to create a custom SXA search token to filter upcoming events starting from the current date. In the code am trying to pass ...

1
2 3 4 5
10