Trying to find documentation on how to query the content index programatically, without using query publisher.
I have a Articles.Index (Dynamicweb.Content.ContentFulltextIndexProvider) and a Articles.Query.
Next I want to make a query using my Articles.Query, and the question is how do i do that using DW8.
I tried this.
Dynamicweb.Searching.Queries.SearchQuery q = new Dynamicweb.Searching.Queries.SearchQuery(); q.Add(new Dynamicweb.Searching.Queries.Criterias.Criteria("Keywords", "keyword")); Dynamicweb.Searching.Queries.SearchResult<Dynamicweb.Searching.IndexEntry> res = Dynamicweb.Searching.IndexManager.Current.QueryIndex<Dynamicweb.Searching.IndexEntry>("Articles.index", q);
Without any luck...