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
2answers
26 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
15 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
12 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
42 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
16 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
27 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 ...
0
votes
1answer
27 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
31 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
37 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
26 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
62 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
32 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
13 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
26 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
35 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
63 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
43 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 ...
0
votes
1answer
37 views

Solr returning non exact matches

I've created a field called neighborhood with text on FieldType, so I got some trouble searching word: "castilla" it doesn't return zero items, but when search change to "castillo" it returns items ...
0
votes
1answer
83 views

How Sitecore 9 determines in which product catalogs to search on site?

I have created 2 product catalogs in Commerce business tools: catalog1 and catalog2 Then in Content editor /sitecore/Commerce/Catalog Management/Catalogs I made only catalog1 as selected catalog. ...
1
vote
1answer
42 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
41 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
38 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
50 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
28 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
46 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
28 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
22 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
82 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
38 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
70 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
0answers
35 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
42 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
49 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
101 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
221 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
1answer
35 views

Lucence Index is slow in website loading

I have created a LucenceIndex in the ContentSearch.config with the below codes using Sitecore CMS 7.0 <index id="articles_index_web" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, ...
0
votes
1answer
172 views

“There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches…”

I'm re-posting because the other thread on with 'GetResults' instead of 'Filter' SOLR error message is in a different context. This thread was when migrating from 8.1 to 8.2, while we are migrating ...
0
votes
0answers
121 views

Solr index timeout out error

I have the following exception when running the Solr search index. It was running till 23000 records. After that its getting failed and got the following exception. Job started: ...
0
votes
0answers
60 views

SXA Search box Auto Suggest is not working

I'm using SXA 1.7 and Sitecore 9, When The search box and the search results components are in separate pages the auto suggestion is not working, when they are in the same page it works. These are the ...
1
vote
0answers
36 views

Error Log : "There is no method 'Filter' on type…” while migrating Sitecore version [duplicate]

This is not a duplicate of: There is no method 'GetResults' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments because the patch applied ...
0
votes
1answer
48 views

Sitecore Content Search is not working in the Content Editor

I'm getting the following error while performing Sitecore content search: ERROR Could not resolve type name: Sitecore.Support.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex, ...
1
vote
1answer
29 views

Plural terms and Sitecore lucene

Sitecore 8.2 U6 I have been experimenting with the Sitecore stemming analyzer. Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming But it isn't perfect. It has trouble ...
4
votes
1answer
57 views

How to detect Search Results rendering DOM update

There is a way to attach to an event which will inform us when the search results have been loaded from the server. We can do it like this: XA.component.search.vent.on("results-loaded", function (...
2
votes
0answers
40 views

How to search all the articles that have the same (or at least one) tag with the current page?

I found TaggedTheSameAsCurrentPage|SxaTags and TaggedWithAtLeastOneTagFromCurrentPage|SxaTags that is similar to what I need. However it doesn't return any results. I couldn't find much ...
0
votes
0answers
135 views

Items appear in SXA scope but not in search results

I'm using Sitecore 9, and SXA 1.7 I have a search scope that searches for certain items whose template is "blog page", in the scope query, I'm searching using the template and location, and I do get ...
2
votes
2answers
102 views

How are boosting values used for sorting when searching against multiple boosted fields

How are boosted fields handled in Sitecore ContentSearch when there are multiple indexed fields with different boosting values? Is there some formula to calculate the result ordering and is this ...
0
votes
1answer
52 views

SXA Search results Load more control

I am adding Search Results with Load More renderings. I need to display a number of items loaded with the total number of items returned from search API. Is there a way to get this info in SXA? I ...
3
votes
1answer
76 views

Sitecore Search API not searching List of Guids Unsupported expression node type

I have created an index field called "facetCategory". public class IndexResultModel : SearchResultItem { [IndexField("facetcategory_sm")] public IList<Guid> FacetCategory { ...