Commit Graph

2877 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 1ab2c1c6eb Fix typo, rf is actually 3 in code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602210 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 15:45:08 +00:00
Noble Paul 51412938e5 SOLR-6048 the assert was not really failing the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Shalin Shekhar Mangar 41fc77fa33 SOLR-6056: Don't publish recovery state until recovery runs to avoid overwhelming the overseer state queue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602123 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 11:18:33 +00:00
Joel Bernstein 94b5cbe462 SOLR-6150: Improving AnalyticsMergeStrategyTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601997 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 19:35:19 +00:00
Uwe Schindler 386ad97623 SOLR-5940: post.jar reports back detailed error in case of error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601970 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 17:50:45 +00:00
Uwe Schindler 9e91ecf59f Fix test bug on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601893 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 13:38:08 +00:00
Steven Rowe 1b049e26ac SOLR-6145: In AddSchemaFieldsUpdateProcessor.processAdd(), handle ManagedIndexSchema.addFields() failures that won't benefit from retrying.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 21:23:09 +00:00
Steven Rowe 5f2af20b04 SOLR-6145: Fix Schema API optimistic concurrency by moving it out of ManagedIndexSchema.add(Copy)Fields() into the consumers of those methods: CopyFieldCollectionResource, FieldCollectionResource, FieldResource, and AddSchemaFieldsUpdateProcessorFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601770 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 20:57:00 +00:00
Alan Woodward 0b621ca842 SOLR-6158: Fix configSetBaseDir path resolution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601758 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 19:48:11 +00:00
Uwe Schindler 43a3f7edb8 SOLR-6157: Disable test that hangs indefinitely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601678 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 16:39:48 +00:00
Joel Bernstein bcdd9d7ad8 SOLR-6150: Add new AnalyticsQuery to support pluggable analytics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601664 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 15:08:48 +00:00
Anshum Gupta 84e1847228 SOLR-6123: Fix an occasional failing Jenkins build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601521 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 22:59:00 +00:00
Chris M. Hostetter 3e7f0ae52e SOLR-6067: Refactor duplicate Collector code in SolrIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601511 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 21:26:26 +00:00
Shalin Shekhar Mangar 07aeef7a71 SOLR-6149: Specifying the query value without any index value does not work in Analysis browser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601317 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 06:38:28 +00:00
Anshum Gupta fde58d3d67 SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601047 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:53:56 +00:00
Chris M. Hostetter 247464ae9c SOLR-5285: use FieldType methods to be less brittle
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601044 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:48:48 +00:00
Anshum Gupta df6d417c44 SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601038 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 23:44:43 +00:00
Chris M. Hostetter db538d864c SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Joel Bernstein 77edd9d5ac SOLR-6088: Add query re-ranking with the ReRankingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600720 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 18:28:30 +00:00
Robert Muir 8f267c8560 LUCENE-5703: BinaryDocValues producers don't allocate or copy bytes on each access anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600688 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:54:49 +00:00
David Wayne Smiley eee1f14787 SOLR-6103: DateRangeField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600557 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:05:27 +00:00
David Wayne Smiley 1e24c0218f SOLR-6103: Add QParser arg to AbstractSpatialFieldType.parseSpatialArgs(). Make getQueryFromSpatialArgs protected no private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600556 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:04:36 +00:00
Anshum Gupta 19da2d5f1e SOLR-6123: Make CLUSTERSTATE Api unblocked and non-blocking always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600535 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 23:02:56 +00:00
Robert Muir 9e6c1432a6 LUCENE-5731: split out direct packed ints from in-ram ones
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600412 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 18:26:04 +00:00
Steven Rowe d330799888 LUCENE-5650: Reset solr.hdfs.home correctly to allow TestRecoveryHdfs tests to pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600310 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 15:49:05 +00:00
Dawid Weiss fc27c11d17 SOLR-6119: refactored doTestBackup into a separate class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599943 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 06:11:24 +00:00
Uwe Schindler 5dbdedb42f LUCENE-5678: Remove more seeking stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599568 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 14:22:40 +00:00
Simon Willnauer 2eed3f94d3 LUCENE-5725: MoreLikeThis#like now accetps multiple values per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599442 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 07:51:55 +00:00
Dawid Weiss bb9116c485 SOLR-6119: TestReplicationHandler attempts to remove open folders (and other fixes).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599422 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 06:21:14 +00:00
Anshum Gupta 22174ac432 SOLR-6026: Also check work-queue while processing a REQUESTSTATUS Collection API Call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599248 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 15:47:26 +00:00
Michael McCandless ef57126633 LUCENE-5711: fix solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598853 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 11:29:21 +00:00
Adrien Grand add1e44fd7 LUCENE-5700: Add oal.util.Accountable and make all classes that can compute their memory usage implement it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598470 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 07:01:31 +00:00
Dawid Weiss cc199eb1af SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598205 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 05:43:09 +00:00
David Wayne Smiley df42236e4a Fix cast. IntelliJ didn't seem to care.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598143 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:22:57 +00:00
David Wayne Smiley d61e0f7527 Auto index & optimize imports. And switch to java5 for-each in place of some iterators, generics issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598141 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:15:43 +00:00
David Wayne Smiley 36c9276bba SOLR-6118: expand.sort bug for function queries; needed to sort.rewrite(searcher)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598138 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 20:52:24 +00:00
Dawid Weiss 4c29d60c62 Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Joel Bernstein b6d96d1ca8 SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597921 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 03:02:13 +00:00
Joel Bernstein 1b9c63fc9d SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597775 13f79535-47bb-0310-9956-ffa450edef68
2014-05-27 13:19:15 +00:00
Shalin Shekhar Mangar a912f7f8f1 SOLR-6112: Increase default timeout of 10 seconds to 90 seconds to pass on slow machines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597391 13f79535-47bb-0310-9956-ffa450edef68
2014-05-25 05:20:57 +00:00
Adrien Grand ed66d23ebc LUCENE-5701: Move core closed listeners to AtomicReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597180 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 20:54:51 +00:00
Anshum Gupta f6452d8120 SOLR-5681: Add synchronization while printing tracking maps to a fix jenkins failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597137 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 17:37:06 +00:00
Shalin Shekhar Mangar 7954c8584d SOLR-6111: The 'deleteshard' collection API should be able to delete a shard in 'construction' state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597077 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 12:33:15 +00:00
Timothy Potter 8a220db194 SOLR-6015: improved strategy for handling managed synonyms when ignoreCase=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596928 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 18:03:37 +00:00
Timothy Potter 1cc70e75fc SOLR-5468: Add a little wait for state to propagate after healing partitions; to address intermittent Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596916 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 16:33:45 +00:00
Shalin Shekhar Mangar 75b9821eb4 SOLR-6101: Shard splitting doesn't work when legacyCloud=false is set in cluster properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596828 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 12:10:38 +00:00
Shalin Shekhar Mangar 2af3939769 SOLR-6104: The 'addreplica' Collection API does not support 'async' parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596822 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:58:07 +00:00
Shalin Shekhar Mangar 988df83885 SOLR-6108: Add support for 'addreplica' Collection API in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596819 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:50:31 +00:00
Dawid Weiss cf5a0caeb6 LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Timothy Potter 8ca3abe369 SOLR-5468: Improve reporting of cluster state when assertions fail; to help diagnose cause of Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596652 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:56:59 +00:00
Timothy Potter 6abe8b86c4 SOLR-5495: Print cluster state in assertion failure messages if a leader cannot be found to determine root cause of HttpPartitionTest failures in Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596636 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:05:53 +00:00
Robert Muir d1e607f5df LUCENE-5689: FieldInfo.setDocValuesGen should not be public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596553 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 12:23:28 +00:00
Shalin Shekhar Mangar 8c87db7a50 SOLR-5309: Fix DUP.processDelete to route delete-by-id to one sub-shard only. Enable ShardSplitTest again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596510 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 08:41:42 +00:00
Robert Muir 1e524542e1 make this assert more robust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596346 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 18:17:30 +00:00
Timothy Potter b49788abfe SOLR-5468: Add wait loop to see replicas become active after restoring partitions; to address intermittent Jenkins test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596234 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 13:20:28 +00:00
Timothy Potter b1035b1a9e SOLR-5495: Raise the amount of time the test waits for replicas to become active after partitions are healed (to address intermittent Jenkins failures)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596103 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 02:07:26 +00:00
Timothy Potter 195317786c SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Anshum Gupta c3692aa73d SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Uwe Schindler c4bdb2dad0 LUCENE-5678: Use FileOutputStream instead of RandomAccessFile to write index data. BufferedIndexOutput and related APIs were removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596057 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 21:08:16 +00:00
Robert Muir 7aeac4f07b LUCENE-4371: Replace IndexInputSlicer with IndexInput.slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595480 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 13:44:09 +00:00
Robert Muir 3c78c32c37 LUCENE-5666: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1595228 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:04:20 +00:00
Uwe Schindler 67b7b43b49 Simplify for Java 7, which has support for new IOException(message, cause)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595223 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 14:55:37 +00:00
Noble Paul db8a1c7338 log the message when required only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594801 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:46:19 +00:00
Joel Bernstein 18c9215bc1 SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594698 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 20:12:12 +00:00
Robert Muir c85da1a6a9 LUCENE-5666: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:46:44 +00:00
Robert Muir 2078b86ba7 LUCENE-5666: clear nocommits and fix precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594505 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:44:05 +00:00
Robert Muir 69d59acc31 LUCENE-5666: support the 2 crazy instances of insanity that are too hard for me to fix :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594492 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:05:47 +00:00
Robert Muir 7b63afc003 LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Robert Muir b3a556bb32 LUCENE-5666: remove insanity during distributed grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594452 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 04:22:07 +00:00
Robert Muir cce7c4db9c LUCENE-5666: still return missing count etc when there are no terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594445 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:57:38 +00:00
Robert Muir fe8dd29a74 LUCENE-5666: fix StatsComponent insanity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594441 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:25:48 +00:00
Robert Muir 9374fcc6e9 LUCENE-5666: fix rewrite bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594418 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:24:44 +00:00
Robert Muir ff8e841fa1 LUCENE-5666: fix test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594417 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:17:45 +00:00
Robert Muir 1829663cc7 LUCENE-5666: fix test and bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594327 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:55:27 +00:00
Robert Muir 85e4dc3300 LUCENE-5666: fix bug (null is no longer allowed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594316 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:27:03 +00:00
Robert Muir 37d3efbc62 LUCENE-5666: fix some tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594311 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:08:30 +00:00
Robert Muir c58788c27a LUCENE-5666: fix test to assert from raw reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594258 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 16:07:36 +00:00
Robert Muir 1489085807 LUCENE-5666: get solr started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594254 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 15:49:10 +00:00
Robert Muir 9714faa314 LUCENE-5666: get solr compiling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593856 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 20:38:21 +00:00
Timothy Potter b9e38c0a10 SOLR-5495: Fix HttpPartitionTest to dynamically select the port the Jetty and the SocketProxy binds to, was causing Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593791 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:51:09 +00:00
Robert Muir 9df7b5c7cf LUCENE-5666: current state to branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593790 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:49:39 +00:00
Ryan Ernst 050b0b8af9 SOLR-6043: Add ability to set http headers in solr response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593423 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:26:37 +00:00
Timothy Potter eb3beb2d70 SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Noble Paul b1a81fe2bc SOLR-5340 removing a nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593308 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:24:31 +00:00
Robert Muir 56ab1d1102 LUCENE-5654: Fix close methods that would suppress OOME or similar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593152 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 22:44:18 +00:00
Noble Paul 4a84567693 SOLR-5340: Add support for named snapshots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592957 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 10:12:29 +00:00
Uwe Schindler 0086a6e644 LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +00:00
Chris M. Hostetter e9d549b889 SOLR-6039: fixed debug output when no results in response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:54:08 +00:00
James Dyer 14d72257a6 SOLR-5090: SpellCheckComponent sometimes throws NPE when "spellcheck.alternativeTermCount" is set to zero
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592591 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:56:10 +00:00
Shalin Shekhar Mangar 88846a958d Fixed a few typos in the javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592572 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:04:15 +00:00
Robert Muir 6e9cbf3986 LUCENE-5638: pack the core attributes into one impl by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 14:36:27 +00:00
Shalin Shekhar Mangar d67884a07c SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592195 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 13:01:36 +00:00
Ryan Ernst ad37014a3a SOLR-6022: Rename getAnalyzer() to getIndexAnalyzer()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:34:25 +00:00
Chris M. Hostetter 6821905d24 SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591800 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 00:33:28 +00:00
Shalin Shekhar Mangar abe013d771 SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Shalin Shekhar Mangar a5c8d6b7a5 SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591555 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 07:39:39 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss 8c17d6c662 Marking known offenders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591218 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:24:13 +00:00
Michael McCandless f5de5d01e8 LUCENE-5611: simplify the default indexing chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591025 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 17:18:41 +00:00
Joel Bernstein 37e44ba41a SOLR-6029: CollapsingQParserPlugin throws ArrayIndexOutOfBoundsException if elevated doc has been deleted from a segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590865 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 04:43:07 +00:00
Robert Muir f0414ff3af LUCENE-5611: fix the crazy getAttribute API to prevent double lookups and extra code everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5611@1590731 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 18:13:15 +00:00
Ryan Ernst 0dea18dd2e SOLR-6017: Fix SimpleQParser to use query analyzer instead of index analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590166 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 22:18:24 +00:00
Steven Rowe 61ed64ed8e SOLR-6006: Separate test and compile scope dependencies in the Solrj ivy.xml file, so that the derived Maven dependencies get filled out properly in the Solrj POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589937 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 06:12:45 +00:00
Yonik Seeley 54cfa922ae SOLR-6011: ComplexPhraseQuery hashCode/equals fix for inOrder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589812 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 18:12:15 +00:00
Mark Robert Miller b25a5d00ab SOLR-5735: Try to enable this test again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589489 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 18:50:54 +00:00
Mark Robert Miller b74b88a823 SOLR-6002: CLOSE_LOCK does not need to be static, waitForMerges when DirectUpdateHandler2 closes the IndexWriter, add Greg to CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589327 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 01:01:45 +00:00
Mark Robert Miller 678758ae57 SOLR-6002: Fix a couple of ugly issues around SolrIndexWriter close and rollback as well as how SolrIndexWriter manages it's ref counted directory instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589294 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 21:23:31 +00:00
Ryan Ernst 056ba38708 SOLR-5999: Add checkIntegrityAtMerge support to solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589272 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 19:45:58 +00:00
Uwe Schindler 0e8a6d7d2f SOLR-5309: Disable test as it fails now almost every time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588903 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 15:33:36 +00:00
Robert Muir 14a9e19e18 LUCENE-5612: fix NativeFSLockFactory to pass LockStressTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588870 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 11:09:26 +00:00
Robert Muir ec0a9f1f13 LUCENE-5621: remove IndexOutput.flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-20 11:43:42 +00:00
Ryan Ernst 2af485f151 SOLR-5974: Remove ShardDoc.score and use parent's ScoreDoc.score
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588580 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 22:10:26 +00:00
Mark Robert Miller 07470a07f9 SOLR-5996: Fix checkIfDiffIsLegal, add some testing, refactor out a few methods into CloudInspectUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588486 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 15:00:25 +00:00
Shalin Shekhar Mangar a536cb3548 SOLR-5993: ZkController can warn about shard leader conflict even after the conflict is resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588415 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 05:30:37 +00:00
Mark Robert Miller bbad949644 SOLR-5776: *sigh* Revert this for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller abed84e836 SOLR-5989: Pass add and delete fails to checkShardConsistency call in ChaosMonkeyNothingisSafeTest so that legal differences are ignored.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588403 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:37:12 +00:00
Mark Robert Miller e2fb46a51e SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Erick Erickson c8bf11d202 add 'remove' as update option for atomically removing a value from a multivalued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588385 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 22:46:38 +00:00
Noble Paul bae74d6649 SOLR-5473 forbidden API usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587876 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 11:38:14 +00:00
Noble Paul 3cb0a855a0 SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Shalin Shekhar Mangar 67e6e24d44 Example schema ships with random_ dynamic field so use it instead of rand_ in the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587819 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 07:23:34 +00:00
Mark Robert Miller c7c9fc35a1 SOLR-5904: ElectionContext can cancel an election when it should not if there was an exception while trying to register as the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587702 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:28:45 +00:00
Mark Robert Miller 3800409581 SOLR-5980: Add a test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587149 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 04:47:19 +00:00
Mark Robert Miller a4133ca6c2 tests: harden this test due to a current short coming in the collections api.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587099 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 21:32:58 +00:00
Mark Robert Miller 856cdf8d3e SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +00:00
Michael McCandless bb639e561d LUCENE-5582: remove IndexOutput.length/setLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586743 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 18:46:43 +00:00
Robert Muir b72cd4b7d9 LUCENE-5573: Move docvalues constants and helper methods to o.a.l.index.DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586600 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 08:54:03 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Steven Rowe f58f711f73 SOLR-4864: RegexReplaceProcessorFactory should support pattern capture group substitution in replacement string.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586093 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:31:01 +00:00
Michael McCandless 8559eafd99 LUCENE-4246: fix IW.close to just close, even on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Noble Paul abd4de42a0 SOLR-5859 Fixing test errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 10:12:47 +00:00
Uwe Schindler 8674badf9d SOLR-5960: Add support for basic authentication in post.jar tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585057 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:46:42 +00:00
Dawid Weiss c72e8820a1 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1585024 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:02:57 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Adrien Grand 85642f59dd LUCENE-5527: Refactor Collector API to use a dedicated Collector per leaf.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584747 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:31:00 +00:00
Shalin Shekhar Mangar 39a1cb98ec SOLR-5749: Renamed some stat names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:12:24 +00:00
Dawid Weiss ee084bbe60 Cleanups and refactorings after Mark's suggestions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Noble Paul 77f452b45b SOLR-5859 improved logging, and fix a potential bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584271 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 07:07:50 +00:00
Uwe Schindler 21b6d9890e SOLR-5951: Fixed SolrDispatchFilter to throw useful exception on startup if SLF4j logging jars are missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584213 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:24:19 +00:00
Steven Rowe a3b46516f7 SOLR-5654: Create a synonym filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584211 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:09:08 +00:00
Robert Muir 0c0d026fea LUCENE-5563: remove sep layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584140 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 19:28:33 +00:00
Noble Paul 2b3e0bb9a6 SOLR-5859 removing accidental removal of SOLR-5908 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584115 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 18:10:06 +00:00
Steven Rowe e4e90c224f SOLR-5859: add OCP.getCollectionStatus() param description for 'clusterState' to stop 'ant precommit' bitching 'Javadoc: Description expected after this reference' and failing the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584108 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:51:11 +00:00
Chris M. Hostetter 80cce99ebc SOLR-5795: harden leader check to log cleanly (no NPE) in transient situations when there is no leader due to election in progress
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584097 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:20:11 +00:00
Shalin Shekhar Mangar a9e04127df SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584083 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:31:47 +00:00
Noble Paul 3fd2922341 SOLR-5859 Harden Overseer restart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584069 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 15:22:01 +00:00
Joel Bernstein e081587dea SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583802 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 21:37:05 +00:00
Chris M. Hostetter fe148ceb1a SOLR-5795: New DocExpirationUpdateProcessorFactory supports computing an expiration date for documents from the TTL expression, as well as automatically deleting expired documents on a periodic basis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583734 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 16:55:42 +00:00