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
10 views

Search the content of a PDF file uploaded in media library

I'm using sitecore 9.3. I have a case where i have some content files (ex: PDF files) uploaded to sitecore media library and I have a search box component. I need to configure my search box scope to ...
0
votes
0answers
21 views

Coveo Index Item Url Issue Using Sitecore 8.2 and Coveo 5.0

I am facing an issue with the Coveo index Item URL. After Coveo indexed on dev environment, item URL formation is in a right format like /en/za/news/news1 while on uat environment after Coveo indexed ...
1
vote
1answer
28 views

Custom index was not found error in in Azure Paas Content Delivery

My custom index "custom_index" was not found error is coming in Sitecore 8.2 on the Azure Paas CD environment. But the same custom_index is accessible in the CM environment. I'm using the Azure ...
0
votes
1answer
36 views

“Lock held by this virtual machine” exception with Solr 6.6.1

For a customer i created a solution based on CMS Sitecore 8.2.7. The architecture is hosted on MS Azure infrastructure and basically consists of a Content Management VM (Windows Server 2016), two ...
0
votes
1answer
37 views

SXA JSON results count is not in the response

I'm using Sitecore 9.1 and SXA 1.8, I created a JSON result and configured it as below: The JSON result response doesn't contain the results count, as in SXA search result component request-response, ...
0
votes
1answer
47 views

Need to get the Search response time

I need to get the time taken for each response time for each search that we are making from the Sitecore. I've tried changing the log configuration of Search Log to Debug mode but the log doesn't have ...
0
votes
1answer
29 views

SXA search - Accordion Items are not shown up after indexing even in scope query when we provide template name

I am trying to make my accordion items (data source is in Data node) searchable. I tried adding _searchable to the accordion-item, but I guess it is not getting indexed. As I try to add it using ...
0
votes
0answers
31 views

Sitecore Spell checker neglect search scope

I'm using Sitecore 9.1 and SXA 1.8, I'm using Solr spell checker feature to fetch suggestions for a SXA search box that I use, the source of the suggestions is the field you specify in the ...
1
vote
1answer
31 views

Embed query text in no results view text and result count text for SXA Search results component

Using Sitecore and SXA 9.3 For search, we need to include the query text in the result count message as well as the no results message. For example; for a search of 'bananas' it should say "5 results ...
0
votes
0answers
14 views

Complex search query using the ItemService

