Skip to content

Commit

Permalink
readme & code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendy committed Apr 5, 2019
1 parent 6a8ee19 commit 4b0fcc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public static class LookConfiguration
// if not set, then all will be used by default
public static string[] ExamineIndexers { get; set; }

// first function called before any indexers - can update indexingContext/cancel
public static Func<IndexingContext> BeforeIndexing { set; }
// first method called before any indexers - can update cancel
public static Action<IndexingContext> BeforeIndexing { set; }

// creates case sensitive and case insensitive fields (not analyzed) - for use with NameQuery
// if not set, then will use the IPublishedContent.Name
Expand Down
12 changes: 1 addition & 11 deletions src/Our.Umbraco.Look/LookConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,7 @@ public static class LookConfiguration
/// Get or set the index names of all the Exmaine indexes to hook into.
/// supplying a null or empty array means no examine indexers will be hooked into (by default if this isn't set, then all examine indexers will be hooked into)
/// </summary>
public static string[] ExamineIndexers
{
get
{
return LookService.GetExamineIndexers();
}
set
{
LookService.SetExamineIndexers(value);
}
}
public static string[] ExamineIndexers { get { return LookService.GetExamineIndexers(); } set { LookService.SetExamineIndexers(value); } }

/// <summary>
/// Set a function that will be executed as the first indexing step to determine if the item should be indexed at all.
Expand Down

0 comments on commit 4b0fcc0

Please sign in to comment.