Commit Graph

426 Commits

Author SHA1 Message Date
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
Erik Hatcher 8d7ce21934 another refinement to the ongoing StopFilter refactorings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150227 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 09:59:57 +00:00
Erik Hatcher 3c93b62676 add handy getter for the File
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150226 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 00:50:41 +00:00
Erik Hatcher c230388a92 convert Hashtable to Set, to avoid unnecessary synchronization issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150225 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 00:18:02 +00:00
Otis Gospodnetic 2798628256 - Added Javadocs to constructors
- Removed trailing spaces and added ASL 2.0


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150223 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 14:31:53 +00:00
Otis Gospodnetic 9ada967125 - Applied a patch that treats \n and \r characters in query strings the same
way that \t and " " are treated.
  http://issues.apache.org/bugzilla/show_bug.cgi?id=18847
  Contributed by Daniel Naber


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150222 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 12:07:13 +00:00
Otis Gospodnetic cf06b516bc - Applied the patch that fixes query string escaping:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24665
  Contributed by Jean-Francois Halleux


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150221 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 11:24:49 +00:00
Otis Gospodnetic 17488d5e08 - Applied patch for bug 26702, attachment 10637
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150220 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 14:54:55 +00:00
Otis Gospodnetic 9ad67bc42b - ASL 2.0 and cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150219 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 13:48:10 +00:00
Otis Gospodnetic eaee85e184 - Changed the order of close and optimize calls on IndexWriter (how did this
work??)
- ASL 2.0 and cleanups


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150218 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 13:09:57 +00:00
Doug Cutting 2439150b02 Changed Document so that field order is observed when indexing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150217 13f79535-47bb-0310-9956-ffa450edef68
2004-03-01 17:32:50 +00:00
Otis Gospodnetic d890b39eef - Applied a javadoc fix from bug 18927, attachment id 10523
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150214 13f79535-47bb-0310-9956-ffa450edef68
2004-02-26 18:27:12 +00:00
Doug Cutting de9099fb72 Added a few accessors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150213 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 22:29:18 +00:00
Doug Cutting 3f3c0aa917 Patch to sort code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150212 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 22:17:41 +00:00
Doug Cutting b8289d7943 Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150210 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 20:43:35 +00:00
Doug Cutting 31974f29f0 Fixed problem with sorting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150209 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 20:41:16 +00:00
Doug Cutting 0aca5291dc Removed some dead code and redundant javadoc. Fixed a few javadoc bugs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150208 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:46:43 +00:00
Doug Cutting 60f1d192c7 Latest patches to hit sorting code, including unit tests, two of which currently fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150207 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:34:58 +00:00
Doug Cutting 12eee6df5a Added term vector support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150206 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 20:14:56 +00:00
Doug Cutting abb62bda9c Added MultiReader, an IndexReader that combines multiple other IndexReaders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150205 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:28:59 +00:00
Doug Cutting 98dcb2096b Fixed to compile w/o deprecation warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150203 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:12:03 +00:00
Doug Cutting 84d2f6994c Fixed a recently introduced bug in BooleanScorer; added some toString() methods to facilitate debugging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150202 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 18:28:31 +00:00
Doug Cutting 32d5bcd950 Added hit sorting code, from Tim Jones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150201 13f79535-47bb-0310-9956-ffa450edef68
2004-02-17 19:00:31 +00:00
Otis Gospodnetic a8d459a9f5 - Fixed a typo in {@link}
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150200 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:38:50 +00:00
Otis Gospodnetic a3d7da14b4 - Javadoc example fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150199 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:38:19 +00:00
Otis Gospodnetic 9c3d6795f7 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150198 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:37:41 +00:00
Otis Gospodnetic 61f5e16d9d - Added more queries to javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150197 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:36:23 +00:00
Doug Cutting 423c29c749 A span search optimization.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150194 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 22:25:51 +00:00
Doug Cutting a66250c4ab Fixed a few bugs in span searching.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150193 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 22:03:42 +00:00
Doug Cutting 37196df9e3 Fix a bug in skipTo().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150192 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 18:10:45 +00:00
Doug Cutting 755529c45c Permit queries to override the Similarity implementation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150190 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 19:19:20 +00:00
Otis Gospodnetic eb0c2853bb - Applied a patch from Grant Ingersoll
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150189 13f79535-47bb-0310-9956-ffa450edef68
2004-02-05 13:45:55 +00:00
Otis Gospodnetic f37a66bb2f - Applied a small patch from Grant Ingersoll.
The code moved from TestStopAnalyzer.java


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150188 13f79535-47bb-0310-9956-ffa450edef68
2004-02-05 13:17:26 +00:00
Otis Gospodnetic 7ce4f079f5 - Added ASL 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150186 13f79535-47bb-0310-9956-ffa450edef68
2004-02-02 13:27:52 +00:00
Doug Cutting 93ff39de13 Added new span-based query API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150185 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 22:10:00 +00:00
Otis Gospodnetic 5b90be88b7 - Applied a small patch from Mladen Turk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150183 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 16:36:10 +00:00
Otis Gospodnetic b918871d54 - Initial commit
Submitted by: Tim Jones
Reviewed by: Otis, Doug


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150182 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 16:22:33 +00:00
Otis Gospodnetic 96141a2795 - Cleaned up to avoid compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150180 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 12:25:50 +00:00
Otis Gospodnetic 0304a92060 - Applied patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=26397 with small changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150179 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 12:25:10 +00:00
Erik Hatcher 8c4ba0415a Fix javadoc typo - submitted by Jean-Francois Halleux
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150176 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 18:53:14 +00:00
Erik Hatcher 0a39c6131b add no-arg ctor for RussianAnalyzer - makes it easier for tools to use this analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150174 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 14:18:12 +00:00
Doug Cutting b1541ce027 Added ParallelMultiSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150172 13f79535-47bb-0310-9956-ffa450edef68
2004-01-20 18:37:09 +00:00
Doug Cutting 6f8347c6fe Optimized TermDocs.skipTo() and changed scorers to take advantage of it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150170 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 22:42:35 +00:00
Erik Hatcher cd297692ca removing Lucene's Arrays class - it is unnecessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150164 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 17:02:56 +00:00
Doug Cutting 8016aa3ea5 Fix StandardTokenizer's handling of CJK characters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150159 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 22:12:24 +00:00
Doug Cutting c03491e6a2 Distinguish between positions and length when indexing a field. The
length is now defined as the total number of tokens, not the final
position.  Length is used for score normalization
(Similarity.lengthNorm()) and for controlling memory usage
(IndexWriter.maxFieldLength).  In both cases the total number of
tokens is more reasonable than the final position.  Position is used
in phrase searching (see PhraseQuery and Token.setPositionIncrement()).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150157 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 21:40:18 +00:00
Doug Cutting bd2acf0bf8 Add new method IndexReader.setNorm(), to permit altering boosts after an index is created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150156 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 23:04:42 +00:00
Doug Cutting 321b292be9 Fixed a NPE in Query.explain().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150155 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 22:26:13 +00:00
Erik Hatcher 859e6eee20 noted TooManyClauses catch in QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150154 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 17:35:32 +00:00
Erik Hatcher 537368266a remove failing StopAnalyzer tests since the positional change was reverted
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150153 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 16:16:32 +00:00
Erik Hatcher d83ae1586c revert position increment change due to conflict with PhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150152 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 14:30:12 +00:00
Doug Cutting 5bf1b92b14 Removed a line of dead code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150150 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 18:23:47 +00:00
Christoph Goller 32f3d1794a two unused variables deleted
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150149 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 17:03:25 +00:00
Erik Hatcher fd5806ddf2 Use position increments to account for removed stop words
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150148 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 02:03:14 +00:00
Christoph Goller 40dd950e3f closing tags added
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150147 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 12:50:21 +00:00
Erik Hatcher fcc15f9a46 new QueryParser tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150145 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 11:03:30 +00:00
Erik Hatcher 2fd0c0205b Catch TooManyClauses and throw ParseException instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150144 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 11:00:58 +00:00
Doug Cutting c76efdf450 Optimize patch of yesterday: only clone when needed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150140 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 21:16:36 +00:00
Doug Cutting 393e5c2655 Fixed bug 24786. Correctly rewrite clauses.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150139 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 00:21:20 +00:00
Christoph Goller 41ab0e084c Fix for problem with "<" and ">" within script.
Fixes bug #16952


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150138 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 18:37:32 +00:00
Christoph Goller 4e9ed24307 Add space for certain html tags. This is a fix for bug 19253.
I committed a slightly modified version of Daniel's patch.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150137 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:24:32 +00:00
Christoph Goller dc4da65595 Fix for deadlock between indexing thread and parsing
thread that occurs with long titles. Parsing thread waits
for indexing thread to read from pipeIn, indexing thread
waits for summary. This fixes bug #24301


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150136 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 15:37:26 +00:00
Christoph Goller e535a52af6 file timestamp of segments file substituted by version
number in segments file


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150135 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:10:41 +00:00
Christoph Goller dfaa46dd93 seek checks removed; such ckecks are not implemented
by the other subclasses of InputStream either. Unit test
adapted accordingly.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150134 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:03:22 +00:00
Christoph Goller 841e65e492 avoid double buffering in CSInputStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150133 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:01:44 +00:00
Otis Gospodnetic 054d9a4029 - Renamed a variable to reflect its functionality and fixed indentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150132 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 13:05:13 +00:00
Otis Gospodnetic 3a80552bd0 - Patch from case 23754:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23754


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150130 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 11:58:19 +00:00
Otis Gospodnetic 1381c24605 - Removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150129 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 11:35:57 +00:00
Erik Hatcher 1a39c55c4c only throw ParseException from parse methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150128 13f79535-47bb-0310-9956-ffa450edef68
2003-11-13 11:42:26 +00:00
Erik Hatcher 812d3329d7 detabify and removed redundant (char) cast
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150127 13f79535-47bb-0310-9956-ffa450edef68
2003-11-12 01:00:50 +00:00
Otis Gospodnetic cad41dbce6 - Fixed indentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150126 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 14:37:08 +00:00
Otis Gospodnetic 0401cf63e4 - Fixed indentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150125 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 14:31:19 +00:00
Erik Hatcher e0c4641ac2 harmless qualification of variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150124 13f79535-47bb-0310-9956-ffa450edef68
2003-11-06 15:30:57 +00:00
Christoph Goller 9cf06f739c After undeleteAll the reader does not have deletions any
longer. So hasDeletions has to become false.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150122 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 09:46:54 +00:00
Christoph Goller af3fc298bd docCount was computed incorrectly by merge causing
problems during indexing together with my last change in
IndexWriter.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150121 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 09:28:44 +00:00
Christoph Goller 14b64e1380 use docCount from merger in mergeSegments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150120 13f79535-47bb-0310-9956-ffa450edef68
2003-10-25 13:54:08 +00:00
Christoph Goller 1a3d49c1ff modify to use VM property for base data directory, so IDEs can run tests without Ant,
simply copied Eriks modification from TestRussianAnalyzer


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150119 13f79535-47bb-0310-9956-ffa450edef68
2003-10-25 11:23:49 +00:00
Erik Hatcher 7d03980697 remove System.out.printlns from tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150118 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 02:20:48 +00:00
Erik Hatcher f538150c0b change tests to use new sys property
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150117 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 02:02:06 +00:00
Otis Gospodnetic 4fd1cea634 - Commented out left-over debugging/print statements
- Nuked trailing spaces


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150115 13f79535-47bb-0310-9956-ffa450edef68
2003-10-22 16:24:25 +00:00
Doug Cutting ede163802d Add IndexReader.undeleteAll().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150111 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 18:24:23 +00:00
Doug Cutting f0d57d81a3 Changed IndexReader so that it can be subclassed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150110 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 17:59:17 +00:00
Erik Hatcher ebd6dc86fa unify stop word lists with StopAnalyzer - they were identical, so just reuse and avoid possible mismatch later
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150109 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:20:48 +00:00
Erik Hatcher eda583780c modify to use VM property for base data directory, so IDEs can run tests without Ant
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150108 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:07:57 +00:00
Doug Cutting 964c1b7ada Make idf(docFreq,numDocs) public instead of protected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150106 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 17:15:57 +00:00
Otis Gospodnetic 3fd7ec2679 - Fixed a bug with usage of IndexWriter.*_LOCK_NAME constants.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150105 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 10:49:42 +00:00
Otis Gospodnetic e08f35fc06 - Reverting to revision 1.34 after a bad commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150100 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:37:51 +00:00