Commit Graph

3641 Commits

Author SHA1 Message Date
Michael McCandless 159573f7eb LUCENE-979: remove deprecated non-Task benchmark classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783794 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 14:26:32 +00:00
Michael McCandless 9dc231fb74 LUCNEE-1642: respect destination IW's CFS when copying tail segments in addIndexesNoOptimize
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783748 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 12:52:13 +00:00
Uwe Schindler fd63593d66 LUCENE-1592: deprecate TermsEnum.skipTo()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783747 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 12:46:41 +00:00
Mark Robert Miller 2099947cdf LUCENE-1598: FieldComparatorSource should be Serializable for back compat with SortComparatorSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783598 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 01:45:00 +00:00
Mark Robert Miller 85f5a9c740 LUCENE-1455: close FileInputStream after parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783595 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 01:13:51 +00:00
Michael McCandless 5b654095c6 LUCENE-1584: add hook that's called on successful merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783588 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 00:21:52 +00:00
Patrick O'Leary 5509306e40 Fixed doc id's to bitset id for sorting with a multi segmented index FieldSourceComparator still uses bitset id's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783517 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:59:26 +00:00
Michael McCandless eb6fbfa3d5 LUCENE-1682: fix some unit tests to use private filesystem dir when testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783487 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:15:19 +00:00
Mark Robert Miller 5ddf4961f3 javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783458 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:17:42 +00:00
Michael McCandless f2de08e85a add missing copyright
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783436 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:06:29 +00:00
Michael McCandless 89e1dcf3b4 LUCENE-1679: make difference non-final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783371 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:39:56 +00:00
Michael McCandless 2c351e832e LUCENE-1680: make prefix Term accessible
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783370 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:39:12 +00:00
Uwe Schindler e3c3d443a8 LUCENE-1453: Fix IndexReader.open() to close directory, when open() of the underlying DirectoryReader failed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783314 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 12:21:27 +00:00
Uwe Schindler cd7436e1e8 LUCENE-1453: Remove the complicated closeDir handling from DirectoryReader which no longer "owns" the FSDirectory. A FilterIndexReader, that is wrapped around the DirectoryReader by IndexReader.open(), will handle the closing of the dir. This wrapper and all File/String IndexReader.open()'s will be removed in 3.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783280 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 10:09:20 +00:00
Michael McCandless 386552d7b1 make HitCollectorWrapper public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782932 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 09:53:26 +00:00
Uwe Schindler 3331d74c5e These 2 tests should use the refcounting dir impls, because the test checks, that exectly this refcounting works with reopen()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782754 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 19:55:55 +00:00
Uwe Schindler 406454d30b LUCENE-1672: Deprecate all String/File ctors/opens in IndexReader/IndexWriter/IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782469 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 21:52:41 +00:00
Michael McCandless a93e2c41b0 LUCENE-1614: switch next -> nextDoc, skipTo -> advance, doc -> docID in DISI
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782410 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 16:58:41 +00:00
Michael McCandless 9dbff2618f LUCENE-1651: always return DirectoryReader (renamed from MultiSegmentReader) from IndexReader.open
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782406 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 16:31:18 +00:00
Michael McCandless 57adcb5bd8 fix test cases using RemoteSearchable to pick a random port instead of hardwiring to 1099, so such tests running at the same time don't conflict
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782403 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 15:47:21 +00:00
Michael McCandless 9eccbc50c3 remove invalid test (already removed from trunk): it causes false failures on at least opensolaris, java 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782397 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 14:52:51 +00:00
Yonik Seeley c14a2bfe49 fix SortField.equals+hashCode by using comparatorSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782322 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 00:44:54 +00:00
Yonik Seeley d8e7b96839 remove redundant ensureOpen
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782321 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 00:31:57 +00:00
Michael McCandless c91e76d0a5 LUCENE-1660: make enablePositionIncrement required up-front arg
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781506 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 18:51:25 +00:00
Michael McCandless 42693ff056 LUCENE-1451: deprecate methods that use FSDirectory.getDirectory under-the-hood
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781333 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 10:38:57 +00:00
Uwe Schindler c0bee7de45 Also remove the removed similarity extension from JavaDocs (as Hudson build #847 failed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781269 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 05:47:15 +00:00
Michael McCandless 8a4a3eeed1 LUCENE-1387: fix numDocs -> maxDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781136 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 19:37:59 +00:00
Michael McCandless 73fd2318fd LUCENE-1656: don't compute scores by default when sorting by field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781130 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 19:16:20 +00:00
Otis Gospodnetic 475b5dc08f LUCENE-898 - removed contrib/javascript (unpackaged, unmaintained, most likely not working due to QueryParser changes since 2005)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781057 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 15:18:51 +00:00
Otis Gospodnetic 8945ac1c13 LUCENE-1378: Removed remaining authors from javadocs/HTML/java source code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781055 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 15:16:04 +00:00
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