Class FieldCacheRewriteMethod
Rewrites MultiTermQuerys into a filter, using the IFieldCache for term enumeration.
This can be used to perform these queries against an unindexed docvalues field.Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public sealed class FieldCacheRewriteMethod : MultiTermQuery.RewriteMethod
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
Rewrite(IndexReader, MultiTermQuery)
Rewrites MultiTermQuerys into a filter, using the IFieldCache for term enumeration.
This can be used to perform these queries against an unindexed docvalues field.Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override Query Rewrite(IndexReader reader, MultiTermQuery query)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | |
MultiTermQuery | query |
Returns
Type | Description |
---|---|
Query |