Parse queries without LINQ
Release Notes
This version provides two new methods on LuceneDataProvider
:
CreateQueryParser<T>()
creates a LuceneQueryParser
that knows how to create boolean queries with correct conversion and encoding of query valuesLuceneVersion
andGetIndexedPropertyNames<T>()
provide additional metadata about the binary format version of the index and which fields are indexed for a given document.
These new capabilities make it easier for your application to accept advanced queries as expressed as simple strings so queries can come from users or other code that isn't using LINQ to build them.
This version also fixes a bug when sorting results by a UnaryExpression
as in the case of a property backed by a nullable value type.
Binaries
NuGet package at https://www.nuget.org/packages/Lucene.Net.Linq/3.4.0
PM> Install-Package Lucene.Net.Linq -Version 3.4.0