Class LuceneSearchExtensions
A set of helpers for working with Lucene.Net in Examine
public static class LuceneSearchExtensions
- Inheritance
-
LuceneSearchExtensions
- Inherited Members
Methods
ExecuteWithLucene(IQueryExecutor, QueryOptions?)
Executes the query
public static ILuceneSearchResults ExecuteWithLucene(this IQueryExecutor queryExecutor, QueryOptions? options = null)
Parameters
queryExecutor
IQueryExecutoroptions
QueryOptions
Returns
ToBooleanOperation(Occur)
Converts a Lucene boolean occurrence to an Examine representation
public static BooleanOperation ToBooleanOperation(this Occur o)
Parameters
o
OccurThe occurrence to translate.
Returns
- BooleanOperation
The translated boolean occurrence
ToLuceneOccurrence(BooleanOperation)
Converts an Examine boolean operation to a Lucene representation
public static Occur ToLuceneOccurrence(this BooleanOperation o)
Parameters
o
BooleanOperationThe operation.
Returns
- Occur
The translated Boolean operation