Commit Graph

412 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Otis Gospodnetic 424291226d - Changed a property from private to public and added Javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150236 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:53:37 +00:00
Otis Gospodnetic e5c04869d2 - Changed some properties from private to public and added Javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150235 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:51:24 +00:00
Otis Gospodnetic 14065e0077 - Changed FSDirectory to use a lock dir specified by
org.apache.lucene.lockDir system property or java.io.temp fall-back one


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150234 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:44:45 +00:00
Otis Gospodnetic 712e742b78 - Added support for setting various Lucene properties via system properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150233 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:05:18 +00:00
Tim Jones 5d2812b8f5 remove java 1.4 dependent code in order to maintain java 1.3 level compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150231 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 18:11:02 +00:00
Erik Hatcher 1a8688c18f format clean-up
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150230 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 09:45:17 +00:00
Erik Hatcher 87d1685b0f convert StopFilter to use Set, with supporting changes to avoid calling deprecated methods. never compromise on your ideals!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150229 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 09:43:48 +00:00
Erik Hatcher 7ceae266c5 Caved in.... HashSet all the way around it is
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150228 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 23:17:37 +00:00