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
2
votes
0answers
657 views

Content Search Functionality Not Working [closed]

I am working on a search functionality to return items with certain template, location of the folder to look for in, and has the item name: var predicate = PredicateBuilder.True<SearchResultItem&...
2
votes
0answers
71 views

When will the sitecore azure search provider be released? [closed]

I saw there was a Roadmap from earlier this year saying Azure Search Provider would be included in 8.2 update 1 to be released this year. Along with Azure session redis cache. Has anyone got any ...
1
vote
1answer
812 views

How to rebuild Lucene Index using API?

We have to rebuild Lucene index on our CD server. Is there any Sitecore API to rebuild Lucene index? or rebuild a portion of tree items?
1
vote
1answer
520 views

Sitecore Content Search not returning back fallback items

We are on latest version -Sitecore 8.2 update 3 Below is the query we are using to get all composers for language es-es. It's giving back 3 results. That's partially right as there are only 3 ...
1
vote
2answers
459 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
1
vote
1answer
53 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 ...
1
vote
1answer
61 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 ...
1
vote
1answer
60 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, ...
1
vote
1answer
119 views

How to set a item field as ParameterExpression in Coveo

When I try to create a custom rule and pass field name, I get Instance property 'textField' is not defined for type 'Sitecore.ContentSearch.SearchTypes.SearchResultItem' exception. This is how my ...
1
vote
1answer
88 views

Solr ContentSearch returning too many results for a string comparison that should return just one

I have a very straightforward ContentSearch issue. My code is as follows: var filter = PredicateBuilder.True<PersonObject>(); filter = filter .And(i => i.Email == "my.email@address.com");...
1
vote
2answers
219 views

SXA get data based on current year

I work on sxa Project where I have news Template, I trying to display all news items where the (News_Creation_date)field value in current year, I created search Scope to retrieve data and Rendering ...
1
vote
2answers
250 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 ...
1
vote
2answers
575 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 ...
1
vote
1answer
129 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 ...
1
vote
2answers
416 views

Sitecore Content Search Exception: Entry point was not found

I'm having an issue taking an older version of our site running under Sitecore 7.2 (with some older dll's such as glass mapper) and switching over from Lucene to Solr (6.6.2). I've followed the steps ...
1
vote
2answers
863 views

Sitecore Search and Standard Values

Let's say you have an item with a checkbox field "DisplayOnPage", and the standard values for the Items template has "DisplayOnPage" set to be checked by default (thus the standard value for this ...
1
vote
1answer
48 views

Facet query returning 100 items max

Using Sitecore 9.2 with Solr on SearchStax. We have the Query.MaxItems value patched to 0, so finding a limit returned of 100 items is unexpected. We're setting up a number of dropdowns, using this ...
1
vote
1answer
36 views

Use site specific search indexes configured on SXA site item in Content Search API

When making Content Search API calls, Sitecore resolves the index based on certain logic which is very well explained here. In SXA, we do have an option to configure the indexes on the site item, ...
1
vote
1answer
158 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 ...
1
vote
2answers
1k views

Sitecore upgrade to 9.1 not indexing solr fields

I have upgraded my Sitecore instance from Sitecore.NET 8.2 (rev. 161221) to Sitecore 9.1 update-1. while running migration I ran into the issue where I had <indexAllFields> in the following ...
1
vote
1answer
186 views

Error message: Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-1111-1111-111111111111}' will be used instead

I'm seeing this error repeatedly in the logs in our CM instance of Sitecore 8.1 update-3. Where does it come from? ERROR Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-...
1
vote
2answers
813 views

Search for Items Content under the Data Folder

Is there a way to include the content in the Data folder in the search results? when I search for an item using the search box it doesn't show up and I get 0 results but when the search box query is ...
1
vote
1answer
611 views

How to enable full-text searches within the Content Editor?

Our client would like to do full-text searches within all of their Content (e.g. the values of the Rich Text Fields). Is it possible to enable this within the standard Content Editor search function? ...
1
vote
1answer
937 views

Why does my Solr index only contain English language versions? Sitecore 8u4

