Commit Graph

762 Commits

Author SHA1 Message Date
Christoph Goller aaf0f4b01d Changed explicit casts to SegmentTermEnum and
SegmentTermDocs to TermEnum and TermDocs casts.
This had obviously been forgotten when switching from
SegmentsReader to MultiReader.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150344 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 12:56:47 +00:00
Doug Cutting a18ce33346 Added link to blog.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150343 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 21:23:45 +00:00
Otis Gospodnetic b72f93d1b5 - Made Javadoc for add method more clear (Leonid Portnoy)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150342 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:56:29 +00:00
Otis Gospodnetic b48c75c33c - Replaced /t with two spaces and fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150341 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:49:46 +00:00
Otis Gospodnetic 59f64337a9 - Javadoc improvements, bug 28964 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28964
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150340 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:36:26 +00:00
Erik Hatcher e5d98fe28a Remove odd character
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150339 13f79535-47bb-0310-9956-ffa450edef68
2004-05-13 09:54:12 +00:00
Erik Hatcher 43d7d69054 Remove commented out workaround fix. Doug fixed FilteredQuery's rewrite.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150338 13f79535-47bb-0310-9956-ffa450edef68
2004-05-13 03:11:45 +00:00
Doug Cutting 9a391c2469 Preparing for 1.4RC3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150336 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:37:38 +00:00
Doug Cutting 441b8dee40 Preparing for 1.4RC3 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150335 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:20:04 +00:00
Doug Cutting 36ec873780 Updates for recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150334 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:12:43 +00:00
Doug Cutting 840d9f1bb5 Fixed to work even when java.io.tmpdir system property is null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150333 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:01:48 +00:00
Doug Cutting 07013dfaf9 Removed dead code, as noted by Paul Elschot.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150332 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:59:51 +00:00
Doug Cutting 03b25ce6bb Removed Java 1.4 dependency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150331 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:38:41 +00:00
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