public class SearchDocumentFilter extends Object
Learn more
| Constructor and Description |
|---|
SearchDocumentFilter() |
| Modifier and Type | Method and Description |
|---|---|
static ISearchDocumentFilter |
createAnd(ISearchDocumentFilter... filters)
Creates a logical conjunction of the specified filters.
|
static ISearchDocumentFilter |
createAttribute(String... attributes)
Creates a filter for skipping documents that do not have any value from the specified list of allowable attributes.
|
static ISearchDocumentFilter |
createFileExtension(String... extensions)
Creates a filter for skipping documents that are not in the specified list of possible extensions.
|
static ISearchDocumentFilter |
createFilePathRegularExpression(String pattern)
Creates a filter for skipping documents that are not match a regular expression.
|
static ISearchDocumentFilter |
createFilePathRegularExpression(String pattern,
int options)
Creates a filter for skipping documents that are not match a regular expression.
|
static ISearchDocumentFilter |
createNot(ISearchDocumentFilter innerFilter)
Creates a filter that has inverse logic in relation to the specified inner filter.
|
static ISearchDocumentFilter |
createOr(ISearchDocumentFilter... filters)
Creates a logical disjunction of the specified filters.
|
public static ISearchDocumentFilter createAnd(ISearchDocumentFilter... filters)
filters - The search document filters.public static ISearchDocumentFilter createAttribute(String... attributes)
attributes - The list of allowable attributes.public static ISearchDocumentFilter createFileExtension(String... extensions)
extensions - The list of possible extensions.public static ISearchDocumentFilter createFilePathRegularExpression(String pattern)
pattern - The regular expression pattern.public static ISearchDocumentFilter createFilePathRegularExpression(String pattern, int options)
pattern - The regular expression pattern.options - The regular expression options.public static ISearchDocumentFilter createNot(ISearchDocumentFilter innerFilter)
innerFilter - The inner search document filter.public static ISearchDocumentFilter createOr(ISearchDocumentFilter... filters)
filters - The search document filters.Copyright © 2026. All rights reserved.