Any idea why my master and web index only have the "en" language versions of items in my 4 language site? Where are languages for the crawler configured?
1
vote
1answer
56 views

SOLR Spell checker not working well with multiple words

I'm using Solr 7.2.1, I'm trying to implement the 'Did you mean' feature, I've configured the spell check handler and it's working well, the issue is when trying with multiple words, if only one word ...
1
vote
1answer
47 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 ...
1
vote
1answer
83 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
1answer
166 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
2answers
94 views

OrderBy not being respected for item field when using content search

Using Lucene, and content search I cannot sort items by their name nor custom title field. The items are imported from a read-only data provider and are successfully indexed (I've inspected it ...
1
vote
3answers
270 views

Techniques and Rules to Eliminating Template fields from Indexing

I am investigating my site's indexing and looking at working around the Azure Search index 1000 field limit (see here Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation ...
1
vote
1answer
61 views

Can I use Content Search with Glass to query children of a specific template?

My Sitecore Item has children of different Templates. To query them, I use the following field declaration: [SitecoreQuery("*[@@templateid = '{ID of my Template}']", InferType = true, IsRelative = ...
1
vote
1answer
104 views

Do indexes with computed fields with storageType=“no” need to be rebuilt?

If a computed field is computed at run-time when storageType is set to no, does does the index need to be rebuilt at all as it's all done in memory?
1
vote
1answer
79 views

Is there a way to append an indexed field to a glass mapper object?

I'm generating a custom sitewide search by indexing the rendered HTML of the pages on my site. Some pages will have a title and description field defined to display in the results, however, some ...
1
vote
1answer
40 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 ...
1
vote
1answer
505 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 ...
1
vote
2answers
929 views

Failed to execute datasource query System.NullReferenceException while setting Datasource on Rendering

Has anyone seen this error before or know how to solve it? 996 16:35:46 WARN Failed to execute datasource query System.NullReferenceException: Object reference not set to an instance of an ...
1
vote
2answers
269 views

Lucene for multiple server scenario

I have been told that when there are load balancers and multiple servers, lucene will not work. Is there an alternative that we can still use Lucene as the search engine.
1
vote
1answer
362 views

Add facet to Content editor search - field name with two words not working

I am trying to add a new facet to the content editor, everything is working fine with single word fields (Ex: Authors, Subjects, locations, etc), but same is not working with two word fields (EX: ...
1
vote
1answer
42 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 ...
1
vote
1answer
69 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) ...
1
vote
1answer
112 views

Azure search random behavior running for Sitecore 9.0.2

I am having issue with the Azure Search where I am not getting results from the search index (it is random issue). I’ve verified the configurations of Azure search and computed index fields. Below is ...
1
vote
1answer
949 views

Sitecore 9.1 upgrade Error loading hook

We're upgrading from Sitecore 8.1 Update 3 to Sitecore 9.1. We use Solr for xConnect search, Lucene for web site search The CM is working, but the CD is not. Got the following error message: Server ...
1
vote
1answer
144 views

_content field not populating correctly

We're on Sitecore 8.1 update 2 and I'm having issues with the content search API. Its my understanding the _content field in the index should contain an amalgamation of all the fields in the template. ...
1
vote
1answer
190 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
161 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:./...
1
vote
1answer
132 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
1answer
119 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
1answer
280 views

How can I modify SXA search component to search also in the Accordions content?

I'm trying to modify Sitecore default behaviour to search also in accordions content. I have checked Is Displayed in Search Results at /sitecore/templates/Feature/Experience Accelerator/Composites/...
1
vote
1answer
165 views

SXA Search Results Grouping

I am using Sitecore 9.0 with SXA 1.6 and Solr search provider. Is there a way to display results grouped in SXA Search results components?
1
vote
1answer
448 views

Error when adding computed index field: InvalidOperationException contextDatabase

I add a custom computed field to the fieldmap node in the Lucene Search config like so: <fieldNames hint="raw:AddFieldByFieldName"> <field fieldName="my_field" indexType="UNTOKENIZED" ...

1
3 4
5
6 7
9