Skip to content

How do I setup a Lunr search? #16

Answered by MarkZither
MarkZither asked this question in Q&A
Discussion options

You must be logged in to vote

Merry Christmas, a good time for me to look at some issues, so i came up with a pipeline that is working for me to get the same output as my wyam blog, still some config issues to tidy up, but it works.

public class SearchIndex : Pipeline
    {
        public SearchIndex()
        {
            Dependencies.AddRange(
                nameof(Inputs),
                nameof(Content),
                nameof(Archives),
                nameof(Data));

            var docs = new GetPipelineDocuments(ContentType.Content);

            ProcessModules = new ModuleList
            {
                //new ExecuteIf(Config.FromSetting(CustomKeys.GenerateSearchIndex, false))
                new ExecuteIf(

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daveaglick
Comment options

Answer selected by daveaglick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants