Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing Latest not working as intended #12691

Merged
merged 3 commits into from
Oct 25, 2022
Merged

Indexing Latest not working as intended #12691

merged 3 commits into from
Oct 25, 2022

Conversation

Skrypt
Copy link
Contributor

@Skrypt Skrypt commented Oct 23, 2022

Fixes #12690

This should do it. I thought a StoredField would be enough to find these documents in the indices but seems like it is not.
The other issue is that I refactored the LuceneIndexManager to make it a little faster and made a mistake on the value that should be stored in the dictionary to retrieve a Draft. Seems like we never really use the ContentItemVersionId when indexing. We just take the latest one or the published one and we prune any document indexed related to a ContentItemId before updating with new documents.

@Skrypt Skrypt marked this pull request as ready for review October 23, 2022 18:01
@Skrypt
Copy link
Contributor Author

Skrypt commented Oct 23, 2022

I won't be able to merge that one either. There is an issue with the licence/cla with every new PR.
@sebastienros @agriffard

@Skrypt Skrypt closed this Oct 23, 2022
@Skrypt Skrypt reopened this Oct 23, 2022
@Skrypt Skrypt added this to the 1.5 milestone Oct 23, 2022
@sebastienros sebastienros merged commit 6e3203e into main Oct 25, 2022
@sebastienros sebastienros deleted the skrypt/#12690 branch October 25, 2022 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indexing Latest not working as intended (breaking)
2 participants