Skip to content

Bug Fix: binary OR with negation

Compare
Choose a tag to compare
@chriseldredge chriseldredge released this 05 Jan 17:58
· 17 commits to master since this release

Release Notes

Fixes #77 (incorrect query generated for expressions like d.Name != "x" || d.Year == 2010.

This query will now be generated as (*:* -Name:x) Year:2010 effectively allowing either clause to match. Previously this was generated as -Name:x Year:2010 effectively ANDing the clauses.

Binaries

NuGet package at https://www.nuget.org/packages/Lucene.Net.Linq/3.5.2

PM> Install-Package Lucene.Net.Linq -Version 3.5.2