U4-6484 - Don't cast to specific Examine types - only interfaces like ISearcher/IIndexer

Created by Shannon Deminick 01 Apr 2015, 01:00:28 Updated by Shannon Deminick 15 Jun 2015, 09:53:22

Subtask of: U4-5830

Many places in the core currently need to cast to LuceneSearcher, or similar which prevents being able to abstract away the back office search. We need to ensure that Examine v2 has the correct interfaces so that there is no casting done in the core and then remove all casting in the core.


Shannon Deminick 06 May 2015, 03:27:36

This came about because of this: https://github.com/Shazwazza/Examine/issues/14

Which is something I've always thought someone would try but until now nobody has. Since Examine itself is abstract it should be possible to implement a custom search/index provider and plug it in to Umbraco as the defaults - so people could use elastic search, solr or something else by default.

Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.3.0


Story Points: