Commit Graph

95 Commits

Author SHA1 Message Date
Michael McCandless 90c8ef28c8 LUCENE-1811: fix thread safety bug in testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804474 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 14:06:19 +00:00
Erik Hatcher 5724eb4dc9 LUCENE-1806: add args to test macro (Jason Rutherglen via ehatcher)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804161 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 11:00:48 +00:00
Mark Robert Miller f3bf13f480 LUCENE-1748: makes Spans abstract class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803700 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 20:28:17 +00:00
Mark Robert Miller 2c0ef65700 doh - its the 11th not the 10th - sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803349 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:54:23 +00:00
Mark Robert Miller 48ec5e5dd8 whoops - wrong order - this should have been with the LUCENE-1771 commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803342 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:27:03 +00:00
Uwe Schindler fe43cd7243 new tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 11:48:54 +00:00
Mark Robert Miller 5af69469e2 LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a back compat break and caused custom SpanQuery implementations to fail at runtime in a variety of ways. This issue attempts to remedy things by causing a compile time break on custom SpanQuery implementations and removing the PayloadSpans class, with its functionality now moved to Spans.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800925 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 19:10:02 +00:00
Michael McCandless 175e8b546d LUCENE-1763: require IndexWriter be passed up front to the MergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799818 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 09:22:25 +00:00
Uwe Schindler 1073d29a53 LUCENE-1762: Slightly more readable code in Token/TermAttributeImpl, additional tests, deep cloning bug with Token.copyTo fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 19:14:07 +00:00
Michael McCandless 3894101042 LUCENE-1754: update back-compat test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798089 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:57:41 +00:00
Michael McCandless a284608778 LUCENE-1609: remove synchronization from terms dict by loading index up front
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 20:48:36 +00:00
Michael McCandless 4a63ea0f6c LUCENE-1726: move unchanged readers to private CoreReaders class that's shared across cloned SegmentReaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793039 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 17:08:19 +00:00
Uwe Schindler fed4bba63d LUCENE-1713: Rename RangeQuery -> TermRangeQuery (part 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791175 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 20:14:12 +00:00
Michael McCandless 2d93f7e288 LUCENE-1708: optimize deletes X matching reader when merging stored fields & vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787827 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 20:32:36 +00:00
Michael McCandless 87de0c9688 LUCENE-1466: added chainable CharFilter stage before Tokenizer to allow mapping of characters before tokenization
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787795 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 19:15:31 +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 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
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 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
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
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 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 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
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 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 61dc82c6d0 LUCENE-1629: set javadocs encoding to UTF-8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774796 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 14:48:37 +00:00
Michael McCandless e01aad89fe LUCENE-1629: adding new contrib analyzer SmartChineseAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774718 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 10:09:22 +00:00
Michael McCandless d4f9809520 LUCENE-1593: optimize core Collectors for in-docID-order scorer case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773194 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 10:36:41 +00:00
Michael McCandless 311640cd35 LUCENE-1623: properly handle back-compatibility of field names with non-ascii characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:37:08 +00:00
Michael McCandless baa4034c01 LUCENE-1624: don't write a new empty commit when create=true and autoCommit=false on creating IndexWriter, unless dir has no index yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770615 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:25:52 +00:00
Michael McCandless 888a897063 LUCENE-1616: switch to single setOffset API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769543 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:17:38 +00:00
Michael McCandless f3189d8063 LUCENE-1617: add -Dtestpackage=XXX and -Dtestpackageroot=lucene to run a package's tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769522 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:23:52 +00:00
Michael McCandless fb8bb98c2a moving back compat tag forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765170 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 12:50:39 +00:00
Michael McCandless c443dcc662 LUCENE-1561: rename omitTf -> omitTermFreqAndPositions in Field*
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756663 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:26:01 +00:00
Michael McCandless ae19121e4c LUCENE-1314: change reference counting to properly track deleted docs & shared core readers inside SegmentReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749009 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 12:12:36 +00:00
Michael McCandless 45edef4e88 remove extra tags subdir from back-compat tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748995 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 10:52:48 +00:00
Michael McCandless 96e0aaf49e LUCENE-1483: switch to newly added MultiReaderHitCollector for all core collectors, that is aware of segment transitions during searching, to improve performance of searching and warming
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738219 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:15:21 +00:00
Michael McCandless c10a419fa4 setting tag so back-compat tests run against fixed sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737273 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 00:36:59 +00:00
Mark Robert Miller 62c7438ed4 Exclude ASCIIFoldingFilter from clover (class too large).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724067 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 03:34:07 +00:00
Michael McCandless 93f7ed2d58 switch default back-compat tests to use branches/lucene_2_4_back_compat_tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721667 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 12:03:26 +00:00
Michael Busch 72ce255671 LUCENE-1446: Allow Overriding svn executable to specify path.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713765 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 18:11:59 +00:00
Michael Busch b69ab2b50a LUCENE-1446: Add compatibility tag to common-build.xml and run backwards-compatibility tests in the nightly build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712920 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:31:50 +00:00
Michael Busch 66c16c196d LUCENE-1440: Add new targets to build.xml that allow downloading and executing the junit testcases from an older release for backwards-compatibility testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712416 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 18:30:37 +00:00
Michael McCandless b0e6bac10d LUCENE-1414: increase max heap size when running unit tests to 512M
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@702889 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 14:24:01 +00:00
Chris M. Hostetter 4ca262ce38 LUCENE-1393: new svnversion.exe ant property thta can be used when svnversion isn't in your working PATH (ie: Hudson)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698035 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:31:07 +00:00