Comments (5)
Dejan Nenov (migrated from JIRA)
Added additional tests, using "null" as the lower term in the range query. The tests are commented to indicate how they should be modified to behave once this LUCENE-38 is fixed.
from lucene.
Mark Miller (@markrmiller) (migrated from JIRA)
Does this need to be 'fixed' ? RangeQuery now uses the semantics from ConstantScoreRangeQuery, which decided that open ended sides of a range must be inclusive (and are converted as such if not). Is that acceptable and we close this bug? Or jump a hoop or two for this rather niche case?
from lucene.
Otis Gospodnetic (@otisg) (migrated from JIRA)
This thing is 6+ years old and I don't recall this being mentioned on the list in the last half a decade. I'll leave you the Won't Fix pleasure, Mark.
from lucene.
Michael McCandless (@mikemccand) (migrated from JIRA)
Actually, this should have already worked, because RangeTermEnum forces includeLower to be true when lowerTermText is null.
But indeed the test still fails, so I dug into a bit and I think the test is faulty. The test expects the empty string doc ("") to be returned as a result, but the problem is the empty string doc when analyzed does not produce an empty string Token. So I modified the test (attached) to use an analyzer that emits empty string token, and then the test passes as expected.
I'll commit shortly.
from lucene.
Michael McCandless (@mikemccand) (migrated from JIRA)
Committed revision 713696.
from lucene.
Related Issues (20)
- Allow `int4` quantization for vectors that are encoded as `byte` already
- Significant drop in recall for 8 bit Scalar Quantizer HOT 47
- Question for PriorityQueue Reconstruction in SloppyPhraseMatcher's advanceRpts method.
- Query matching difference in Lucene 2 and Lucene 4.10.4 HOT 6
- test-framework JUnit 5 support HOT 1
- TestShapeDocValues.testLatLonPolygonBBox
- Merge on Commit: No merges if new data is flushed (but not committed) HOT 3
- Flaky Test in TestMergeSchedulerExternal#testSubclassConcurrentMergeScheduler
- Could Lucene's default Directory (`FSDirectory.open`) somehow preload `.vec` files? HOT 5
- Test TestIndexWriterWithThreads#testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce Failed
- Pruning of estimating the point value count since BooleanScorerSupplier HOT 2
- Add refinement of quantized vector scores with fp distance calculations HOT 4
- Try applying bipartite graph reordering to KNN graph node ids HOT 4
- "gradlew clean check" results in internal gradle error "Unable to make progress running work." HOT 1
- DocumentsWriterDeleteQueue.getNextSequenceNumber assertion failure seqNo=9 vs maxSeqNo=8 HOT 4
- Luke does not support `spanNear` queries
- Investigate possible perf regression with off-heap scoring on JDK 22 HOT 1
- Are we properly accounting for `NeighborArray.rwlock`? HOT 4
- Incomplete Javadoc for DirectoryReader#indexExists HOT 1
- Add support for reading/writing dense vectors to MemoryIndex
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.