Commit Graph

5428 Commits

Author SHA1 Message Date
Martijn van Groningen ee3fb273bf Fixed fieldcache insanity failure in testBasic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486012 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 11:20:37 +00:00
Steven Rowe 5876b39115 fix dependencies so logging works from replicator/ tests: Maven config; downgrade commons-logging from v1.1.3 to v1.1.1: httpcore dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485755 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 15:43:57 +00:00
Robert Muir b762f74fee fix dependencies so logging works from replicator/ tests, turn on debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485672 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 12:53:17 +00:00
Robert Muir eb8cb0312a add a variant of testThreadInterruptDeadlock that uses 2 threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485388 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:10:02 +00:00
Robert Muir 884b73c5ec LUCENE-4992: CustomScoreQuery does not work with arbitrary queries: scoringQueries must match every document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485040 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 03:35:22 +00:00
Simon Willnauer c0e7a50ab8 LUCENE-5002: Fix Deadlock when IW#deleteAll() is called concurrently to a flushing DWPT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484734 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 10:28:48 +00:00
Michael McCandless 3ea62ddf6a fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484604 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 21:27:27 +00:00
Adrien Grand 251f2ceb88 Fix test bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484180 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 20:49:20 +00:00
Adrien Grand f4904cdc1f Fix TestMockDirectoryWrapper.testDiskFull (broken by last commit).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484151 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 17:32:15 +00:00
Adrien Grand c7d7eae2ae Partial revert of r1479766 (http://svn.apache.org/viewvc?view=revision&revision=1479766).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484146 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 17:04:11 +00:00
Adrien Grand 1a7228353e EdgeNGramTokenFilter: Remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484077 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 09:27:53 +00:00
Adrien Grand 0679c7a88f Fix EdgeNGramTokenFilter to correctly handle graph inputs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484075 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 09:21:46 +00:00
Dawid Weiss 23cd6d85a3 Added javadocs to *Ref about clone() performing a shallow copy. I know, this is obvious and to be expected, but I fell a victim to this anyway, it's a damn thing to debug if you use clone() in hash maps etc. so perhaps it'll help somebody.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483681 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 08:02:59 +00:00
Steven Rowe 439c28f123 Make the Solr NOTICE.txt be a superset of Lucene's NOTICE.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483489 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 18:26:01 +00:00
Adrien Grand a0328bedd1 LUCENE-4981: Forgot to remove package.html.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483414 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 15:43:04 +00:00
Adrien Grand c06fd47cba LUCENE-4981: Remove deprecated classes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483412 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 15:36:38 +00:00
Adrien Grand eefd3884b1 LUCENE-4981: Deprecate PositionFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483403 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 15:11:08 +00:00
Uwe Schindler d6565f839e LUCENE-5003: Fix linting javadocs with Java 8 and Eclipse JDT's ECJ compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483323 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 12:46:26 +00:00
Shalin Shekhar Mangar ff91819581 Moving change log entries to 4.3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483247 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 08:37:37 +00:00
Uwe Schindler dc53ecd75e Prevent test failure with Java 8 caused by SQLPermission
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483230 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 08:08:21 +00:00
Steven Rowe 4887d4f3a8 LUCENE-4975: replicator module: don't rename javax.servlet-*.jar to servlet-api-*.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482839 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 13:50:23 +00:00
Dawid Weiss 81ad6c6c6a TestIndexWriterOnJRECrash should work on any JRE vendor via Runtime.halt().
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482746 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 10:08:41 +00:00
Shai Erera b5d4f778d2 remove leftover license file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482680 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 05:09:01 +00:00
Steven Rowe 461cca89dc LUCENE-4975: remove nocommit target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482641 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 23:32:11 +00:00
Steven Rowe 64b85cf0ed LUCENE-4975: replicator module: make validate-maven-dependencies succeed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482640 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 23:29:03 +00:00
Chris M. Hostetter a1e29c7415 SOLR-4813: Fix SynonymFilterFactory to allow init parameters for tokenizer factory used when parsing synonyms file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482474 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 17:21:50 +00:00
Adrien Grand c1ec7aa8df LUCENE-4946: Sorter.rotate is a no-op when one of the two adjacent slices to rotate is empty.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482111 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 21:26:08 +00:00
Steven Rowe 1e4ece5fbd LUCENE-4975: make forbidden-apis shut up: "new Random()" is bad, and LTC.random() says "RandomizedRunner prevents changing the seed of its random generators to assure repeatability of tests. If you need a mutable instance of Random, create a new instance, preferably with the initial seed aquired from this Random instance.", so switched to "new Random(random.nextLong())"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481971 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 17:03:50 +00:00
Robert Muir 7d04352542 remove strange retry-port loop, and just bind to ephemeral port
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481947 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 16:00:53 +00:00
Robert Muir d9c6fa0b49 avoid NRTCachingDirectory in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481938 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 15:45:31 +00:00
Shai Erera 40e939c954 make ReplicatorTestCase.newHttpServer respect tests.jettyConnector for freebsd issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481914 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 15:22:14 +00:00
Steven Rowe 7630d6b7e6 LUCENE-4975: replicator module: IntelliJ configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481880 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 14:36:58 +00:00
Shai Erera 6b75799b42 LUCENE-4975: Add Replication module to Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481804 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 11:57:22 +00:00
Greg Bowyer d4e8d82891 LUCENE-2713: Removed fixed test seed from TestPhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481693 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 03:28:55 +00:00
Dawid Weiss 77597dfc04 LUCENE-4997: Internal test framework's tests are sensitive to previous test failures and tests.failfast.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481634 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 19:44:26 +00:00
Robert Muir 2a0d8086df LUCENE-4991: QueryParser doesnt handle synonyms correctly for chinese
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481100 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 16:59:36 +00:00
Robert Muir afbca4dc8a LUCENE-4996: Include field name in all DocInverter exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481080 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 16:29:19 +00:00
Uwe Schindler 15317f5200 LUCENE-4993: Fix BeiderMorseFilter to preserve custom attributes when inserting tokens with position increment 0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480911 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 08:00:19 +00:00
Uwe Schindler f8ee486b21 LUCENE-4994: Fix PatternKeywordMarkerFilter to have public constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480829 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 22:55:56 +00:00
Shalin Shekhar Mangar fa5752b7f5 Preparing changelogs for a 4.3.1 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480772 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 21:10:38 +00:00
Shai Erera 327b1f09bd LUCENE-4990: Improve MockDirectoryWrapper.sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480761 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 20:26:52 +00:00
Michael McCandless c75b9060a5 LUCENE-4986: NRT reopen after tryDeleteDocument was failing to reflect the deletion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480650 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 14:13:02 +00:00
Dawid Weiss 84d08b269c LUCENE-4987: Upgrade randomized testing to version 2.0.10:
Test framework may fail internally due to overly aggresive J9 optimizations. 




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480457 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 21:04:04 +00:00
Michael McCandless 27ef1eb203 LUCENE-4980: fix several issues when mixing range and non-range facets with DrillSideways
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480025 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 19:09:38 +00:00
Michael McCandless e86dce4e9c LUCENE-4979: LiveFieldValues can work with any ReferenceManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479968 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 16:22:44 +00:00
Adrien Grand cc12d7e659 LUCENE-3907: Remove deprecated options (trnk only).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479914 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 14:03:26 +00:00
Adrien Grand 582d0f103b LUCENE-3907: Fix EdgeNGramTokenizer and EdgeNGramTokenFilter to not generate corrupt token stream graphs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479891 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 13:04:08 +00:00
Adrien Grand 600c10c1bc CommonGramsFilter is broken (LUCENE-4983).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479883 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 12:39:10 +00:00
Shai Erera 0b146a844f LUCENE-4982: Make MockIndexOutputWrapper check disk full on copyBytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479766 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 05:44:15 +00:00
Steven Rowe d58de0096a LUCENE-949: AnalyzingQueryParser can't work with leading wildcards.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479710 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 22:52:00 +00:00
Michael McCandless 8c6e38ee60 LUCENE-4976: add missing sync / delete old save files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479394 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:06:10 +00:00
Adrien Grand fa76c30147 LUCENE-4963: Completely remove deprecated options in 5.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479171 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 20:25:51 +00:00
Adrien Grand 8a7f2b6cc4 LUCENE-4963: Deprecate broken TokenFilter options.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479148 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 18:18:08 +00:00
Adrien Grand d46e7bbdb5 Fix compiler warning and avoid useless assignation to local variable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478870 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 16:48:03 +00:00
Adrien Grand 64dfbfdfb2 LUCENE-4946: Re-add the random-access checks that have been lost during refactoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478801 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 14:11:14 +00:00
Adrien Grand b895ebde43 LUCENE-4946: Refactor SorterTemplate (now Sorter).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478785 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 13:37:45 +00:00
Michael McCandless aec9d12e9b make SearcherAndTaxonomy ctor public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478729 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:17:17 +00:00
Michael McCandless efeaac746a LUCENE-4976: use single file to hold PersistentSnapshotDeletionPolicy state on disk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478726 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:13:19 +00:00
Shai Erera e2c54ff680 LUCENE-4972: DirectoryTaxonomyWriter makes a commit even if no changes were made
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478638 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 03:52:50 +00:00
Michael McCandless 30e43c836a LUCENE-4973: Persistent/SnapshotDeletionPolicy no longer require a unique id
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478452 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 17:16:07 +00:00
Michael McCandless 7b90561178 LUCENE-4967: move NRTManager entirely into a reopen thread so it can interact with any ReferenceManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478438 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 16:44:36 +00:00
Shai Erera 618608fa64 LUCENE-4974: CommitIndexTask broken if no params are set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478273 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 05:33:53 +00:00
Adrien Grand 2e7f226afe LUCENE-4970: Fix boost value of rewritten NGramPhraseQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478225 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 22:59:45 +00:00
Michael McCandless 46e43e1e8b also set IW's infoStream in LTC.newIndexWriterConfig, so we get a new messageID each time an IW is created when running verbose
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477775 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:49:12 +00:00
Adrien Grand 48813fad0c TestSortingMergePolicy: Fix test bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:50:40 +00:00
Michael McCandless e5b6c85074 LUCENE-4968: fix several block join issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477570 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 11:35:36 +00:00
Michael McCandless 3d60bd10d4 LUCENE-4965: add dynamic numeric range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477562 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 11:20:13 +00:00
Robert Muir 87d9ed18ad use a relative epsilon in case we get a crazy sim
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477453 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 02:48:46 +00:00
Michael McCandless 9e7d37df9d LUCENE-4966: add CachingWrapperFilter.sizeInBytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477349 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 21:23:10 +00:00
Michael McCandless 9fc0678da1 LUCENE-4964: allow custom per-dimension drill-down queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477315 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 20:12:09 +00:00
Michael McCandless 1de26ff2ee don't do random force merges when NoMergePolicy is in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476848 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 22:28:14 +00:00
Michael McCandless d5ebf16866 fix javadocs typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476787 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 15:17:04 +00:00
Uwe Schindler 6d15a5c911 Upgrade to forbidden-apis 1.3 (now with support for Java 8)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476769 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 13:57:52 +00:00
Adrien Grand b242be2680 LUCENE-4959: Fix incorrect return value in SimpleNaiveBayesClassifier.assignClass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476650 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 18:09:30 +00:00
Uwe Schindler 60151ce379 LUCENE-4953: Fixed ParallelCompositeReader to inform ReaderClosedListeners of its synthetic subreaders. FieldCaches keyed on the atomic childs will be purged earlier and FC insanity prevented. In addition, ParallelCompositeReader's toString() was changed to better reflect the reader structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476526 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 08:31:23 +00:00
Martijn van Groningen bdd509f21d Fixed test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476206 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 13:52:55 +00:00
Simon Willnauer 2bcdaaa114 LUCENE-4961: Filters should return null if they don't accept documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 13:30:06 +00:00
Adrien Grand a03e38d5d0 LUCENE-4955: Fix NGramTokenizer and NGramTokenFilter, and remove them from TestRandomChains' exclusion list.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476135 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 11:03:26 +00:00
Robert Muir 7cfcb26b92 SOLR-4761: add option to plug in mergedSegmentWarmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476026 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 02:18:25 +00:00
Michael McCandless c28b671ee4 fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1475920 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 19:27:05 +00:00
Michael McCandless 614199141f LUCENE-4738: only CheckIndex when the last commit is > segments_1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1475905 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 19:03:19 +00:00
Michael McCandless 992dab017e LUCENE-4951: cutover another freq -> cost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471738 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 22:20:20 +00:00
Michael McCandless 5ba67e9c74 LUCENE-4952: put CHANGES entry in the right place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471733 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 22:16:37 +00:00
Michael McCandless 3bcd6d4da0 LUCENE-4952: add method to force DrillSideways to keep all sub-scorers on the doc being collected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471732 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 22:14:49 +00:00
Michael McCandless dacc7f0166 LUCENE-4951: DrillSideways now uses Scorer.cost() to decide which scorer impl to use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471705 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 21:43:57 +00:00
Michael McCandless 160438c43a fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471617 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 19:53:20 +00:00
Simon Willnauer 72721860fd LUCENE-4766: Added a PatternCaptureGroupTokenFilter that uses Java regexes to emit multiple tokens one for each capture group in one or more patterns
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471347 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 10:21:04 +00:00
Uwe Schindler 8bf0797a22 LUCENE-4949: Make the version prefix ("SNAPSHOT") separately configurable to enable Jenkins use its BUILD_ID variable, cleanup code duplication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470975 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 14:17:17 +00:00
Adrien Grand ad6b4ea88b LUCENE-4936: Improve numeric doc values compression (for dates especially).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470948 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 13:38:57 +00:00
David Wayne Smiley 383af5c085 LUCENE-4945: added some getters to CustomScoreQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470816 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 05:21:13 +00:00
Michael McCandless 933fb1c3d0 factor out Asserting* from AssertingIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470715 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:01:47 +00:00
Robert Muir c5a5a77336 LUCENE-4948: Fix stinkbug in PostingsHighlighter (wrong array sizing on some jvms)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470642 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 18:09:46 +00:00
Robert Muir 89b08baab7 SOLR-2079: Add option to pass HttpServletRequest in the SolrQueryRequest context map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470614 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 16:44:16 +00:00
Steven Rowe ca4e843716 LUCENE-4810: position increment for first output token from EdgeNGramTokenFilter must be > 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470496 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 13:26:03 +00:00
Robert Muir 834f7da9d9 add file names to corrumption messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 16:38:09 +00:00
Steven Rowe f72566273c LUCENE-4944: Prepend 'v' to (currently numeric) id attributes for release sections, and fail with a nice message when encountering the same section more than once within a single release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470088 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 00:01:55 +00:00
Uwe Schindler 988f6ded54 Merged revision(s) 1470052 from lucene/dev/branches/branch_4x:
Merged revision(s) 1470051 from lucene/dev/branches/lucene_solr_4_3:
Add backwards entry for analysis factories. The duplicate API changes was already fixed by hossman.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470053 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 21:41:36 +00:00
Uwe Schindler 0541bad7dc Make the Lucene/Solr-provided forbidden api signature files use the new syntax in the forbidden-apis ANT task and provide a useful message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470024 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 20:29:21 +00:00
Michael McCandless 07b0e1cae7 add toString method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469959 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 17:16:59 +00:00
Robert Muir f98ac76130 LUCENE-4938: IndexSearcher.search() with sort doesnt do min(maxdoc, n)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469889 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 15:20:04 +00:00
Chris M. Hostetter 99b7358a84 4.3 CHANGES fix up: consolidate multiple 'API Changes' sections and move to just below backcompat so it's more obvious
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469600 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 22:25:18 +00:00
Shai Erera 7d2ef963f5 fix jdocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469536 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 19:41:32 +00:00
Simon Willnauer dd0b36d053 make sure the test is run on a separate atomic readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 16:10:46 +00:00
Simon Willnauer 9c3696f834 ToParentBlockJoinQuery throws exception on empty parent filter DocIdSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469212 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 07:55:14 +00:00
Simon Willnauer 48c702a79c add Version 4.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469030 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 19:16:50 +00:00
Robert Muir 8b19265294 LUCENE-4935: CustomScoreQuery has broken boosting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468952 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 14:58:30 +00:00
Uwe Schindler d3f02004d4 Merged revision(s) 1468638 from lucene/dev/branches/branch_4x:
LUCENE-4937: Fix incorrect sorting of float/double values (+/-0, NaN).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468640 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 22:12:44 +00:00
Robert Muir 44a25b2523 LUCENE-4504: move to 4.3 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468220 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 20:42:26 +00:00
Robert Muir cf311147a4 fix equals/hashcode bug in ComplexPhraseQuery (sorry jenkins)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468215 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 20:32:09 +00:00
Robert Muir 80c236e859 more new IndexSearcher -> newSearcher in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468208 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 20:15:45 +00:00
Robert Muir e8279926a2 LUCENE-4934: AssertingIndexSearcher should do basic QueryUtils/etc checks on every query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468181 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 18:47:16 +00:00
Adrien Grand 924e299014 LUCENE-4924: DocIdSetIterator.docID() must return -1 when the iterator is not positioned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468083 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 14:08:02 +00:00
Martijn van Groningen 3bd885f1e7 Make use of diamond operator in join module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467952 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 12:01:16 +00:00
Martijn van Groningen be363e6d1c Make use of the diamond operator in grouping module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467946 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 11:50:08 +00:00
Martijn van Groningen 5de5540557 LUCENE-4774: Added FieldComparator that allows sorting parent documents based on fields on the child / nested document level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467914 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 09:34:07 +00:00
Uwe Schindler b1391bef1c Update link in SysReq page (the old one is still valid and redirects, but to specific)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467761 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 10:44:04 +00:00
Uwe Schindler e9c5d07a12 LUCENE-4930: Reduce contention in older/buggy JVMs when using AttributeSource#addAttribute() because java.lang.ref.ReferenceQueue#poll() is implemented using synchronization.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467579 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 09:28:35 +00:00
Robert Muir 5032ea0010 speed up tests to run faster locally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467436 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:48:30 +00:00
Robert Muir a79c85d338 LUCENE-4896: make PassageFormatter abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 18:25:34 +00:00
Adrien Grand 8d8c559a5c LUCENE-4928: Stored fields/Term vectors: put a hard limit on the maximum number of documents per chunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467208 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 08:42:34 +00:00
David Wayne Smiley 8617036c20 LUCENE-4895: Spatial Disjoint predicate generic implementation, and now used by RecursivePrefixTreeStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467057 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 19:06:53 +00:00
Robert Muir 53061c4bf8 LUCENE-4926: speed up disjunctionmaxscorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466997 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 17:43:17 +00:00
Robert Muir 4de12fe628 make rat pickier if the license header is screwed up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466962 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 16:53:04 +00:00
Robert Muir eaef2538cc spelling and formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466928 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 15:46:57 +00:00
Robert Muir 4726814c82 disable random exceptions on open where we open a reader and do checks (it will be reset next time thru the loop)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466888 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 13:43:24 +00:00
Michael McCandless c197d2d420 reduce number of fleeting threads created by this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466884 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 13:38:33 +00:00
Shai Erera 3829e75dcc TestSearcherTaxoManager should extend FacetTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466791 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 08:33:46 +00:00
Robert Muir 8cfcf2befd fix missing javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466750 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 01:34:38 +00:00
Adrien Grand ef2f6e8699 AssertionError(String,Throwable) doesn't exist in Java 6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466732 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 23:26:25 +00:00
Steven Rowe c91f22b0b0 SOLR-4658:
- Fix class name shortening issues, for SimilarityFactory's, FieldType's, and analysis factories: persisted class names' original forms are preserved in both shortened form (e.g. 'solr.TextField') and fully qualified form (e.g. 'org.apache.solr.schema.TextField')
- luceneMatchVersion on analysis factories is now persisted only when explicitly specified in the original; previously the default value was persisted when it was absent in the original
- Add MockTokenFilterFactory

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:36:19 +00:00
Michael McCandless faf6419c2b add random IOExc on open to a couple tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466716 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:20:47 +00:00
Michael McCandless ffa48dd967 fix test to stop if indexing threads hits an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466714 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:18:06 +00:00
Adrien Grand 24376b1bd7 LUCENE-4903: Add AssertingScorer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466709 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:13:13 +00:00
Michael McCandless 6e24f5adf4 LUCENE-4738: simplify DirectoryReader.indexExists; fix IndexWriter with CREATE to succeed on a corrupted index; add random IOExceptions to MockDirectoryWrapper.openInput/createOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466706 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:02:24 +00:00
Adrien Grand 67d433ca28 LUCENE-4925: Fix IndexSearcher.search(..., Sort, ...).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466694 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 21:30:12 +00:00
Shai Erera 7e257c79fc LUCENE-4885: FacetsAccumulator did not set the correct value for FacetResult.numValidDescendants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466629 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 19:10:37 +00:00
Michael McCandless 8e6108528b LUCENE-3786: fix test to not rely on wall clock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466610 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 18:27:15 +00:00
Michael McCandless 2ef117e3cd LUCENE-4915: DrillSideways now allows drill down on fields that are not faceted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466580 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 17:34:32 +00:00
Michael McCandless 03694e7693 LUCENE-3786: add SearcherTaxonomyManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466548 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 16:25:22 +00:00
Robert Muir b2348c8494 LUCENE-4923: remove minShouldMatch/speed up DisjunctionSumScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466545 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 16:21:07 +00:00
Shai Erera a2524c00c2 LUCENE-4904: add descending sort order to NumericDocValuesSorter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466420 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 10:54:12 +00:00
Michael McCandless d8dd6c5d90 add javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466275 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 22:43:46 +00:00
Shai Erera e2e3e2bfda LUCENE-4858: add EarlyTerminatingSortingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466047 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 14:19:53 +00:00
Robert Muir 37a6474a8f LUCENE-4880: Fix MemoryIndex handling of empty string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466019 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:28:11 +00:00
Simon Willnauer 75c03eb548 LUCENE-4918: Highlighter closes the given IndexReader if QueryScorer is used with an external IndexReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465961 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 10:50:57 +00:00
Michael McCandless 8f54c7f34a fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465800 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 21:30:17 +00:00
David Wayne Smiley 9dc0040467 LUCENE-4916: Spatial Within RPT and shape simplification bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465679 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 16:49:01 +00:00
Tommaso Teofili ceaf4996c0 LUCENE-4917 - allowing ClassifierTestBase to be used not only for BytesRef classifiers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465575 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 09:14:34 +00:00
Michael McCandless 9b52638a84 LUCENE-4913: ordinal was 0 when all children are returned
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465372 13f79535-47bb-0310-9956-ffa450edef68
2013-04-07 12:18:22 +00:00
David Wayne Smiley a22e571189 LUCENE-4914: SpatialPrefixTree Cell.reset() forgot the 'leaf' flag.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465330 13f79535-47bb-0310-9956-ffa450edef68
2013-04-07 07:03:46 +00:00