-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Rename Examine based entity search service #15991
Rename Examine based entity search service #15991
Conversation
Naming wise IIndexedEntitySearchService conveys that there is a requirement/desire to use an indexing mechanism, but in the methods defined on the interface there is no such explicit requirement. For the name of the implementing service, i would argue it doesn't matter if you bleed technology and it makes a lot of sense to be specific so it is more apparent of how/what the service does. ExamineContentSearchService : IEntitySearchService |
…vice from the "regular" one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to some non obvious collisions, we will stick to the naming. The purpose of the similar interfaces have been clarified 🥳.
Everything seems to work as before 💪
I strongly disagree, storage implies persistence. Examine indexes do not persist entities they index them with possibly altered/partial data. |
@Migaroez storage != persistence storage :) but getting your point |
Prerequisites
Description
As correctly pointed out in this comment, the newly introduced
IExamineEntitySearchService
is counter productive towards the eventual goal of decoupling ourselves a little more from Examine.Furthermore, the naming in itself bleeds technology, which is clearly a mistake on yours truly when implementing the thing.
This PR renames it to
IIndexedEntitySearchService
instead. It was the best I could come up with 🙈Testing this PR
Everything should still work exactly as before. Steps from #15972 can be reused, but basically - if document items can be searched, all is good. Don't forget to rebuild the Examine indexes, though 👍