I want to perform a complex search, e.g. siteroot:(shell), using the ItemService (on XP 9.3). The RESTful API spec (https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/the-restful-...
1
vote
2answers
24 views

Can I add a custom rendering for the out of the box search box and dropdown filter?

I want to create my own render variant for the search box and dropdown filters. I wantt to keep the functionality, but I want to change some of the markup and css classes. Is this possible, and how? I ...
0
votes
0answers
16 views

Search results signature is set to null in arabic language

I'm using sitecore 9.1.1 and SXA 1.8.1. My site have two languages: english and arabic. I've recently run into a problem which is the following: All the search results components stopped returning ...
0
votes
2answers
32 views

What is the functionality behind in Query and ContextFilterQuery in SuggestParameters class?

I'm working on the solr suggest module and I want to know about the Query and ContextFilterQuery in SuggestParameters class. Can anyone explain it? public class SuggestParameters { public ...
0
votes
0answers
22 views

How to exclude the results based on some templates in Solr/Suggest search?

I have a scenario that, I want to exclude some templates(Items that are based on these templates are need to be excluded) from solr Suggestion/autocomplete results. I did set a context field as ...
1
vote
0answers
43 views

SXA search filters don't intersect itself

I'm using Sitecore 9.1 and SXA 1.8, I have checklist filter with data as seen: Individual has items : News3, News4, News7 Vacation has items : News3, News5, News6 When I choose these two options, ...
0
votes
0answers
37 views

ContextFilterQuery is not working Solr suggest [duplicate]

I recently tried Solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml <requestHandler name="/suggest" class="solr....
0
votes
2answers
97 views

How to filter solr suggestions only from particular path

I recently tried solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml Restarted solr8.1 service in services in C# code, ...
0
votes
1answer
42 views

Solr Suggestor is not working for sitecore master index

I recently tried solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml Restarted solr8.1 service in services in C# code, ...
0
votes
0answers
19 views

Extend Solr Content Search to search in the data sources fields - sitecore 9.3

I'm working on the site search module where the user searches for a particular item. Currently, the site searches and matches only the item name and it's fields But I'm trying for searching the ...
0
votes
1answer
45 views

Could not create instance of type: Sitecore.ContentSearch.SolrProvider.SolrSearchIndex. No matching constructor was found

I'm trying to set up a local instance of an existing Sitecore 9.2 site. It's using Solr 7.5.0, and I set it up through SIA. When I try to load my site I get the following error: Could not create ...
0
votes
1answer
20 views

How to get the __content index field value in solr search

I just created the site search module where I need to get all the pages that the user is looking for. I'm able to get the item name when content matches the search term, But also I need the content ...
0
votes
1answer
45 views

Solr field level search

I'm working on the site search module where the user searches for a particular item. Currently, the site searches and matches only the item name. But I'm trying for searching the keyword in item ...
0
votes
0answers
31 views

Return Partial view inside search results rendering variant

I'm using Sitecore 9.1.1 with SXA 1.8.1. I have a search results component, I need to render a partial view inside a section in its rendering variant. I tried to add a Variant component for a custom ...
0
votes
0answers
20 views

Searchbox populated text is changing with focus out of the search box with mode “show search results as prediction”

I'm using Sitecore 9.1.1 with SXA 1.8.1. I have a page on which I added a Sitecore search box and search results components. I set the search box mode to Show search results as prediction. The ...
1
vote
0answers
41 views

SXA Search Boosting Throws Error

I have configured the search scope for SXA (Sitecore 9.3) and it works as expected. However, when I try to add boost configuration to the search scope it throws the below error. Invalid Method Call ...
0
votes
0answers
38 views

Sitecore SXA Search Multiple Dropdown List

Im new in Sitecore, long story short. I wanted to know how to create a multiple dropdown search(filter) in Sitecore SXA (not coding part). Sorry my English is not good hopefully you guys understand ...
0
votes
0answers
29 views

On what basis, the language is switched for the searched items in Content tree search?

I am using Sitecore Content tree search. When we search any text using the content tree search, it shows the results. We are just searching by item name. No extra filters used. But when we click on ...
0
votes
1answer
28 views

Ways to compare search results in Sitecore 9.0.2

I performed search of a particular item type with the Sitecore in-bulit search in the content Editor as i wanted to see some items that are modified by a particular user. I filtered by the template ...
0
votes
1answer
36 views

Boost not activating in Sitecore Solr query

I've got some code that's generating a predicate for Solr search as follows: foreach (string query in querySplit) { contentPredicate = contentPredicate.Or(item => item.DocumentTitle.Matches(...
3
votes
2answers
75 views

Querying DropLink field from Sitecore to SOLR

In my template, I have a field called Category which is a type of DropLink and not MultiList. When I tried to find it in SOLR, I got this field as below. "category_sm":["{951063A6-0BBA-484F-8CAB-...
1
vote
1answer
52 views

Coveo Search Word match

In my content, I have the following text water engine, Fire engine Features now available on the test model: 01ANB is the test string If I search for engin (not engine), it brings up this particular ...
0
votes
1answer
57 views

Can a TOKENIZED index field be remapped to an UNTOKENIZED field of a different name without using a computed? (LUCENE)

Having some search issues with using the "Name" field on items ("_name") I'd like to map it to another field that I can search on without having to create a custom computed field to do the mapping. ...
0
votes
1answer
56 views

Lucene search for item name that exactly matches returns a similar result, when none should match

We are getting the wrong result returned. for example, a search for the item named "alumni" returns the item "commencement-alumni-help" when no result should be returned. SearchContext....
0
votes
0answers
29 views

Adding new Crawler in Sitecore Index at Runtime

There is a scenario.There is a Site e.g SiteA. I have created an Index for SiteA and a Crawler which point to a node inside SiteA. Now In future, I add two new Sites SiteB and SiteC. I want the ...
0
votes
1answer
165 views

Sitecore solr list of double/float field

It`s weird but I did not find any fieldtype for storage list of doubles/floats both in Sitecore and in Solr (I need this field just for storing, not for querieng). Just need to store List< double>...
1
vote
2answers
86 views

Working with chinese language with the SXA Search Component

We have an issue, where we have content in multiple languages, and we are doing a basic keyword site search using the SXA Search Component. As far as I can tell (from the search.log), the SXA Search ...
2
votes
1answer
39 views

IndexField attribute not working after upgrade to 9.2 on Solr

We upgraded our solution from 9.0.2 to 9.2 and now our search queries using a class that overrides SearchResultItem and having properties that use an [IndexField] attribute to set the name of field in ...
2
votes
1answer
134 views

Displaying SXA Search Results on the separate page

I'm currently working on SXA OOTB the Search Box and Search Result rendering. SXA sites structure is as below Sites Country Site 1 Country Site 2 Shared Site I have search box in the site header ...
0
votes
0answers
62 views

How to build scope query?

I have a scope query that retrieves all items that contain includedinsearch field with value searchable but I also need it to exclude an item when this item has EndDate or EventEnd field with values ...
1
vote
0answers
49 views

Sitecore SXA search doesnt work

I have recently installed a fresh Sitecore 8.2 update 5 including Power Shell 4.7.2 SXA 1.5 rev 171010 Sitecore SXA Showcase v1.2 Everything seems working fine except for the search function. When ...
1
vote
1answer
51 views

Search results count not updated when deleting items

I am using Sitecore 9.0.2. and SXA 1.8. I am facing a strange issue when I delete an item. The search results that returns this item is retrieved with the old count (including the deleted item) ...
5
votes
0answers
129 views

Atomic update of a SOLR document. Updating fields on document instead of full reindex of document

SOLR has a feature for doing partial updates of a document called Atomic Updates. The SOLR documentation has this example: { "id":"mydoc", "price":{"set":99}, "popularity":{"inc":20}, "...
0
votes
0answers
35 views

Manually add/update a single record in an index

I've created a custom index to store users in based on the code found at https://gist.github.com/jorgelusar/150a607dcf96acb54b60, but because there's no Sitecore item to trigger the usual indexing ...
0
votes
2answers
99 views

Enabling full text search on a single line text field

Locally I successfully enabled full text search on a field in the sitecore_web_index by implementing the following logic in my Sitecore solution: 1) Added this xml to a patch configuration file: &...
1
vote
1answer
70 views

Dropdown Filter - Language English Name

I am using SXA Search component and with that I want to use "Dropdown" filter which will have "Language" facets in the dropdown for the search items. I am able to achieve it by getting "_language" ...
1
vote
0answers
31 views

SXA search result returns Error 400

I am using Sitecore 9.0.2 and SXA 1.7.1. Search results return Error 400 with response "Exception has been thrown by the target of an invocation." while facets return results as expected. any idea ...
1
vote
0answers
39 views

Not able to Perform multi-language search Sitecore with searchstring

Using Solr as Default search provider. Content Search is working when website language is -en example.com/en/sxa/search/results/?l=en&q=query From localhost:8983(solr) Able to query the data ...
0
votes
1answer
45 views

Sitecore search for users

I've been doing some research on doing a search of the user base, using profile values for querying. I know there's a sitecore_core_index which in theory would cover that, but I'm guessing it's not ...
1
vote
0answers
43 views

Adding hashtag to the internal link that leads to blog search page with tag filter search Sitecore SXA 1.9

The blog index page has all articles are listed and the filter based on tag that works with solr search. The search results based on sxatags filter will get added on the blog index page when apply ...
1
vote
0answers
22 views

Specific search terms return 500

We are on Sitecore 9.0.1 and Solr version 6.6.2 and have previously had issues with populating our schemas from the Sitecore control panel. After overriding the pipeline like in this blog post (https:/...

1
2 3 4 5
8