All Questions
Tagged with dependency-injection content-search
3 questions
1
vote
2
answers
625
views
Sitecore Content Search Exception: Entry point was not found
I'm having an issue taking an older version of our site running under Sitecore 7.2 (with some older dll's such as glass mapper) and switching over from Lucene to Solr (6.6.2).
I've followed the steps ...
6
votes
1
answer
287
views
Singleton search context for search api
Typical usage of search api uses a using statement to dispose of the search context.
using (var context = ContentSearchManager.GetIndex(_indexName).CreateSearchContext())
{
var hits = context....
5
votes
1
answer
734
views
Can I use automatic dependency injection with computed search fields in Sitecore 8.1?
I am creating a custom computed content search field that has one dependency: ISearchSettings. I'd like it to be injected via constructor:
public class CustomField : AbstractComputedIndexField
{
...