Commit Graph

721 Commits

Author SHA1 Message Date
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
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