@@ -52,11 +52,11 @@ internal static void IndexThings(IEnumerable<Thing> things)
52
52
var locationStack = new Stack < Location > ( things . Select ( x => x . Location ) ) ;
53
53
54
54
// setup indexers
55
- LookService . SetNameIndexer ( x => nameStack . Pop ( ) ) ;
56
- LookService . SetDateIndexer ( x => dateStack . Pop ( ) ) ;
57
- LookService . SetTextIndexer ( x => textStack . Pop ( ) ) ;
58
- LookService . SetTagIndexer ( x => tagStack . Pop ( ) ) ;
59
- LookService . SetLocationIndexer ( x => locationStack . Pop ( ) ) ;
55
+ LookConfiguration . NameIndexer = x => nameStack . Pop ( ) ;
56
+ LookConfiguration . DateIndexer = x => dateStack . Pop ( ) ;
57
+ LookConfiguration . TextIndexer = x => textStack . Pop ( ) ;
58
+ LookConfiguration . TagIndexer = x => tagStack . Pop ( ) ;
59
+ LookConfiguration . LocationIndexer = x => locationStack . Pop ( ) ;
60
60
61
61
// null for IPublishedContent as not required
62
62
var indexingContext = new IndexingContext ( null , null ) ;
@@ -73,11 +73,11 @@ internal static void IndexThings(IEnumerable<Thing> things)
73
73
}
74
74
75
75
// reset indexers
76
- LookService . SetNameIndexer ( null ) ;
77
- LookService . SetDateIndexer ( null ) ;
78
- LookService . SetTextIndexer ( null ) ;
79
- LookService . SetTagIndexer ( null ) ;
80
- LookService . SetLocationIndexer ( null ) ;
76
+ LookConfiguration . NameIndexer = null ;
77
+ LookConfiguration . DateIndexer = null ;
78
+ LookConfiguration . TextIndexer = null ;
79
+ LookConfiguration . TagIndexer = null ;
80
+ LookConfiguration . LocationIndexer = null ;
81
81
82
82
TestHelper . IndexDocuments ( documents ) ;
83
83
}
0 commit comments