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.
293
questions
2
votes
0
answers
78
views
Rebuild Sitecore Analytics Index without affecting the Sitecore Experience Platform
I am using Sitecore 8.2 with MongoDb as a Sitecore xDB.
In our application, Sitecore Custom Contact Facets being used and data for these custom facets already present in MongoDB. Now I wanted to ...
0
votes
0
answers
71
views
Adding _semantics field into Solr
I am implementing _Semantics field in the Solr index
<fieldNames hint="raw:AddFieldByFieldName">
<field fieldName="customtags" returnType="text" />
</...
0
votes
0
answers
82
views
Unable to save the data in Solr custom indexes
Working on Solr 8.1.1 with Sitecore 9.3, And created the custom indexes but unable to save the data in those indexes.
Please find the below configuration for custom indexes made:
<contentSearch>&...
0
votes
1
answer
415
views
Computed field is getting updated in solr index only when we do full rebuild of reindex
I have a Sitecore instance running on Sitecore v9 update 2 using
SOLR. So I have created 3 new computed fields, these fields are
working properly when I rebuild index or re-index tree (both master
and ...
0
votes
3
answers
413
views
Error in configuring Solr 8.1.1 with Sitecore 9.3
I am currently configuring Solr 8.1.1 in Sitecore 9.3, But I'm unable to view the Indexing Manager under CMS->Control panel, instead we are getting the below error:
[InvalidOperationException: ...
2
votes
1
answer
151
views
Sitecore SOLR core pointing to different core directory
I have setup the SOLR with switch on rebuild configuration. But after setting it up I am facing a weird issue like my SOLR web index core is pointing to different SOLR index directory.
Let me explain,
...
2
votes
0
answers
512
views
Sort By Grouping NumFound Field
Hello Sitecore Stack Exchange,
Environments: Sitecore 9.2, Solr 7.5.0|SolrCloud 7.5.0, Custom search index.
In the Search logic I have the next requirement:
I should group search response and sort ...
1
vote
0
answers
199
views
Solr index rebuild on CD servers
I am working on a client applciation on sitecore 8.1
we have one CM and multiple CD server , The CM solr instance and CD solr instance are pointing to 2 seperate instances , configured as master and ...
0
votes
0
answers
164
views
Solr indexing wrong language version
This is my Query:
?q=((_keypath_t_pt:("/sitecore/content/Country/Home Page/COMPANY Magazines") AND _language:(pt-BR)) AND _latestversion:(True))&start=0&rows=1000000&fl=,score&...
1
vote
1
answer
170
views
Rebuild the xDB index in Solr - error mongo
I have problem with rebuilding xDB index in solr.
I changed IndexPIISensitiveData to true in job SerachIndexer and
after executing the command \XConnectSearchIndexer.exe -rr there is no sensitive data ...
2
votes
1
answer
48
views
Control the order of indexes during rebuild
I have the following scenario implemented in sitecore 9.2 and which uses azure search:
index1 is configured to index around 100k items under /sitecore/content/shared/data
index2 is indexing around ...
0
votes
0
answers
902
views
copyField dest :'description_t_ta_str' is not an explicit field and doesn't match a dynamicField
I have added Bengali & Tamil in Sitecore 9.2. In publishing the data I am not getting any issue. But while running the indexing, getting the below error for the fields of the item.
copyField dest :...
1
vote
3
answers
231
views
sitecore_master_index is huge SC 9.1.1
In Sitecore 9.1.1
The Sitecore_master_index is huge on CM server. It goes up to like 450-500k documents than IIS resets. (think this is because memory dump?)
On Test-environment, which has similar ...
2
votes
1
answer
135
views
How to make a cache exist for the duration of an indexing operation
Is there a way to create a Sitecore custom cache which exists for the duration of an indexing operation.
I would like to store frequently looked up relationships which can be re-used by different ...
0
votes
0
answers
350
views
Newly added field to index not working
I am adding a field to an index. I want to add No Bathrooms field.
This is my Business tool
This is the template
I have added the field in sitecore_web_index and sitecore_master_index inside PlugIn....
0
votes
1
answer
398
views
Could not map index document field to property "Paths" on type Sitecore.ContentSearch.SearchTypes.SearchResultItem
Has anyone seen this error in the logs
Could not map index document field to property "Paths" on type Sitecore.ContentSearch.SearchTypes.SearchResultItem. Guid should contain 32 digits with ...
0
votes
1
answer
97
views
Why have commerce items been indexed in my sitecore_master_index
I was running a query against my Solr index (sitecore_master_index) and see that some commerce items have made it into the index. This is odd because I thought the commerce_master and commerce_web ...
2
votes
1
answer
188
views
SOLR Index not being updated until IIS Restart in 9.3
This seems to be a SOLR caching issue. In the code below after doing a publish the index is supposed to be updated. Updating the same item through content editor, it has the same issue. It does not ...
2
votes
1
answer
512
views
SOLR Spellcheck relevant collations
I'm using Solr 7.2.1, I'm implementing did you mean functionality using Solr spellchecker, I want the collation results to be relevant to a field, for example if I search with 'drive cay', the result ...
1
vote
1
answer
157
views
Sitecore Indexing GetLocalDatasourceDependencies
Sitecore 8.2 update 5 on Azure App Services. Anyone knows what could be the reason
<pipelines>
<indexing.getDependencies>
<processor type="Custom....
1
vote
1
answer
478
views
Solr spellchecker inconsistent behavior when first character is misspelled
I'm using Solr 7.2.1, I'm implementing did you mean functionality using Solr spellchecker, It's working fine except for some cases that I don't understand its behavior, like in my dictionary I have a ...
0
votes
1
answer
133
views
Sitecore doesn't add the indexed field with Traditional Chinese & Simplified Chinese postfix on the Azure custom index
I am doing a POC in Sitecore.Net 9.2 vanilla setup for enabling the Traditional Chinese and Simplified Chinese in the CMS and looking for how can I perform the Azure search for the content in zh-HK ...
0
votes
0
answers
384
views
LowerCaseKeywordAnalyzer does not work
We have overriden the default mapping by adding:
<indexConfigurations>
<defaultSolrIndexConfiguration type="Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore....
3
votes
0
answers
216
views
Not able to fetch search result in Content search API with Solr and Azure
I am using content search API in Sitecore 9.1.1. However, it is not fetching result if i am using search with any of the template field. The below code fetching result based on template id but when we ...
2
votes
1
answer
361
views
Sitecore 8.1 crashes during Lucene indexing
I am getting errors frequently with the below errors after adding user in prod environment and then Sitecore crashes. Checked lucene index exception occurs.
Error Details:
ERROR Unhandled exception ...
0
votes
1
answer
102
views
How to enable Synchronizing the Index in if(EventDisabler())?
I am adding data in event item:versionAdded and when adding new version then it is calling item:versionAdded event again. For solving this issue I am adding data under:
using (new EventDisabler())
{
--...
1
vote
0
answers
256
views
Any insight on how to fix "XConnect Exception Filter OnException" errors?
Our instance has been pretty stable until recently we started receiving the following errors in XConnect.
Main log
[Error] XConnect Exception Filter OnException(), url - "https://site.com/odata/...
1
vote
1
answer
74
views
How to index Catalog Generated Template Field's in Azure search
In Azure Search Index configuration, there is an option to include Fields that need to be indexed. But the catalog generated Templates Field may be having different id's in different environments (Dev,...
1
vote
2
answers
189
views
Unwanted Type string appended in Computed Index field
I am creating computed index field for a Multilist field and want to return the items as String in a comma separated list.
However after indexing the Solr, an type text is getting appended to the ...
2
votes
1
answer
428
views
WARN Item with ID={97ADE186-643D-46A9-BAC5-C88077260694} cannot be deleted because it is not found
On our CD server i'm seeing a lot of warnings (see below), not quite sure where this is getting invoked from or whats triggering this even though the analytics and tracking is disabled.
Noticed ...
2
votes
1
answer
88
views
Automated index document merge complains about invalid index name but index names are valid
I get thousands of the following error in the minions log:
00007 09:21:07 ERROR AzureContextCommand.MergeOrUploadDocuments.Error: Message=Index name must only contain lowercase letters, digits or ...
1
vote
0
answers
124
views
Switch on rebuild for Commerce Cores
I am using two Solr Cloud Instance with two Zookeeper and indexed Commerce Indexes (CustomersScope, OrdersScope, CatalogItemsScope) in it. And now I want to apply Switch On Rebuild for that ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
737
views
How do you properly query xdb for a contact by email?
I am trying to search an email in Sitecore Xdb using the code :
var queryable = client.Contacts
.Where(c => c.GetFacet<EmailAddressList>(EmailAddressList....
2
votes
1
answer
668
views
XConnect: An error occured during resuming a previous index rebuild process
Does anyone have an idea about what could be causing this error? It happens after doing a re-build of the XConnect index. This is in Sitecore 9.3
2020-03-30 20:11:02.896 -05:00 [Error] An error ...
2
votes
0
answers
203
views
Sitecore Solr search indexing getting stopped
We are seeing Solr master and web index updates are getting stopped randomly in mid of the day. I tried one approach that is mentioned in this answer.
Updated the master index strategy to use ...
0
votes
1
answer
271
views
Could not find add method: AddFieldReaderByFieldName while indexing by field name
Sitecore : 9.1
What I am doing: I am trying to index few Rich text fields with HTML tags.
So, we went for, as mentioned by https://learnsitecorebasics.wordpress.com/2016/05/30/sitecore-include-html-...
0
votes
1
answer
206
views
Indexing Boost value, Boosting rules, and Facets
I'm using Sitecore 9.0 (Solr 6.6.2) and am confused by the "Indexing" section found on items.
Through experimentation I've found that entering a number may or may not actually change the search ...
4
votes
3
answers
528
views
How to rename Azure Search index
I tried to index master, web indexes using the Azure Search service. Indexing works fine, but we have a requirement to have the index names unique in Azure as we are using single search services for ...
2
votes
1
answer
296
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
1
answer
84
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
1
answer
50
views
How to apply filter while indexing Sitecore contacts
We would like to apply custom filters while indexing Contacts in Sitecore. How can we apply filters on Mongo Data so that only specific contacts will get indexed
0
votes
0
answers
22
views
Number of contacts in segmentation list is not matching with XDB
We have migrated new contacts from external system to Mongo DB. We have ran the Sitecore Analytics Indexing using Helpfulcore.AnalyticsIndexBuilder. We have created segmentation list on EXM but data ...
1
vote
1
answer
564
views
Sitecore computed index issue, only index english item value
Problem statement
1) I have a template "Article" with 3 fields
"Title" - Single line text
"Description" - rich-text
"Category" - drop-link
2) I created a computed field for "category" to get the "...
1
vote
1
answer
960
views
Sitecore reindex AlreadyClosedException: this IndexWriter is closed
Reindexing locally works fine, but when I reindex upstream I get this error:
org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
How can I fix this error?
1
vote
1
answer
517
views
How to delete all indexed documents in an index core in Solr after schema change
I created and populated a new custom index. Since then I have changed my schema, but repopulating the schema and reindexing doesn't seem to actually update the number of documents or the indexed ...
0
votes
0
answers
305
views
Sitecore XConnect, Index Worker, XdbSearchUnavailableException
I am trying to search Xdb contacts on the basis of email id.
using this code :
var queryable = client.Contacts.Where(c => c.GetFacet<EmailAddressList>(EmailAddressList.DefaultFacetKey)....
3
votes
1
answer
428
views
What's wrong with this SwitchOnRebuildSolrCloudSearchIndex index definition?
I'm trying to get a custom index to work on Solr cloud (searchstax) as described by the "Switch SolrCloud indexes section of this page) on and I'm getting the error
"Could not create instance of ...
1
vote
1
answer
48
views
Custom segmentation based on custom user fields
I am running Sitecore 8.1 rev 3.
I have indexed the values I want to segment against in an index, but those are associated to each user profile - not against a Contact. I can, however, easily ...
2
votes
1
answer
453
views
Solr indexed date field is off by a day
I have a computed date field in Solr that for certain items is off by 1 day.
The code is really simple:
public class SearchDateField : BaseContentComputedField
{
public override object ...