Questions tagged [indexing]

Questions about indexes in Sitecore (standard or custom) in general. For questions that apply to Lucene or Solr, use the appropriate tags.

Filter by
Sorted by
Tagged with
2
votes
0answers
26 views

Safe to delete Sitecore master/web old index after rebuild/swap?

We're using the Swap and Rebuild feature of Sitecore 9.1 when we need to rebuild our indexes for Azure Search. Occasionally, after the rebuild and swap is complete; Sitecore won't delete the old ...
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
0answers
27 views

Index values loss after smart publish, returns after an Index Rebuild or Republish

In the image below you can see how the search index for a sitecore item looks like before and after a Smart Publish. On the left is what I get when I recently did a Rebuild or a Republish and on the ...
2
votes
0answers
51 views

Sitecore indexing a SXA Multisite configuration for more than 500 sites

I am stuck with issue for indexing a SXA Multisite configuration for 600 sites. The case study is as below. Issue: Indexing get failed at certain point of time from CM itself for Solr Master(after 2 ...
0
votes
1answer
28 views

Coveo Config based on Environment [closed]

I am new to coveo and our dev environment is not working as expected, I am trying to duplicate the QA Environment and set up dev environment When i do this what are all the changes i should keep in ...
0
votes
1answer
46 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
51 views

Could not create instance of type: Sitecore.ContentSearch.Azure.CloudSearchProviderIndex. No matching constructor was found

Currently in progress of upgrading from Sitecore 8.1 to 8.2 update 7. So I'm currently converting existing indexes from luecene to Azure search, I have done all the basic steps like, disabling all the ...
2
votes
1answer
43 views

Some contacts are missing in Experience Profile (IndexWorker error)

We have Sitecore 9.1 with Solr-7.2.1 environment. Some contacts in our solution are missing in Experience Profile. All of these contacts are known and have a lot of webvisits. And everything is OK ...
1
vote
1answer
35 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 ...
0
votes
0answers
50 views

Unable to populate boolean field from index value

My Lucene web Index is correctly populated with the field parsed_is_line_manager. In the BasePerson class, I thus added this field: [SitecoreIgnore] [IndexField("parsed_is_line_manager")] public ...
1
vote
1answer
48 views

Suggestions on Improving Solr Indexing Speed

Please let me know if you need any more information from my side. I am new to Solr and Solr Indexing. I have 2 Million Records to be indexed and adding more soon, it is taking 16 hours to complete ...
1
vote
1answer
44 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");...
0
votes
1answer
106 views

Large folder with images created on reindex: \App_Data\mediaIndexing

When reindexing on Sitecore 9.1, a folder with all the images is created ..\App_Data\mediaIndexing. My problem is that it gets very big in size, > 55GB of images in my case. Has anyone encountered ...
2
votes
2answers
123 views

What is the fix for solr error 'undefined field _indexname' after building custom index in sitecore (v9.1.0)?

I created a new custom index named CUSTOM_SERVICES_INDEX using this command: C:\solr\solr-7.2.1\bin>solr.cmd create -c [custom index name] (cmd as administrator) then I created the config file ...
1
vote
0answers
26 views

Sitecore 9.2 JSS with Solr 7.5 , JSS route items and its subitems are not indexing

Currently we are developing Sitecore JSS app with React frontend. in this we are using Headless SSR mode to create the content in sitecore and rendering. our application is working fine with React, ...
1
vote
1answer
118 views

How can I rebuild the Solr indexes via Powershell?

I'm attempting to streamline the development environment setup process for a large development team. A lot of the setup process is already automated, e.g. we automatically create a Solr Docker ...
1
vote
1answer
47 views

Sitecore content field that queries an index

In our Sitecore 9.2.0 solution, I want to present data from a microservice to the editors. The editors should be able to browse and select one or more items from the microservice. My initial idea was ...
0
votes
1answer
83 views

Azure search not adding documents from custom index unless renamed

I am having some odd issues with Azure Search in Sitecore 9.2.0, not indexing any documents from my custom index. Locally, when indexing to SOLR there are no problems at all. Background: We use ...
0
votes
2answers
49 views

Rebuilding sitecore_master_index: The property 'property_id_s_t_de' does not exist on type 'search.documentFields'

When we rebuild our sitecore_master_index index, we usually get an error during the rebuild process and the logs show several instances of the below stack trace:  692 12:50:11 ERROR [Index=...
5
votes
3answers
208 views

Boost Solr query and prioritize exact match

I have few records in Solr index. Bachelor of Nursing Bachelor of Nursing (Honours) My requirement is that when I want to search Bachelor of Nursing then Bachelor of Nursing should display first and ...
0
votes
1answer
23 views

Warning message: 'GUID' field of 'GUID' item is skipped: field name is missed

In all of our environments, any time there is an index update to our Azure Search indexes, we see the following WARN message logged repeatedly (many thousands of times): 06:11:06 WARN [Index=...
0
votes
0answers
93 views

ERROR Year, Month, and Day parameters describe an un-representable DateTime

We are receiving below errors during Indexing. We are on Sitecore 9 update-2, SXA 1.7.1 and using Azure search. The errors below seems related to SXA fields. Has anyone come across this issue? 10752 ...
0
votes
1answer
71 views

Unable to AddFieldByFieldName elements for custom index

Using Sitecore 9.1 I'm trying to add some custom index fields and my config patch is throwing the below error when I add AddFieldByField name elements: [ConfigurationException: Unable to process '...
1
vote
0answers
40 views

Error opening new searcher. Solr Core init failures [duplicate]

Our Solr for Sitecore is a master slave setup. Sitecore Solr slave has issues with the Sitecore analytics index and the error message is : Error opening New Searcher. Core is missing. We tried to ...
0
votes
1answer
45 views

Saving a string in an integer field type in sitecore breaks the lucene index with “Input string was not in a correct format.” [closed]

If I save a string value "7ab" in an Integer field in sitecore the ContentSearch breaks with "Input string was not in a correct format." when it tries to map back to the object. I have tried ...
0
votes
1answer
55 views

What are scenarios to use Sitecore.Web.Index? [closed]

Sitecore.Master.Index is use for various search functionalities in CM environment. Sitecore.Web.Index is use in CD environment. Except search what are scenarios to use this index?
-1
votes
1answer
30 views

How to give few rendering's data in custom API response

Hi please see the picture below, so that I can tell you the requirement. Now, I have a requirement as, if I see page-1 there is content on this page which is coming from following renderings: Header, ...
2
votes
1answer
72 views

Excluding template fields from indexing - difference between documentOptions exclusion vs regular exclusion

I reducing the number of fields which get indexed in my site. I looked at App_Config\Include\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and see the section <configuration <...
0
votes
0answers
207 views

Indexing in Sitecore 9.1 erroring out [duplicate]

We have upgraded our solution to Sitecore 9.1 and Solr is upgraded to 7.2.1. Now while running indexing from index manager I am getting below error for few items: Sitecore.ContentSearch....
0
votes
0answers
125 views

Duplicate item records in SOLR index (web)

We have a strange issue on our UAT environment where duplicate records are being returned for a single content item in a new web index we have created and both are marked with 'latestversion:true' (...
0
votes
0answers
55 views

Sitecore index update strategy manual

In an experiment, I want to build the site specific index in the CD environment manually right after publish event. I created a processor which is hooked in the publish end event for rebuilding the ...
0
votes
1answer
102 views

PDF items are not getting indexed and not listed in multilist with search [closed]

I have upgraded Sitecore 8.1 to 9.1 and now in 9.1 PDF items are not getting indexed and also they are not getting listed in a multilist with search field.
2
votes
1answer
47 views

Which indexes are used on CD?

Please can somebody tell me that what all indexes are being used from the content delivery server in Sitecore? In Sitecore 9.1 below are the index available: sitecore_core_index ...
0
votes
1answer
84 views

Index stops updating after a search query

I'm using Sitecore 9.0.2 with Azure Search and Solr. I have the weirdest search issue I've seen in a while. Take the following steps: Restart the application (iisreset or similar) Rebuild the search ...
2
votes
1answer
114 views

Azure Search Indexes are not being added/populated

I am trying to configure azure search in Sitecore. I followed this article to configure it. But when I try to rebuild the indexes, the number of units processed is empty and the indexes are not ...
1
vote
0answers
79 views

Security Error Rebuilding Indexes

Sitecore 8.1 rev. 160302. Looking into my logfiles, there are lots of errors such as: Job Started: Index_Update_IndexName=RSearch ... Exception: System.NullReferenceException Message: Object ...
3
votes
1answer
53 views

Can I have different index's crawlers with the same root item and database?

In a theoretical scenario on which I have two different indexes (different types and behaviors) which will be crawling the same root /Sitecore/Content, can this cause weird behaviors or some kind of ...
0
votes
1answer
211 views

Instance name in multi-CD setup

Sitecore 8.1 rev 160302. I've inherited a website that I'm having issues with the indexes. There is 1xCM server and 3xCD servers. We're using Lucene so have separate versions of the indexes on all 3 ...
3
votes
1answer
802 views

Custom Solr Fields in Sitecore 9 and Solr 7.2.1

I am converting my custom index fields from Sitecore 8.1. Previously, I would declare them like this: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www....
0
votes
1answer
298 views

Getting a Sitecore Commerce Sellable Item List Price at Indexing Time

I am indexing Sitecore Commerce 9.0.2 sellable items through a regular SitecoreItemCrawler. The HabitatHome demo sellable items are in my content tree at /sitecore/content/Habitat Sites/Habitat Home/...
2
votes
1answer
91 views

How to know programmatically if an Index Rebuild/Refresh job is *Running* or *Queued*?

We have this feature which is responsible for starting Sitecore Index Refresh jobs programmatically using the static class Sitecore.Jobs.JobManager (for different crawler roots). Now I'd like to ...
2
votes
1answer
166 views

Index Update Strategy not Firing on Publish End with Custom Publishing Target and Custom Solr Index [duplicate]

We have a prod set up that has one CM and two CDs. The CD servers serve content from a second web database that we call "live". This database is a clone of web. We use web as a staging environment on ...
0
votes
0answers
59 views

Sitecore Azure index is not getting created [duplicate]

We are using sitecore 8.2 update 4 and Azure search service for indexing. We have a custom index and when we rebuild this index, we notice that the items are getting processed and then we get a ...
2
votes
1answer
109 views

Rebuild lucene index after publishing issue

I have an issue related to the lucene index. The index is not being built when I do smart publish even if there is onPublishEndAsync added, but it does when I do republish. <strategy ref="...
1
vote
1answer
57 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?
0
votes
1answer
43 views

Sitecore 8.2 Lucene index portability between delivery servers

PROBLEM We are preparing to deploy considerable changes to an existing Sitecore site with reasonably high traffic; new renderings, new page templates, new content etc. During the deployment process ...
0
votes
1answer
197 views

Lucene indexes not updating on CD

We have an issue in our UAT environment where the sitecore_web_index Lucene index is not getting updated on a content delivery server when content is published. I found this solution on Stack ...
0
votes
0answers
89 views

Solr query works in the web UI, not when invoked though code

I'm on Solr 4.10.4, Sitecore 8.1 160519. I have a query used internally by my application that returns 0 records. In the Search.log I can see that same query; if I copy the querystring value to the ...
0
votes
1answer
35 views

Datetime fields appear garbled in Solr [duplicate]

I'm on Solr 4.10.4, Sitecore 8.1 160519. I have a custom index defined the following way: <field fieldName="date_of_birth" returnType="datetime" type="MyProject.Search.ComputedFields....
2
votes
2answers
385 views

Solr and Tokenizers: how to tokenize specific indexes using Solr 4.10.4

I'm on Solr 4.10.4, Sitecore 8.1 160519. I finally managed to convert my Lucene custom index configuration to Solr, but some indexes are not tokenized. The custom index "parsed_answers" on Lucene is ...