Skip to content

Commit caf8f9e

Browse files
committed
updated readme
1 parent 90aa284 commit caf8f9e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,20 @@ To implement indexing behaviour, functions can be set via static methods on the
2727
```csharp
2828
public static class LookConfiguration
2929
{
30-
// specify which Examine indexers to hook into (if not set, then all will be used by default)
30+
// specify which Examine indexers to hook into
31+
// if not set, then all will be used by default
3132
public static string[] ExamineIndexers { get; set; }
3233

34+
// function to indicate whether indexing should take place
35+
// if not set, then will indexing will always occur
36+
public static Func<IndexingContext, bool> IndexIf { set; }
37+
3338
// creates case sensitive and case insensitive fields (not analyzed) - for use with NameQuery
39+
// if not set, then will use the IPublishedContent.Name
3440
public static Func<IndexingContext, string> NameIndexer { set; }
3541

3642
// creates a date & sorting fields - for use with DateQuery
43+
// if not set, then will use the IPublishedContent.UpdateDate
3744
public static Func<IndexingContext, DateTime?> DateIndexer { set; }
3845

3946
// creates a text field (analyzed) - for use with TextQuery

0 commit comments

Comments
 (0)