Try our conversational search powered by Generative AI!

Breaking changes in 7.5?

Vote:
 

The documention says there are no breaking changes in the 7.5 Find release but when I upgrade I get a few errors.

I used to be able to do:

SearchClient.Instance.Conventions.UnifiedSearchRegistry.Add(typeof(UnifiedFile));
FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFilemanagerVPPIndexingConvention();
ContentIndexer.Instance.Conventions.EnablePageFilesIndexing();

But ShouldIndexVPPConvention, VisibleInFilemanagerVPPIndexingConvention and EnablePageFilesIndexing are all gone(?).

Are these renamed, moved or do I need to do some other type of refactoring? If so, how would I begin to implement the same behaviour?

#79104
Dec 09, 2013 16:49
Vote:
 

This is now part of the legacy EPiServer Find dll. You can download it here: http://world.episerver.com/Download/Items/EPiServer-Find/Download-EPiServer-75-Find/.

Frederik

#79108
Dec 09, 2013 17:31
Vote:
 

Thank you,
That solved the problem of ShouldIndexVPPConvention/VisibleInFilemanagerVPPIndexingConvention.
However I still can't seem to find EnablePageFilesIndexing.
Where can I find that?

#79112
Edited, Dec 09, 2013 17:33
Vote:
 

Mattias,

 

In 7.5 we do not have files as we did before instead we have Media as content. Which means that it is treated like all other content types and will be indexed without saying something extra that is why that is removed. 

#79166
Dec 10, 2013 14:47
Vote:
 

That makes sense.
Thank you both for a great explanation!
I ended up not using the legacy file at all, better stick with to the new ways of doing stuff. :)

#79307
Edited, Dec 12, 2013 21:25
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.