Commit Graph

1149 Commits

Author SHA1 Message Date
Doug Cutting fd147a146e Fix for bug 28285, from Paul Elschot.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150330 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:36:23 +00:00
Doug Cutting 2a2158c439 Renamed protected field back to its 1.3 name, for back-compatibility.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150329 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:28:51 +00:00
Doug Cutting 1ed81e4fdc Changed so that 'ant jar' works again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150328 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:28:37 +00:00
Doug Cutting 6809069823 Fix FilteredQuery to support rewritten queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150327 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:52:24 +00:00
Doug Cutting 9ed56d3d04 We can just use Lock.toString() to show lock file, no?
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150326 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:43:28 +00:00
Otis Gospodnetic 8c43a92da9 - Removed old Hashtable import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150325 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:24:45 +00:00
Otis Gospodnetic 440be55927 - Bug 28858 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28858
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150324 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:23:21 +00:00
Otis Gospodnetic c735ac4d00 - Bugzilla case 28856 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28856
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150323 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:18:04 +00:00
Otis Gospodnetic 30c553aedc - Took care of javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150322 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:12:29 +00:00
Erik Hatcher 7e5763e5ca switch Lock to use a String instead of File
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150321 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 23:46:56 +00:00
Erik Hatcher f5648fc28f make ctors public - this broke the sandbox DbLock code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150320 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 13:50:03 +00:00
Erik Hatcher 66601f515c note change to Lock error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150319 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 12:52:00 +00:00
Erik Hatcher 5bc6296927 #28855 - better lock obtain timed out error message (Daniel Naber)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150318 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 12:41:47 +00:00
Erik Hatcher f0017af921 enhance toString methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150317 13f79535-47bb-0310-9956-ffa450edef68
2004-05-08 19:54:12 +00:00
Erik Hatcher 8271ebd473 expected, then actual :) also, uncovered a bug in FilteredQuery, a rewrite is needed somewhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150316 13f79535-47bb-0310-9956-ffa450edef68
2004-05-08 15:06:19 +00:00
Erik Hatcher d9cd661cde IntelliJ flagged these two lines as being unreachable, and indeed they are
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150315 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 15:18:09 +00:00
Doug Cutting eccdbdae6d Updated for 1.4RC3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150314 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 22:04:50 +00:00
Tim Jones b908476de5 fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150313 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 14:46:34 +00:00
Tim Jones 56b37e03a5 add apache license
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150312 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 14:44:37 +00:00
Tim Jones c8f455b482 new SortField type for using a custom comparator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150311 13f79535-47bb-0310-9956-ffa450edef68
2004-04-22 22:23:15 +00:00
Christoph Goller 59e61bb910 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150310 13f79535-47bb-0310-9956-ffa450edef68
2004-04-22 08:30:44 +00:00
Tim Jones 1646bda9ef fix the toString(s) - thanks, Erik!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150309 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 20:15:55 +00:00
Tim Jones 30ef9989dc new Query which applies a Filter to another Query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150308 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 19:18:44 +00:00
Christoph Goller 96e1b41127 Making bahavior of close() more consistent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150307 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 17:26:28 +00:00
Christoph Goller 9798fac712 minor javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150306 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 17:08:04 +00:00
Christoph Goller 221cfab84f Make SegmentInfos invisible outside the package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150305 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 16:46:30 +00:00
Christoph Goller 771fbd4b9d test for skipTo added
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150304 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 16:35:46 +00:00
Christoph Goller e51e76636c Bug in PhraseScorer and ConjunctionScorer
skipTo implementation fixed.

Unit test for this bug added.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150303 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 15:23:29 +00:00
Christoph Goller 0cc255bf7b Directory in now only closed if implicitly generated from
File or String. Behavior is identical to IndexReader.

addIndexes(IndexReader[]) no longer closes the readers.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150302 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 19:33:35 +00:00
Christoph Goller 236466c37f temporary directory in constructor was never closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150301 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 18:27:55 +00:00
Christoph Goller 8256d94f56 temporary directory in isLocked(String) was never closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150300 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 18:21:06 +00:00
Christoph Goller 1bbe8a9361 improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150299 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 17:55:16 +00:00
Christoph Goller 6a9665f792 removeField and removeFields added to Document
enhancement was proposed in bug 28462


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150298 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 17:26:16 +00:00
Christoph Goller 420d1d7c07 fix for bug 27423
slightly modified version of Daniel?s patch


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150297 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 16:27:24 +00:00
Christoph Goller d00487507e hopefully corrected or at least improved version of skipTo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150296 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 13:47:58 +00:00
Christoph Goller 82dc3d50a3 test added that demonstrates an already fixed bug in
PhraseScorer of 1.4rc2


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150295 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 13:39:08 +00:00
Otis Gospodnetic 91b461f5a0 - Added Lindex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150294 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 09:41:50 +00:00
Otis Gospodnetic 3c99eb6ded - Moved Highlighter to Sandbox page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150293 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 07:17:23 +00:00
Christoph Goller 0adb0734e2 fixed loop exit in skipTo in case of end of
skip table


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150292 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 19:32:20 +00:00
Christoph Goller bbbd0fb408 fixed a potential problem concerning optimized
TermDocs.seek


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150291 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 14:46:00 +00:00
Christoph Goller 995cee2769 fixing Bug 19189
finally after 1 year :-(


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150290 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 14:06:27 +00:00
Christoph Goller 9f5d7feafb Additional Optimize Condition:
Merge a 1-segment index if compound file is used and
norms have been changed by IndexReader.setNorm


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150289 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 12:44:43 +00:00
Christoph Goller a35399734d iterating over fieldInfos instead of document fields seems
more natural and more efficient for writeNorms


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150288 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 10:15:20 +00:00
Christoph Goller 34b8f647fe added some javadoc (patch from Daniel)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150287 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:49:06 +00:00
Christoph Goller 3f151fa5f6 corrected a typo in javadoc (patch from Daniel)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150286 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:48:25 +00:00
Christoph Goller e0ea2909c3 restructuring of IndexReader, SegmentReader,
and Multireader in order to improve directory locking


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150285 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:17:05 +00:00
Erik Hatcher 9e8542e4d2 add SpanNearQuery test case contributed by Paul Elschot - note, this test currently fails due to a bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150284 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 15:06:59 +00:00
Christoph Goller 281004951b file format introduced in order to optimize
readCurrentVersion()


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150283 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 09:13:19 +00:00
Erik Hatcher 77e80269d3 add descriptive failure if junit.jar is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150282 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:53:21 +00:00
Christoph Goller 360e7e234c skipTo jumped one document too far
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150281 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 16:40:34 +00:00