File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,31 @@ public interface ISearchFactory
37
37
/// <param name="entityType"></param>
38
38
void Optimize ( System . Type entityType ) ;
39
39
40
+ /// <summary>
41
+ /// Gets a FilterDef object by name from the ISearchFactory implementation.
42
+ /// A return value indicates if a matching FilterDef was found
43
+ /// </summary>
44
+ /// <param name="name"></param>
45
+ /// <param name="filter"></param>
46
+ /// <returns>True/false whether or not a FilterDef exists for the name.</returns>
40
47
bool TryGetFilterDefinition ( string name , out FilterDef filter ) ;
41
48
49
+ /// <summary>
50
+ /// Gets a FilterDef object by name from the ISearchFactory implementation.
51
+ /// Throws an exception if one does not exist.
52
+ /// </summary>
53
+ /// <param name="name"></param>
54
+ /// <returns>A FilterDef object associated with the included name parameter.</returns>
42
55
FilterDef GetFilterDefinition ( string name ) ;
43
56
57
+ /// <summary>
58
+ /// Adds a FilterDef object to the ISearchFactory implementation with the given name.
59
+ /// In most cases, FilterDefs should be added during mapping configuration in a
60
+ /// custom ISearchMapping implementation. This method enables FilterDefs to be added
61
+ /// after mapping at run-time anytime an IFullTextSession is available.
62
+ /// </summary>
63
+ /// <param name="name"></param>
64
+ /// <param name="filter"></param>
44
65
void AddFilterDefinition ( string name , FilterDef filter ) ;
45
66
}
46
67
}
You can’t perform that action at this time.
0 commit comments