Class QueryWrapperFilter
Constrains search results to only match those which also match a provided
query.
This could be used, for example, with a NumericRangeQuery on a suitably
formatted date field to implement date filtering. One could re-use a single
CachingWrapperFilter(QueryWrapperFilter)
that matches, e.g., only documents modified
within the last week. This would only need to be reconstructed once per day.
Inheritance
System.Object
QueryWrapperFilter
Assembly: Lucene.Net.dll
Syntax
public class QueryWrapperFilter : Filter
Constructors
|
Improve this Doc
View Source
QueryWrapperFilter(Query)
Constructs a filter which only matches documents matching
query
.
Declaration
public QueryWrapperFilter(Query query)
Parameters
Type |
Name |
Description |
Query |
query |
|
Properties
|
Improve this Doc
View Source
Query
Declaration
public Query Query { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|