Commit Graph

32159 Commits

Author SHA1 Message Date
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
Erik Hatcher 17338f4680 fixup javadocs based on changes made to support jdk 1.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150280 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 17:23:38 +00:00
Erik Hatcher 4e81c2c562 reverse misunderstanding - now just simply denote the reverse flag rather than interpret ascending or descending.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150279 13f79535-47bb-0310-9956-ffa450edef68
2004-04-04 15:47:31 +00:00
Erik Hatcher 6e7df0fa69 handy toString methods for the new Sort classes. feel free to adjust the aesthetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150278 13f79535-47bb-0310-9956-ffa450edef68
2004-04-04 15:28:14 +00:00
Erik Hatcher 7176a6a488 Update build doc for Ant 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150277 13f79535-47bb-0310-9956-ffa450edef68
2004-04-03 21:32:50 +00:00
Doug Cutting 45c5ec4577 Improved javadoc for span queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150276 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 20:33:25 +00:00
Doug Cutting 73779b4489 A few more 1.4RC2 fixups. Sigh.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150274 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:48:45 +00:00
Doug Cutting 67a6cb86e9 Update for 1.4RC2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150273 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:40:08 +00:00
Doug Cutting 2b2d9ff338 Fix release url.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150272 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:35:28 +00:00
Doug Cutting 8ba5e88431 Fix the release url.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150271 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:35:04 +00:00
Doug Cutting 6c04afefc8 Preparing for 1.4RC2 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150270 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:32:11 +00:00
Doug Cutting e258441c87 Fixed a few problems with file format doc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150269 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:28:11 +00:00
Otis Gospodnetic 9f511ba6a0 - Fixed mixed-up indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150268 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 15:54:48 +00:00
Otis Gospodnetic 25f78d7cc2 - Applied a patch for bug 18410: http://issues.apache.org/bugzilla/show_bug.cgi?id=18410
PR: 18410
Obtained from:
Submitted by: Daniel Naber
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150267 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 15:44:58 +00:00
Otis Gospodnetic 16146cbd32 - Applied a patch for bug 28030: http://issues.apache.org/bugzilla/show_bug.cgi?id=28030
(and made some small changes to it)
PR: 28030
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150266 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 13:22:59 +00:00
Erik Hatcher 948a61fa0b again, my apologies - another attempt to get the encoding right
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150265 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 02:56:44 +00:00
Erik Hatcher 6ce38ba310 IDEA, my i18n nemesis... thank you TextPad. geez, sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150264 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 02:52:40 +00:00
Doug Cutting bf8586b01a Removed outdated limitations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150263 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 23:40:31 +00:00
Doug Cutting 7a6938c5f8 Preparing for 1.4-RC1 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150261 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 23:20:54 +00:00
Erik Hatcher 31285cb2a3 hopefully fix my i18n screwup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150260 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 23:20:13 +00:00
Doug Cutting 15afb15cb6 Updated license to Apache License 2.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150259 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 22:48:07 +00:00
Doug Cutting 8dd2e3e7f1 Updated file format documentation to note skip data.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150258 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 22:30:40 +00:00
Tim Jones 3f54fbaaea streamlined by removing duplicated code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150257 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 18:55:30 +00:00
Erik Hatcher 338499e86b #27987 - add exceptions to WordlistLoader to missing file causes error instead of silently failing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150256 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 16:53:35 +00:00
Otis Gospodnetic 00d94b7319 - Fixed a typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150255 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 12:46:36 +00:00
Doug Cutting c47982eb56 Fix for bug 27799.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150254 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 21:55:55 +00:00
Erik Hatcher 100c877a90 oops, lost special DSTAMP/TSTAMP overrides in the last commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150253 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 09:54:49 +00:00
Erik Hatcher 64d7ba6087 make current year dynamic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150252 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 09:42:28 +00:00
Otis Gospodnetic 3a2871b740 - Changed the code so debug output for each merge is on a single line:
merging segments _b (1 docs) _c (1 docs) into _d (2 docs)
merging segments _a (10 docs) _d (2 docs) into _e (12 docs)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150251 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 19:34:53 +00:00
Doug Cutting c513a55a59 javadoc cleanups and enhancements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150250 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 18:47:15 +00:00
Otis Gospodnetic 2e455a08a6 - Added ASL
- s/\t/  /g'


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150249 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 13:49:49 +00:00
Otis Gospodnetic 019b6e7d57 - Added ASL
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150248 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 13:39:59 +00:00
Otis Gospodnetic 7aa133813c - Fixed my last name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150247 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 13:24:22 +00:00
Tim Jones 9e24bfacfc avoid runtime exception if possible if index is empty
added tests for this case


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150246 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 19:23:11 +00:00
Doug Cutting f19a63217d Changed the default index format to be compound.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150245 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 18:10:59 +00:00
Doug Cutting 76bd7d9b29 Fixed a bug in skipTo(), bugzilla #27587.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150244 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 17:36:53 +00:00
Doug Cutting c79abd35dd Changed Term to implement Comparable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150243 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 17:32:49 +00:00
Otis Gospodnetic 1ebfc379fd - Changed QueryParser.jj to allow '-' and '+' characters in search terms.
Morus Walter's patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=27491


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150242 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 10:12:27 +00:00
Otis Gospodnetic 88165f0252 - Added "library" key word, as suggest in http://issues.apache.org/bugzilla/show_bug.cgi?id=27819
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150241 13f79535-47bb-0310-9956-ffa450edef68
2004-03-23 17:50:47 +00:00
Tim Jones cfef632e3f fix to properly normalize scores even when hits are sorted
also wrote tests to verify scores are the same whether sorted or not


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150240 13f79535-47bb-0310-9956-ffa450edef68
2004-03-23 16:49:56 +00:00
Tim Jones 88bec062ec fix formatting - every line was ended by two carriage returns and a line feed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150239 13f79535-47bb-0310-9956-ffa450edef68
2004-03-23 15:59:49 +00:00