possible error when ID is generated by search-index
See original GitHub issueUsing the web script.
When you add one and one doc, you get docs with keys like this:
DOC 0
DOC 2
DOC 3
DOC 4
DOC 5
DOC 1
is missing, and all word references points to 2 or higher, so you will never get Doc 0
as a result and get results (DOC 2
) for stuff only found in DOC 0
.
How to reproduce: take the web demo and remove the ID generation stuff.
Not a big problem. The workaround was to generate ID’s based on a hash of title string + body string.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Windows search index/catalog gets corrupted daily.
I keep getting these errors in event log: Event ID 7040. The search service has detected corrupted data files in the index {id=4810 ......
Read more >JCR troubleshooting topic: search index - IBM
This error has been fixed in 6.0. 1.1, but can occur if the search index has not been rebuilt since upgrading to 6.0....
Read more >"Failed to create search index" script error during reload
This article explains how to avoid the " Failed to create search index " script error during reload. A data load may fail...
Read more >Solr Error When Rebuild xDB Search Index
I'm working with Sitecore 9.0.2 and Solr 6.6.2. When i tried to rebuild xDB search index, i saw some error in log of...
Read more >- Sitecore 8.1 and Solr6.6.0 error while rebuilding the search ...
Hi guys, i'm facing with an error message while i'm trying to Rebuild search index. I'm using Sitecore8.1 and Solr 6.6.0,.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, just to tell you guys, I used uuidV4 for id generation and used _id for assignment in the search-index PUT method. All issues related to Id just disappeared and worked fine.
Great- thanks for the feedback @MpMeetPatel 👍🙂