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
0answers
5 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 ...
6
votes
2answers
383 views

Master index updated even though manual strategy is set

I have changed update strategy for Master database to be "manual" rather than "sync", which to my understanding should not update "master" when data changes in master database. I can see in crawling ...
0
votes
1answer
51 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
1answer
30 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 ...
0
votes
2answers
588 views

Error while rebuilding the search index on Sitecore 8.2 and Solr 6.6.1

We are able to successfully build all the indexes for the first time except sitecore_master_index, sitecore_web_index and Sitecore_core_index And when trying to rebuild sitecore_master_index for the ...
1
vote
0answers
38 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 ...
0
votes
1answer
59 views

Change the rendering of SXA Search from a page to overlay

I'm trying to view the search results of a search box in a popup not in a page, I've created an overlay with a search results rendering in it and then choose it as the "Search result page", the ...
1
vote
1answer
80 views

How to search any component's field value by using SXA search component?

I am newbie in SXA, working on Sitecore 9.2 SXA 1.9 . Here in my case i am using Carousal in one of page where trying to search by Slide Text field value but no record is coming. I have added ...
1
vote
1answer
92 views

How to write a custom controller for Sitecore SXA Search Box component?

We are using Sitecore 9.0.2, SXA 1.8.1 and Azure search. The SXA component Search Box works perfectly fine. In our application, we need to show the search results from other application along with ...
0
votes
1answer
94 views

Error while resolving field boosting on CD server

I am getting the below error on my CD servers. I have never run into this error before and not sure what it is trying to say. I have populated index schema and re-indexes. CM is working fine and ...
0
votes
2answers
52 views

Is it possible to get page content dynamically (Not HTML but field values which are displayed on the page)?

Is it possible to get the few renderings' (present on the page) contents dynamically, but the catch is like I don't want HTML instead I want the field values which are used to be displayed on the page....
2
votes
1answer
106 views

How Coveo reads indexes?

We are using Coveo on perm 4.0 edition with Sitecore 8.1 update 3. We have CM and CD configured to use the Coveo indexes. When I query the results on CM and on CD it uses different indexes So how ...
2
votes
1answer
22 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 ...
1
vote
1answer
58 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 ...
3
votes
1answer
518 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 ...
4
votes
1answer
211 views

How to get the page of a rendering used in a page in search

I have to implement Azure search but would like to try with Lucene first in the local setup. I am following this example by @kamsar 1.Created the SubcontentField class 2.Created the patch config and ...
7
votes
2answers
361 views

How do you boost fields such as Title or Navigation individually in SXA when using SOLR?

In our example, we have a Careers search feature in which we only want to match on title, job id, or a meta field such as description. One wonderful feature about SXA is that you have an easy-to-use ...
0
votes
0answers
57 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
34 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
38 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
48 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
30 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
1answer
48 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
55 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" ...
0
votes
1answer
158 views

Azure Search &search=This_Is_Equal_ConstNode_Return_Nothing

I have a site that I have recently been upgrading from 8.2 to 9.1 and everything is looking good EXCEPT anything that relies on search funcionality. Any Azure search has in the info log: 2019-02-...
2
votes
1answer
84 views

Search on custom solr index

I am trying to search on a solr core which contains static data without any Sitecore details. <doc> <str name="_property_text">1</str> <str name="_itemnumber_string">1250000&...
1
vote
1answer
92 views

Limit search result hits to a specific number with facets to match limited result set

I have a requirement to limit search results to an arbitrary number in a Site Search implementation. Is there a way to accomplish this in a query and get accurate facets relative to the arbitrary ...
0
votes
1answer
31 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
29 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
33 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
68 views

How to escape “media library” in Linq to Sitecore

I'm trying to write a query that searches only items in the media library. The problem appears to be related to the space character in the phrase "media library", which is causing the code to return ...
1
vote
0answers
21 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:/...
2
votes
0answers
46 views

How to implement nested condition in Sitecore search Query Token?

Refereeing this nice post https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html Above approach works well with simple conditions which generate the below SOLR query e.g. ...
0
votes
0answers
64 views

Blog posts with Tag Cloud filter does not work on the search results - Sitecore 9.2 and SXA 1.9

I have created the blog component based on the below link https://alan-null.github.io/2017/12/sxa-blog Somehow, the filter does not work using the SXA tags. What I have done: Created Blog Module ...
1
vote
1answer
44 views

IS there a simple way to get the current Azure Search index name programatically?

I need to get the current active index name for Sitecore search for logging purposes. Because of the swap on rebuild functionality, I can't simply use the name field of the index, since on alternating ...
2
votes
1answer
101 views

How to apply stop words at Solr query time?

I'm having some fun with Solr and here is my current issue. I've applied some stop words using the stopwords.txt file and rebuilt my indexes. Everything looks fine here, I can see that those stop ...
0
votes
1answer
32 views

Why Solr returns 0 results when querying with stopwords only?

Really straightforward question: Why does Solr return 0 results when I query using only for, which is a stop word on my Solr setup? IMO this scenario should behave as a query without any keywords at ...
3
votes
2answers
204 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 ...
0
votes
1answer
33 views

SXA search suggest throws error 500

I'm trying to implement the Sitecore SXA auto suggest search functionality, below is the setup <searchComponent name="suggest" class="solr.SuggestComponent"> <lst name="suggester"> &...
0
votes
1answer
144 views

Custom index field not showing in Azure search

I am trying to use KamSars approach to indexing subcontent (pagecomponents) in my Sitecore 9.2.0 solution. It works fine in my Solr index locally, but when I try to add the two new computed index ...
0
votes
2answers
636 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
2answers
75 views

Search query custom path

I'm trying to build a search query to find an item that is a child of the current item. Something like this: custom:path|./_local/* But this returns 0 results (should be 3 results). How do I do ...
2
votes
1answer
41 views

Clone SXA OOB component javascript

I am using Sitecore 9.1 and SXA 1.8, I need to clone "component-search-results-count.js" in base theme to extend some functionality to the OOB "Search Result Count" component. How can I do that?
0
votes
1answer
34 views

FuzzyLookupFactory is not working with Arabic words

I'm using Sitecore 9.1 and SXA 1.8, I'm using FuzzyLookupFactory for my suggester, and this is the configuration: <searchComponent name="suggest" class="solr.SuggestComponent"> <lst ...
2
votes
1answer
37 views

Filtering Content Editor global search in SOLR

When I use the global search in the Content Editor in my Sitecore 8.1 instance (that uses Lucene), the search.log displays the following output: ExecuteQueryAgainstLucene (sitecore_master_index): ...
0
votes
0answers
39 views

SXA Multiple facets field name is not working

I'm using Sitecore 9.1 and SXA 1.8, I'm using search facet for sorting, I want to sort by three fields, I wrote the names of the fields lower case and comma-separated at the Facet Field Name as ...
2
votes
3answers
122 views

Error in custom index after upgrading to Sitecore 9

After upgrading to Sitecore 9 and converting custom index files from using Lucene to Solr, I am getting the following error on an Ajax call: Unable to cast object of type 'System.Collections....
5
votes
2answers
103 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 ...
1
vote
1answer
66 views

SXA Search functionality works only with the whole search query

I'm using Sitecore 9.1 and SXA 1.8, I implemented search functionality using Search box and Search results OOB SXA components, When I search with a sentence, it only returns the exact match for the ...
1
vote
3answers
404 views

Azure Search not working for other language

Using Sitecore 8.2 update 3. I'm new to search & Azure Search and followed this approach to implement the site search functionality on our multi-lingual site. https://kamsar.net/index.php/2014/...