Commit Graph

3530 Commits

Author SHA1 Message Date
Michael McCandless 5f72065d0f LUCENE-1714: fix WriteLineDocTask to also replace \r, \n (in addition to \t) with space so those chars don't create mal-formed lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787750 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:46:17 +00:00
Michael McCandless 24d827fd70 LUCENE-1715: remove finalize from IndexWriter, DirectoryReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787744 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:31:53 +00:00
Uwe Schindler edfce675a5 LUCENE-1701, LUCENE-1687: Add NumericField , make plain text numeric parsers public in FieldCache, move trie parsers to FieldCache, merge ExtendedFieldCache and FieldCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787723 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 15:42:12 +00:00
Michael McCandless 73b462a823 add javadocs NOTE stating that the core collectors pre-allocate the full array[numHits] up front
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787628 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 10:48:55 +00:00
Yonik Seeley 8171a06632 LUCENE-1699: make Field.tokenStream usable with other stored field mechanisms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787437 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 23:06:46 +00:00
Michael McCandless ec8088654d bulk fix svn:eol-style to native for text files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787424 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 22:18:56 +00:00
Michael McCandless d556b9b485 set eol-style to native for Collector.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787411 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 21:34:12 +00:00
Uwe Schindler 579a0704cd use floatToRawIntBits and doubleToRawLongBits for encoding float values as normalization is not needed and much faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786770 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 08:50:33 +00:00
Erik Hatcher 65131ca7b9 LUCENE-1405: Added support for Ant resource collections in contrib/ant <index> task.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786610 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 18:24:19 +00:00
Michael McCandless 19234f12bd LUCENE-1692: add new contrib analyzer tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786606 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 18:02:12 +00:00
Michael McCandless 2f2cd20828 LUCENE-1692: add tests for Thai & SmartChinese analyzers; fix wrong endOffset bug in ThaiWordFilter; use stop words by default with SmartChineseAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786560 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:52:36 +00:00
Michael McCandless fc243f12ce LUCENE-1700: make sure expungeDeletes does its job even when a near real-time reader it in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786551 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:37:05 +00:00
Michael McCandless ec65df2156 LUCENE-1639: fix case where doc stores are incorrectly double opened, thus leaving open file handles after IndexWriter is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786545 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:30:05 +00:00
Uwe Schindler 0b5cbca110 LUCENE-1673: Move TrieRange to core (part 2: removing from contrib/queries)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786474 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:16:52 +00:00
Uwe Schindler 7b34ab8f30 LUCENE-1673: Move TrieRange to core (part 1: addition to core)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786470 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:09:52 +00:00
Mark Robert Miller d7d455246f LUCENE-1595: Separate DocMaker into DocMaker and ContentSource.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786233 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:58:59 +00:00
Michael McCandless 835c405be0 LUCENE-973: add test case for CJKAnalyzer; fix trailing empty string bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785287 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 16:38:39 +00:00
Mark Robert Miller 2f7b9df887 add delta param to TestDocValues assertEqueals(string,float,float) calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785252 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 15:19:34 +00:00
Mark Robert Miller baaa029331 LUCENE-1681: Fix infinite loop caused by a call to DocValues methods getMinValue, getMaxValue, getAverageValue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785238 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 14:49:18 +00:00
Michael McCandless ea9fcfe3fc LUCENE-1694: fix Query.mergeBooleanQueries to take BooleanQuery[] param
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785222 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 14:08:28 +00:00
Michael McCandless 757795bffe LUCENE-1684: add matchVersion to StandardAnalyzer, and improve defaults if version is 2.9+
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784984 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 21:19:03 +00:00
Uwe Schindler 6ed703e655 Move wrong-placed test around and remove empty "de" directory in analysis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784981 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 21:11:49 +00:00
Uwe Schindler 3a176d749a Fix the haywire bold tag in javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784961 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 20:17:02 +00:00
Uwe Schindler b56c5ba5de Fix javadoc warning (symbol not accessible)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784865 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:07:29 +00:00
Uwe Schindler a718f0320a LUCENE-1407: move RemoteSearchable out of core into contrib/remote (add javadocs to developer resources)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784758 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 12:45:05 +00:00
Michael Busch f2a5f395d8 Fix pom.xml.template of remote contrib to have the correct artifactId
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784674 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 07:33:57 +00:00
Michael McCandless 5b472b2d62 LUCENE-1539: add DeleteByPercent, FlushReader tasks, and ability to open reader on a labelled commit point
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784587 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 17:07:55 +00:00
Michael McCandless 26b9dea62b LUCENE-1571: fix LatLongDistanceFilter to respect deleted docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784576 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 15:47:15 +00:00
Michael McCandless 6671c43458 LUCENE-979: remove a few more old benchmark things
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784568 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 14:52:02 +00:00
Michael McCandless e3c4ff8ac3 revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784562 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 14:06:52 +00:00
Michael McCandless 419b065957 LUCENE-1677: deprecate gcj specializations, and the system properties that let you specify which SegmentReader impl class to use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 11:20:55 +00:00
Michael McCandless 392424ec11 LUCENE-1407: move RemoteSearchable out of core into contrib/remote
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784540 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 11:13:04 +00:00
Karl-Johan Wettin 9e5cb08461 LUCENE-1578: Support for loading unoptimized readers to the constructor of InstantiatedIndex. (Karl Wettin)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784482 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 22:05:14 +00:00
Karl-Johan Wettin 196428ec39 LUCENE-1578: Support for loading unoptimized readers to the constructor of InstantiatedIndex. (Karl Wettin)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784481 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 21:54:07 +00:00
Grant Ingersoll 1511ec5e31 LUCENE-1676: in-stream payload support
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784297 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:26:01 +00:00
Michael McCandless ad94a3d47a fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784228 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 18:49:21 +00:00
Michael McCandless 2b60bb3cbc fix tests to pass on Java 1.4, again
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784194 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:00:19 +00:00
Uwe Schindler b01e4a97b7 LUCENE-1592: Add missing CHANGES.txt entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784133 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 14:23:36 +00:00
Uwe Schindler 708c46b66f LUCENE-1686: Remove unnecessary NULL check in FindSegmentsFile - cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784094 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 12:27:14 +00:00
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