Table of Contents

Class LuceneSearchExtensions

Namespace
Examine.Lucene.Search
Assembly
Examine.Lucene.dll

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 IQueryExecutor
options QueryOptions

Returns

ILuceneSearchResults

ToBooleanOperation(Occur)

Converts a Lucene boolean occurrence to an Examine representation

public static BooleanOperation ToBooleanOperation(this Occur o)

Parameters

o Occur

The 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 BooleanOperation

The operation.

Returns

Occur

The translated Boolean operation