Comments (6)
Yes, I was aware of this when I implemented it, but figured I'd come back to optimize it, and hadn't actually attempted to determine if there was a penalty in the first place.
Thanks for the report. I'm not working a whole lot on this project at the moment, so can't say when I'd have a fix ready by.
from lucene.net.linq.
See f2c6b71. It should capture the basic case.
The optimization will only work currently if both bounds of the range query appear as the left and right sides of a BinaryExpression.
Later I might try to improve this so more complex nesting of clauses are also optimized.
from lucene.net.linq.
This is awesome! Thanks!
from lucene.net.linq.
Can you make a release soon?
from lucene.net.linq.
Yes, working through one remaining issue and planning to release within the next 7 days.
from lucene.net.linq.
Released: https://nuget.org/packages/Lucene.Net.Linq/3.2.54
from lucene.net.linq.
Related Issues (20)
- Netstandard upgrade HOT 1
- Lucene.net for .Net Core, is lucene.net.linq still a good choice compared with lucene query HOT 1
- LuceneDataProvider meant for single instance? HOT 1
- Session.Add overload for new documents HOT 11
- Issue with Contains() HOT 2
- Surface merge policy and related settings HOT 3
- Automatic / Reflection mapping HOT 1
- Query with a not-equals clause converts OR statements to AND HOT 4
- LuceneDataProvider keeps a lock on FSDirectory when not disposed HOT 6
- Unable to search within IEnumerable<int> field HOT 8
- Errors when searching DateTime fields HOT 6
- Unable to search within a nullable int field HOT 3
- Wildcard, Prefix and Fuzzy queries return no results HOT 3
- Dependancy update to Remotion.Linq HOT 4
- Lucene search;find only recently added data HOT 1
- common.logging upgrade HOT 1
- Search Generated Query HOT 1
- IEnumerable<string> and StartsWith
- QueryModelTranslator and QueryModelTransformer
- Unable to search NumericField
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucene.net.linq.