Commit Graph

3611 Commits

Author SHA1 Message Date
Otis Gospodnetic ea155ae99b - Removed empty dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781053 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 15:11:03 +00:00
Uwe Schindler cb9090da45 Fix incorrect example: setValue() is not a method of TokenStream, need more specific type. Thanks Mike
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781029 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:12:22 +00:00
Michael McCandless 9f2fdb26bf LUCENE-1665: deprecate SortField.AUTO
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781028 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:10:12 +00:00
Michael McCandless 0939711748 LUCENE-1665: deprecate SortField.AUTO
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781027 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:09:11 +00:00
Michael McCandless 92cf862990 don't use Java 5 code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780896 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 00:54:01 +00:00
Uwe Schindler bdc99eb8ea LUCENE-1658: new tag for tests #2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780795 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 19:32:55 +00:00
Uwe Schindler 509e239d70 LUCENE-1658: Fix MMapDirectory, add hack for JVM bug that keeps mmapped files open, fix tests, that cannot use other dir impls than SimpleFSDirectory, some API fine tuning.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780770 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 18:34:10 +00:00
Michael McCandless 558a991a0f LUCENE-1670: improve javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780608 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:27:11 +00:00
Michael McCandless 3c82bdadb3 fix SSS unit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 10:37:09 +00:00
Otis Gospodnetic 9275233f71 - Removed an ancient deprecated method and fixed misspellings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780363 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 04:10:35 +00:00
Uwe Schindler 98e2f78189 LUCENE-1658: Fix ClassCastException during cloneing SimpleFSIndexInput
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780320 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 20:47:11 +00:00
Michael McCandless 586340d6d1 LUCENE-1617: also remove old tests from back-compat branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780273 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 14:11:04 +00:00
Michael McCandless 6d89eea88a rename TeeSinkTokenTest so that ant test actually runs it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780268 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 14:05:18 +00:00
Mark Robert Miller c2aafb2f99 spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 12:01:44 +00:00
Michael McCandless c514022081 LUCENE-1658: split FSDir into base class vs SimpleFSDir; strenghten javadocs on which FSDir subclass is best; add FSDir.open that picks a good default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:00:45 +00:00
Michael McCandless 80a79f5bee LUCENE-1542: properly index first token(s) with 0 position increment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780220 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 09:36:10 +00:00
Uwe Schindler 5f6d0c7bd6 LUCENE-1654: Fix UOE with old-style user-data indexes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779686 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:30:56 +00:00
Michael McCandless 54fa7be67b LUCENE-1666: use LucenePackage to get version from JAR's manifest, if available
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779683 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:27:57 +00:00
Michael McCandless 6dcd9628f5 LUCENE-1666: if JAR has null impl version, fallback to Lucene's main version; also add main version in, if the JAR's impl version doesn't contain it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 15:38:44 +00:00
Mark Robert Miller 3c3b283e3c LUCENE-1653: Avoid creating a Calendar in every call to DateTools#dateToString, DateTools#timeToString and DateTools#round.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779575 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:01:35 +00:00
Michael McCandless f953c8883e use 2 digits precision when reporting rec/s
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779569 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 11:31:44 +00:00
Michael McCandless 8401e60861 LUCENE-1657: make readOnly a required param when opening IndexReader/Searcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779312 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 21:00:18 +00:00
Yonik Seeley 76e01c1d06 LUCENE-1662: consolidate FieldCache and ExtendedFieldCache default instances
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779277 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:10:24 +00:00
Michael McCandless 8f9e8ab285 LUCENE-1663: make the query parser syntax description version agnostic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779181 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:06:13 +00:00
Michael McCandless e01ac9ce2e fix forrest error in fileformats.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:02:56 +00:00
Michael McCandless d12461a812 LUCENE-1436: switch classes used by BooleanScorer2 from public to package-private; relax ReqExclScorer.exclScorer to be DISI from Scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778877 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 20:41:54 +00:00
Michael McCandless 33da123539 LUCENE-1654: switch back-compat tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778876 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 20:39:01 +00:00
Michael McCandless b369db97ec LUCENE-1661: make SortField.getComparator public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778861 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 19:52:52 +00:00
Michael McCandless cb5d9c56ff fix CheckIndex -fix to immediately abort if no segments file is present
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778834 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 18:35:50 +00:00
Michael McCandless d47c46f1a9 LUCENE-1575: clarify that certain float values are invalid scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778813 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:51:52 +00:00
Mark Robert Miller 370a3f4580 use setTimeinMillis - we require 1.4 so we don't need to worry that it was protected on 1.3 anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778795 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 16:50:32 +00:00
Michael McCandless 62ab47f7fd LUCENE-1654: fix version match test to not fail when nightly build overrides version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778643 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 10:25:06 +00:00
Michael McCandless 4b6474f60c LUCENE-1654: IndexWriter now records basic diagnostics into each segment it writes; commit metadata upgraded from String to Map<String,String>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778490 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:07:24 +00:00
Michael McCandless 78659bb804 LUCENE-1655: get unit tests back to 1.4 only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778024 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 21:00:03 +00:00
Michael McCandless 28fe2523d9 LUCENE-1647: fix case where IndexReader.undeleteAll would make the segment's deletion count incorrect
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777686 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:57:53 +00:00
Michael McCandless caeedf1233 LUCENE-1636: catch null input passed to AttributeSource ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777525 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:52:28 +00:00
Uwe Schindler eba450d10b LUCENE-1591: Update commons-compress to the released version 1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777458 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 10:38:21 +00:00
Michael McCandless 83e440bf6d LUCENE-1636: make TokenFilter.input final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 17:36:53 +00:00
Michael McCandless 7c071d5c8e LUCENE-1648: carry over hasChanges/deletionsDirty/normsDirty/pendingDeleteCount when a SegmentReader w/ pending changes is cloned
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777080 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 11:45:21 +00:00
Michael McCandless 0769f8130a don't let new merges start after finishMerges when closing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776877 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 21:54:35 +00:00
Michael McCandless a4c96b1738 LUCENE-1645: clone child SegmentReaders on reopening/cloning MultiSegmentReader so changes remain private
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776819 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 19:38:59 +00:00
Michael McCandless 2f675d1e27 clarify constantScoreRewrite for MultiTermQuery/RangeQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776805 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 18:46:55 +00:00
Grant Ingersoll 27fc5cd348 LUCENE-1550: Added new ngram spell checking distance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776704 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:07:08 +00:00
Michael McCandless 2dd7d33e86 LUCENE-1643: use reusable RawCollationKey for better performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776252 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 09:50:24 +00:00
Uwe Schindler 6156cc18a4 LUCENE-1641: Correct spatial and trie documentation links in JavaDocs and website
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776190 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 05:11:26 +00:00
Michael McCandless af71c1829d LUCENE-1640: fix MockRAMDir's internal synchronization (used only by unit tests)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776053 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 19:07:32 +00:00
Michael McCandless 571a058767 LUCENE-1634: add calibrateSizeByDeletes to LogMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775489 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:58:36 +00:00
Michael McCandless af550281cb LUCENE-1629: remove unnecessary source files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775468 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 14:08:38 +00:00
Michael McCandless f81f6796a2 LUCENE-1629: correct ASF source headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775444 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 09:55:34 +00:00
Michael McCandless 130c568b44 LUCENE-1638: fix thread hazard when autoCommit=true and multiple threads are committing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 17:30:43 +00:00