Commit Graph

4676 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar c59ca69ec0 SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool size is 100. The limit has now been increased to 100. 2016-02-27 14:05:07 +05:30
Shalin Shekhar Mangar 41eb5e8542 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 13:10:51 +05:30
Shalin Shekhar Mangar 06053fc01c SOLR-8752: Add a test for SizeLimitedDistributedMap and improve javadocs 2016-02-27 12:35:58 +05:30
Shalin Shekhar Mangar c2bc93822d SOLR-8697: Fix precommit failure 2016-02-27 12:19:50 +05:30
markrmiller 54e7bb5f58 SOLR-8497: Only mark diectory as done if it was not previously in the cache. 2016-02-26 15:47:12 -05:00
markrmiller efb7bb171b SOLR-8697: Add synchronization around registering as leader and canceling. 2016-02-26 12:32:12 -05:00
Christine Poerschke 0ed625b107 SOLR-8734: fix (maxMergeDocs|mergeFactor) deprecation warnings: in solrconfig.xml <maxMergeDocs|mergeFactor> may not be combined with <mergePolicyFactory> and <maxMergeDocs|mergeFactor> on their own or combined with <mergePolicy> is a warning. 2016-02-26 15:51:46 +00:00
Noble Paul 6c0846107a SOLR-8726 : typo in file name 2016-02-26 15:43:51 +05:30
Jan Høydahl 9bb9b7900f SOLR-8737: Managed synonym lists do not include the original term in the expand 2016-02-26 01:26:30 +01:00
Gregory Chanan de119f0b5d SOLR-8735: Fix CheckHdfsIndexTest test failure 2016-02-25 00:18:22 -08:00
Tomas Fernandez Lobbe 730d10f145 SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00
Noble Paul 405e084a6c SOLR-7362: enabling more logs 2016-02-24 15:53:11 +05:30
Noble Paul bba7b82ab9 Merge remote-tracking branch 'origin/master' 2016-02-24 14:59:42 +05:30
Noble Paul d77cd3287d SOLR-872: move the embedded xml for schema and solconfig for .system collection to individual files 2016-02-24 14:59:07 +05:30
markrmiller 18bb8caede SOLR-8720: ZkController#publishAndWaitForDownStates should use #publishNodeAsDown. 2016-02-23 14:51:01 -05:00
markrmiller 8ac4fdd6bb SOLR-8696: Start the Overseer before actions that need the overseer on init and when reconnecting after zk expiration and improve init logic. 2016-02-23 13:59:04 -05:00
markrmiller 7d32456efa SOLR-8497: Merge indexes should mark it's directories as done rather than keep them around in the directory cache. 2016-02-23 13:15:01 -05:00
Noble Paul 9ce2d0d25d SOLR-8698: params.json can now have appends and invariants as well. 'useParams' specified in the requestHandler is always applied 2016-02-23 17:40:49 +05:30
Noble Paul 4d9d0c0011 SOLR-8719 renamed classes to make their usage generic 2016-02-23 16:14:49 +05:30
Noble Paul cf96432630 SOLR-8522: Make it possible to use ip fragments in replica placement rules , such as ip_1, ip_2 etc 2016-02-23 13:31:08 +05:30
Noble Paul e069d31086 SOLR-7362 2016-02-23 11:21:59 +05:30
Noble Paul 982654b795 Merge remote-tracking branch 'origin/master' 2016-02-23 06:32:33 +05:30
Noble Paul eb1f8e2409 SOLR-8377 removed an unnecessary for loop 2016-02-23 06:12:33 +05:30
Dennis Gove d6105334a0 SOLR-8666: Adds header 'zkConnected' to response of SearchHandler and PingRequestHandler
Header is used to notify the client when a connection to zookeeper has been lost and there is a possibility of stale data on the node the request is coming from.
2016-02-22 19:25:17 -05:00
Dennis Gove 2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
yonik 1203264640 SOLR-8691: Cache index fingerprints per searcher 2016-02-22 13:00:38 -05:00
yonik f47e6b2200 SOLR-8690: add solr.disableFingerprint system property 2016-02-22 12:44:30 -05:00
Christine Poerschke b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Noble Paul 5a15fed9f5 SOLR-8700 eliminate the java class for implicit plugins 2016-02-21 20:49:55 +05:30
markrmiller 2fd90cd489 SOLR-8575: Add missing assert. 2016-02-20 20:35:21 -05:00
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 9418369b46 SOLR-8697: Scope ZK election nodes by session to prevent elections from interfering with each other and other small LeaderElector improvements. 2016-02-19 17:06:38 -05:00
markrmiller 771f14cb6e SOLR-8656: PeerSync should use same nUpdates everywhere. 2016-02-19 16:41:49 -05:00
markrmiller 8cd53a076b SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and SolrCmdDistributor, which violates the lifecycle and can cause bugs. 2016-02-19 14:59:46 -05:00
markrmiller e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller 32fbca6ea7 SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification. 2016-02-19 14:33:50 -05:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
Noble Paul 8fe946bde2 Merge remote-tracking branch 'origin/master' 2016-02-18 16:28:19 -08:00
Noble Paul 2977efa922 updatd the test in according with SOLR-7984 2016-02-18 16:27:53 -08:00
anshum d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
yonik 5d2fb9cf69 doc: explain why peersync fingerprinting is sometimes off 2016-02-18 13:24:01 -05:00
yonik 091889cf79 tests: additional prefix facet tests 2016-02-18 12:19:41 -05:00
markrmiller 31437c9b43 SOLR-8416: The collections create API should return after all replicas are active. 2016-02-17 13:37:08 -05:00
Mike McCandless 25931d3624 suppress IW's pending deletes check when creating SpellChecker 2016-02-16 17:41:05 -05:00
markrmiller 0bba332549 SOLR-7339: Jetty 9.3 upgrade. 2016-02-16 16:01:10 -05:00
markrmiller 9184d52f68 SOLR-8683: Always consume the full request on the server, not just in the case of an error. 2016-02-16 16:01:10 -05:00
markrmiller a40118c9df SOLR-8578: Fully consume proxy requests and move CHANGES entry to 6.0. 2016-02-16 13:16:02 -05:00
markrmiller 13dda5debb SOLR-8669: Non binary responses use chunked encoding because we flush the outputstream early. 2016-02-16 13:11:37 -05:00
Uwe Schindler 74421d729b LUCENE-7028: Remove duplicate method in LegacyNumericUtils 2016-02-14 00:49:21 +01:00
Uwe Schindler 779120c6a4 SOLR-5730: Workaround non-working javadocs link (cannot refer to classes from packages in other modules that already exist in lucene-core.jar) 2016-02-13 13:53:17 +01:00
Christine Poerschke f9df240e5c SOLR-5730: rename TestSegmentTerminateEarlyState to SegmentTerminateEarlyTestState 2016-02-12 23:41:30 +00:00
markrmiller 4cc844897e SOLR-8575: Fix HDFSLogReader replay status numbers, a performance bug where we can reopen FSDataInputStream much too often, and an hdfs tlog data integrity bug. 2016-02-12 15:58:06 -05:00
Christine Poerschke 677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00
Christine Poerschke 77558a649f SOLR-8621: SolrIndexConfig.toMap() fix to distinguish mergePolicyInfo and mergePolicyFactoryInfo, associated SolrIndexConfigTest and TestConfig tweaks. 2016-02-12 19:04:45 +00:00
Christine Poerschke 159ace1b7c SOLR-8621: solrconfig.xml in solr/server/solr/configsets and test-files/solr/configsets/bad-mergepolicy now also use <mergePolicyFactory> instead of <mergePolicy> 2016-02-11 20:41:35 +00:00
Christine Poerschke 360051a414 SOLR-8621: factor out protected abstract WrapperMergePolicyFactory.getMergePolicyInstance method
Here in SOLR-8621:
 * UpgradeIndexMergePolicyFactory extends WrapperMergePolicyFactory
 * (WrapperMergePolicyFactoryTest's) DefaultingWrapperMergePolicyFactory extends WrapperMergePolicyFactory

Elsewhere in SOLR-5730:
 * SortingMergePolicyFactory will extend WrapperMergePolicyFactory
2016-02-11 17:05:17 +00:00
Mike McCandless 12b8721a44 Merge branch 'jira/lucene-5438-nrt-replication' 2016-02-11 11:20:18 -05:00
markrmiller f6098148ae SOLR-8575: Revert while investigated. (reverted from commit ec4c72310f) 2016-02-11 08:32:37 -05:00
Christine Poerschke 6b6932e8e1 SOLR-8621: WrapperMergePolicyFactory logic tweaks
* fix so that getMergePolicy() can now be called more than once
 * added WrapperMergePolicyFactoryTest.testUpgradeIndexMergePolicyFactory()
 * account for overlap between wrapping and wrapped setters (and disallow it)
** illustration:
   <mergePolicyFactory class="UpgradeMergePolicyFactory">
      <int name="noCFSRatio">0.24</int>
      <str name="wrapped.prefix">mergePolicy</str>
                      <str name="mergePolicy.class">TieredMergePolicyFactory</str>
                      <int name="mergePolicy.noCFSRatio">0.42</int>
   </mergePolicyFactory>
** implementation details: the wrapping MP's setter calls the wrapped MP's setter and in the current code the wrapping MP's value prevails i.e. the 0.24 value in the illustration since the wrapped MP is constructed before the wrapping MP. an end-user however might reasonably assume that the wrapped MP's 0.42 value will prevail. at best configuring the same setter twice within the same overall <mergePolicyFactory> element is ambiguous and so the code now disallows it.
2016-02-10 22:24:15 +00:00
Christine Poerschke 5d32609cdc SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor 2016-02-10 16:28:06 +00:00
markrmiller 8299b00868 SOLR-7281: Improve 'best effort', we don't want this best effort method to easily throw exceptions. 2016-02-10 10:27:43 -05:00
Noble Paul b889109da1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-02-09 15:08:56 -08:00
Noble Paul 2184a7baf6 SOLR-6594 Mark old schema APIs as deprecated 2016-02-09 15:08:41 -08:00
Mikhail Khludnev eac3bb9b32 SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier. 2016-02-10 01:06:56 +03:00
Christine Poerschke b47eeb2bb3 SOLR-8621: more <mergePolicy> vs. <mergePolicyFactory> test coverage
* added bad-mpf-solrconfig.xml as MergePolicyFactory equivalent of bad-mp-solrconfig.xml (with DummyMergePolicyFactory as equivalent to DummyMergePolicy)

* added solrconfig-logmergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-logmergepolicy.xml

* added solrconfig-mergepolicyfactory-nocfs.xml as MergePolicyFactory equivalent of solrconfig-mergepolicy-nocfs.xml

* added solrconfig-indexconfig-mergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-indexconfig.xml

* added solrconfig-warmer-randommergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-warmer.xml
2016-02-09 17:47:05 +00:00
Jan Høydahl be807919b6 SOLR-3141: Warn in logs when expensive optimize calls are made 2016-02-09 15:37:25 +01:00
Christine Poerschke e9c90037aa SOLR-8621: TestMergePolicyConfig.testTieredMergePolicyConfig now randomly chooses between solrconfig-tieredmergepolicy.xml and solrconfig-tieredmergepolicyfactory.xml; solrconfig-tieredmergepolicyfactory.xml fix so that TestMergePolicyConfig.testTieredMergePolicyConfig passes. 2016-02-09 12:36:24 +00:00
Mike McCandless 88fea23176 turn off debug prints; add lucene.experimental to javadocs 2016-02-09 05:22:16 -05:00
Uwe Schindler 864df89339 More incorrect usage of default Locale 2016-02-09 08:49:39 +01:00
Uwe Schindler 8dddd88d30 Fix more locale bugs in SQL handler ans streams 2016-02-09 08:32:48 +01:00
markrmiller e78002bdc1 SOLR-7281: Add an overseer action to publish an entire node as 'down'. 2016-02-08 23:24:43 -05:00
Erick Erickson b5823b50db SOLR-8658: Fix test failure introduced in SOLR-8651 2016-02-08 19:38:25 -08:00
markrmiller 899f1fcf74 SOLR-8551: Make collection deletion more robust. 2016-02-08 21:39:01 -05:00
markrmiller ea21b8fae8 SOLR-8615: Just like creating cores, we should use multiple threads when closing cores. 2016-02-08 20:41:04 -05:00
Shai Erera 71f4e01d9f SOLR-8621: add missing package-info.java 2016-02-08 23:43:15 +02:00
Shai Erera fe2cf25079 SOLR-8621: Fix SolrIndexConfig.toMap() to use mergePolicyFactoryInfo if present 2016-02-08 23:20:13 +02:00
anshum 03d7f80b27 SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API 2016-02-08 13:15:46 -08:00
Shai Erera fc5b1ac279 SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory> 2016-02-08 22:41:51 +02:00
Erick Erickson 7053a99f49 SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries 2016-02-07 17:08:20 -08:00
jbernste a01c518b94 SOLR-8654: SQL: Unlimited SELECT without an ORDER BY should sort by _version_ desc 2016-02-07 18:17:21 -05:00
Erick Erickson f77feb718a SOLR-8642: SOLR allows creation of collections with invalid names 2016-02-07 14:52:40 -08:00
Erick Erickson c04f0cb603 Merge remote-tracking branch 'origin/master' 2016-02-06 08:34:30 -08:00
Erick Erickson 3e7fe7867f SOLR-8500: Allow the number of threads ConcurrentUpdateSolrClient StreamingSolrClients configurable by a system property 2016-02-06 08:34:04 -08:00
Mike McCandless d2a5c10326 Merge branch 'master' into lucene-6835
Conflicts:
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAddTaxonomy.java
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/TestCompactLabelToOrdinal.java
2016-02-05 12:38:21 -05:00
Uwe Schindler 4569fd732a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-02-05 00:07:50 +01:00
Uwe Schindler f6400e9cbb SOLR-8586: Fix forbidden APIS; cleanup of imports 2016-02-05 00:07:23 +01:00
Mark Miller ec4c72310f SOLR-8575: Fix HDFSLogReader replay status numbers and a performance bug where we can reopen FSDataInputStream too often. 2016-02-04 17:54:01 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
yonik 629767be06 SOLR-8586: add index fingerprinting and use it in peersync 2016-02-04 14:55:13 -05:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Noble Paul f85036cd9c SOLR-8640: CloudSolrClient does not send credentials for update request 2016-02-04 18:59:03 +05:30
Shai Erera 30455f728b LUCENE-7010: add MergePolicyWrapper 2016-02-04 09:24:24 +02:00
Mike McCandless 9cf74f791c merge master 2016-02-03 17:03:23 -05:00
Mike McCandless 845eec1036 cutover more places back to deleteFile 2016-02-03 15:44:08 -05:00
Mike McCandless 84f44589f6 migrate current patch from svn 2016-02-02 15:53:16 -05:00
Erick Erickson 70f87420ab SOLR-8308: Core gets inaccessible after RENAME operation with special characters 2016-02-02 11:23:48 -08:00
jbernste 2419a3873a SOLR-8510: Implement DatabaseMetaDataImpl.getSchemas() 2016-02-02 13:19:06 -05:00
jbernste c136bd7dc7 SOLR-8625: SQL: Wrong error msg if stmt param is missing 2016-02-01 16:52:01 -05:00
jbernste edf665988d SOLR-8508: Implement DatabaseMetaDataImpl.getCatalogs() 2016-02-01 16:21:13 -05:00
Steve Rowe 064c0ac00f SOLR-8607: The Schema API refuses to add new fields that match existing dynamic fields 2016-02-01 09:15:17 -05:00
Christine Poerschke 8e27c14aed SOLR-8600: add & use ReRankQParserPlugin parameter [default] constants, changed ReRankQuery.toString to use StringBuilder. 2016-02-01 12:00:39 +00:00
David Smiley 4cdce3db77 SOLR-7968: Make QueryComponent extensible 2016-01-31 22:25:37 -05:00
jbernste e20820a04d SOLR-8285: Ensure the /export handler works with NULL field values 2016-01-31 13:21:10 -05:00
yonik e6db8ba214 SOLR-8532: GraphQuery don't collect edges at maxDepth level 2016-01-29 10:59:49 -05:00
Christine Poerschke 9754da625c SOLR-8597: add default, no-op QParserPlugin.init(NamedList) method 2016-01-28 17:39:52 +00:00
Mark Miller 62c9b6a172 SOLR-8451: fix randomization in test. 2016-01-28 12:34:13 -05:00
jbernste 79e384bac5 SOLR-8602: Implement ResultSetImpl.wasNull() 2016-01-28 11:08:31 -05:00
yonik 105c6dfe26 SOLR-8605: fix regex queries starting with escaped forward slash 2016-01-27 18:53:17 -05:00
jbernste ad96fd0d89 SOLR-8601: RollupStream loses the type for group by buckets 2016-01-27 16:09:44 -05:00
yonik 85ae198033 SOLR-8598: better error message for unknown facet type 2016-01-26 10:19:20 -05:00
Christine Poerschke 2782f60744 SOLR-8566: SyncStrategy.syncWithReplicas initialCapacity tweak 2016-01-26 13:26:25 +00:00
jbernste c99698b6dd SOLR-8519: Implement ResultSetMetaDataImpl.getColumnCount() 2016-01-25 13:53:51 -05:00
Shai Erera d5ec561ded Add segments file info to Core admin status
The segments file name and size are useful information to know about
the current commit point.
2016-01-25 15:20:53 +02:00
Joel Bernstein 077e78f417 SOLR-8550: Add asynchronous DaemonStreams to the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726291 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 19:07:15 +00:00
Michael McCandless 860a5847b7 LUCENE-6980: fix a few more places to just use default (true) for applyAllDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726250 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 16:12:06 +00:00
Steven Rowe b2ee2d51c4 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726241 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:44:11 +00:00
Robert Muir 79572ada76 LUCENE-6986: add more DFI measures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726205 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 13:30:12 +00:00
Shai Erera 2311c7fee1 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Yonik Seeley 1ff6d6502d SOLR-8359: revert change of cached debug levels to statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726045 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 18:09:11 +00:00
Michael McCandless 29cb337377 LUCENE-6975: rename dimensional values to points; add ExactPointQuery to match documents containing exactly an indexed point
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725998 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 15:58:08 +00:00
Steven Rowe eb47a8b965 SOLR-4619: Improve PreAnalyzedField query analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725869 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 05:51:36 +00:00
Dennis Gove 6501f1891b SOLR-8556: Add ConcatOperation to be used with the SelectStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725769 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:08:16 +00:00
Christine Poerschke e58b14d228 SOLR-8566: ManagedResource.buildMapToStore initialCapacity tweak. ManagedResource.storeManagedData log.error tweak ("load data" instead of "load stop words").
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725752 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 16:35:39 +00:00
Christine Poerschke 16c53a0fea SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants, add CommonParamsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725708 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:43:25 +00:00
Dennis Gove 2d2582e4f4 SOLR-8559: FCS facet performance optimization
Significantly speeds up processing when terms are high cardinality and the matching docset is small. 
When facet minCount > 0 and the number of matching documents is small (or 0) this enhancement 
prevents considering terms which have a 0 count. Also includes change to move to the next non-zero 
term value when selecting a segment position.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725638 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 22:41:49 +00:00
Steven Rowe 0c6f032117 SOLR-8541: remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725586 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 18:34:53 +00:00
Varun Thacker a2e5c37c85 SOLR-8534: Add generic support for collection APIs to be async
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725474 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:32:14 +00:00
Christine Poerschke f0362f6248 SOLR-8566: TransformerFactory.defaultFactories initialCapacity tweak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725469 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:09:35 +00:00
Varun Thacker f48207168e SOLR-7907: Remove CLUSTERSTATUS exclusivity checks from the Overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725321 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 19:13:52 +00:00
Varun Thacker db7653e3ef SOLR-8564: Fix Embedded ZooKeeper to use <solrHome>/zoo_data for it's data directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725273 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:58:02 +00:00
Robert Muir 1a9f11ce45 LUCENE-6818: Add DFISimilarity implementing the divergence from independence model
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725205 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 09:24:22 +00:00
Alan Woodward ddf13a54a3 SOLR-8548: Core Discovery was not following symlinks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725196 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 09:05:24 +00:00
Michael McCandless 24c46305bd LUCENE-6971: remove StorableField, StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Yonik Seeley d231546a5f SOLR-8496: multi-select faceting and getDocSet(List<Query>) can match deleted docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725005 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 16:56:38 +00:00
Yonik Seeley 4633d125d1 tests: add typical caching to solrconfig-tlog.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724998 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 16:12:16 +00:00
David Wayne Smiley d3565b1d8f LUCENE-6976 SOLR-8541: BytesTermAttributeImpl.copyTo could NPE.
Could be triggered by trying to highlight a spatial RPT field.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724874 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 20:55:01 +00:00
Yonik Seeley 2a1d20b57a SOLR-8330: fix log4j.properties to match new name of log update processor logger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724826 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:44:06 +00:00
Christine Poerschke d804cc620d SOLR-8555: SearchGroupShardResponseProcessor (initialCapacity) tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724787 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 12:43:19 +00:00
Chris M. Hostetter 479c041ad4 SOLR-2798: remove deprecated methods from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724699 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 21:31:52 +00:00
Varun Thacker 40e0c5bf28 SOLR-8549: start script checks against failed cores as well before attempting to create a core with the same name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724680 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 20:04:09 +00:00
Chris M. Hostetter 57d85d8839 SOLR-2798: Fixed local params to work correctly with multivalued params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724679 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 19:54:58 +00:00
Christine Poerschke 1e1cdc9935 SOLR-6279: cores?action=UNLOAD now waits for the core to close before unregistering it from ZK.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724654 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 16:54:51 +00:00
Mark Robert Miller 7fb1f77206 SOLR-8547: Raise time we will wait for recoveries to finish from 30 to 45 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724622 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 14:40:01 +00:00
Timothy Potter 6b850bca1d SOLR-8456: Raise the time we wait to see replicas recover to allow for slower test envs like Jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724537 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 05:51:17 +00:00
Gregory Chanan ae1da6ba16 SOLR-8415: Provide command to switch between non/secure mode in ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724532 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 00:33:34 +00:00
Mark Robert Miller bff4ab0cd9 SOLR-8453: Only consume input here if exp != null, otherwise it is done in writeResponse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724529 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 23:58:06 +00:00
Dennis Gove f6ede1b42f SOLR-7525: Add ComplementStream and IntersectStream to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724468 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 17:41:41 +00:00
Mark Robert Miller a8b5101119 SOLR-8453: Solr should attempt to consume the request inputstream on errors as we cannot count on the container to do it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724450 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 16:24:07 +00:00
Yonik Seeley 435162104d SOLR-8312: add numBuckets and domainSize to facet telemetry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724341 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 00:50:57 +00:00
Joel Bernstein c3f7730717 SOLR-8002: Added more test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724323 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 21:12:04 +00:00
Joel Bernstein f3dd997f65 SOLR-8002: Add column alias support to the Parallel SQL Interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724319 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:47:33 +00:00
Christine Poerschke 4ca99387a3 SOLR-839: in XmlQParserPlugin replace "UTF8" with StandardCharsets.UTF_8 as suggested by LUCENE-5560.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724318 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:44:52 +00:00
Christine Poerschke 284ff5235d SOLR-839: XML QueryParser support (deftype=xmlparser)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724293 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 17:49:28 +00:00
Noble Paul 0a55d57763 added a getBoolean() method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724169 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 06:34:34 +00:00
Christine Poerschke c5883d54b9 SOLR-5209: Unloading or deleting the last replica of a shard now no longer cascades to remove the shard from the clusterstate.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724098 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 17:52:48 +00:00
Varun Thacker e47edb0ebd SOLR-8476: Removed Persist action and minor cleanups to CoreAdminHandlerm also moved the CHANGES entry to the correct section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724074 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 16:13:35 +00:00
Yonik Seeley fa3b4c9623 SOLR-8472: tests - pull up common errorHook code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 15:54:38 +00:00
Mark Robert Miller 4fe47d1934 SOLR-8533: Raise default maxUpdateConnections and maxUpdateConnectionsPerHost to 100k each.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724030 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 14:07:32 +00:00
Shai Erera 556202dfca SOLR-8475: Some refactoring to SolrIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723910 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 08:30:26 +00:00
Mark Robert Miller 7986b8248f SOLR-8468: Raise some test zk connection timeouts up from 10 seconds and remove some test timeout magic numbers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723888 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 22:42:46 +00:00
Erik Hatcher 8826ea070a SOLR-7042: bin/post defaults application/json to /update/json/docs now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723879 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 19:30:21 +00:00
Michael McCandless 5e3f72645c SOLR-8525: fix a few places that were failing to pass dimensional values settings when copying a FieldInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723845 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 11:13:17 +00:00
Christine Poerschke 2580956b8b SOLR-8505: core/DirectoryFactory.LOCK_TYPE_HDFS - add & use it instead of String literals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723751 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:59:36 +00:00
Dennis Gove fe4d702f83 SOLR-8479: Add JDBCStream to Streaming API and Streaming Expressions for integration with external data sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723749 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:56:33 +00:00
Christine Poerschke 6ad14b34dd SOLR-8504: (IndexSchema|SolrIndexConfig)Test: private static finals for solrconfig.xml and schema.xml String literals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723687 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 11:06:33 +00:00
Mark Robert Miller 53c72a9ebd SOLR-8451: We should not call method.abort in HttpSolrClient or HttpSolrCall#remoteQuery and HttpSolrCall#remoteQuery should not close streams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723615 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:37:49 +00:00
Shalin Shekhar Mangar 96360c78c4 SOLR-7339: Revert Jetty 9.3 upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00
Christine Poerschke 33fc06036f SOLR-8484: refactor update/SolrIndexConfig.LOCK_TYPE_* into core/DirectoryFactory.LOCK_TYPE_*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723564 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 14:34:39 +00:00
Tomas Eduardo Fernandez Lobbe c87b01af02 SOLR-8477: Let users choose compression mode in SchemaCodecFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723427 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 22:37:51 +00:00
Shalin Shekhar Mangar 8ac7d3fce5 Fix javadoc warning: javadoc pointing to itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723422 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 22:22:08 +00:00
Shalin Shekhar Mangar 16a787a850 SOLR-8498: Improve error message when a large value is stored in an indexed string field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723419 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 22:19:49 +00:00
Joel Bernstein 9f7f89fc97 SOLR-8433: Change how HttpClient is initialized in attempt to eliminate test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723397 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 18:16:25 +00:00
Shalin Shekhar Mangar 71a18c4ddc SOLR-8494: SimplePostTool and therefore the bin/post script cannot upload files larger than 2.1GB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723360 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 16:23:20 +00:00
Christine Poerschke 21ed3b7ffa SOLR-8482: add & use QueryCommand.[gs]etTerminateEarly accessors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723358 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 16:13:06 +00:00
Christine Poerschke c76b72f448 SOLR-8490: in SolrIndexSearcher.java use QueryCommand.getLen() instead of the (private) QueryCommand.len
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723338 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 14:47:28 +00:00
Christine Poerschke 784788c646 SOLR-8490: in QueryComponent.java import search.grouping.distributed.command.QueryCommand.Builder instead of search.grouping.distributed.command.QueryCommand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723301 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 12:28:28 +00:00
Christine Poerschke 32330252b9 SOLR-8489: TestMiniSolrCloudCluster.createCollection to support extra & alternative collectionProperties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723162 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 20:52:35 +00:00
Christine Poerschke bcf325868a In RankQuery.java removed two duplicate import clauses.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723050 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 12:20:24 +00:00
Christine Poerschke 3dcb080f02 SOLR-8483: relocate 'IMPORTANT NOTE' in open-exchange-rates.json test-file to avoid OpenExchangeRatesOrgProvider.java warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723040 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 10:54:12 +00:00
Joel Bernstein 26a1d1ea34 SOLR-7535: Add UpdateStream to Streaming API and Streaming Expression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722990 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 00:32:29 +00:00
Noble Paul 6a9c381c07 SOLR-8476: COreAdminHandler refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722900 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 15:48:12 +00:00
Noble Paul b7685e057b SOLR-8476: Refactored CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722884 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 14:57:04 +00:00
Christine Poerschke 817fabc70c SOLR-8481: TestSearchPerf no longer needs to duplicate SolrIndexSearcher.(NO_CHECK_QCACHE|NO_CHECK_FILTERCACHE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722869 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 13:50:08 +00:00
Christine Poerschke ca6f9c5be6 Replaced TMP with TieredMergePolicy in 2 tests' assert messages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722836 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 10:48:51 +00:00
Noble Paul d66bc6b4be SOLR-8470: Make TTL of PKIAuthenticationPlugin's tokens configurable through a system property
(pkiauth.ttl)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722811 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 09:38:46 +00:00
Noble Paul c9b7af0450 SOLR-8476: Refactor and cleanup CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722788 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 05:41:31 +00:00
Noble Paul c54ef96f20 SOLR-8476: Refactor and cleanup CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722738 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 18:03:49 +00:00
Ramkumar Aiyengar 8127db872f SOLR-8418: Adapt to changes in LUCENE-6590 for use of boosts with MLTHandler and Simple/CloudMLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722478 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 23:31:25 +00:00
Noble Paul a2a463d787 SOLR-7462: AIOOBE in RecordingJSONParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722218 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 18:45:38 +00:00
Yonik Seeley 891ab3636a SOLR-8472: tests - fix NPE in chaos tests debug hook
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722197 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 17:50:32 +00:00
Shalin Shekhar Mangar ef103c674a SOLR-8276: Atomic updates and realtime-get do not work with non-stored docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722009 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 21:42:11 +00:00
Shalin Shekhar Mangar 7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Mikhail Khludnev 2897b29d53 SOLR-5743: introducing BlockJoinFacet*Component which are acting on child.facet.field request parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721644 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 17:04:56 +00:00
David Wayne Smiley ef2aa314c5 SOLR-8460: /analysis/field could throw exceptions for custom attributes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721638 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 16:25:59 +00:00
Yonik Seeley b650fe38f8 SOLR-8436: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721593 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 02:59:53 +00:00
Joel Bernstein da9479ca55 SOLR-8433: Move logging for HttpClientConfigurer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721592 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 02:43:02 +00:00
Yonik Seeley c5e2b3508e SOLR-8436: filters for realtime-get
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721585 13f79535-47bb-0310-9956-ffa450edef68
2015-12-23 23:16:13 +00:00
Shai Erera 98f078aeb5 SOLR-8455: Improve RecoveryStrategy logging and fix interval-between-recovery-attempts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721531 13f79535-47bb-0310-9956-ffa450edef68
2015-12-23 12:16:50 +00:00
Christine Poerschke c4b6008e38 SOLR-8452: replace "partialResults" occurrences with SolrQueryResponse.RESPONSE_HEADER_PARTIAL_RESULTS_KEY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721450 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 19:28:15 +00:00
Michael McCandless fabc3b903d LUCENE-6939: add exponential reciprocal scoring mode to BlendedInfixSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721330 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 10:26:38 +00:00
Christine Poerschke 6c7fa7b644 Removed never used 'import org.apache.solr.common.SolrInputDocument' in QueryEqualityTest.java.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721222 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 18:07:17 +00:00
David Wayne Smiley 822785a15f SOLR-8059: debug=results&distrib.singlePass=true can NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721203 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 16:00:25 +00:00
Shalin Shekhar Mangar 31db352414 SOLR-8428: Remove unused imports including an internal Java8 class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721194 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 15:34:11 +00:00
Joel Bernstein 413c0b91bb SOLR-8433: Adding logging for HttpClientConfigurer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721176 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 15:01:33 +00:00
Christine Poerschke c4db8d57a4 SOLR-8317: use responseHeader and response accessors to SolrQueryResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721170 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 14:39:21 +00:00
Mark Robert Miller a38a69a979 SOLR-8371: The Future field should now be a local variable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721158 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 14:00:38 +00:00
Noble Paul 0afacabbcd SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
the collection

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721142 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 12:37:27 +00:00
Noble Paul 01a72b3b3f SOLR-8428: RuleBasedAuthorizationPlugin adds an 'all' permission
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721097 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 07:11:14 +00:00
Joel Bernstein 60a5da24eb SOLR-8443: Change /stream handler http param from stream to expr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720849 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 21:38:17 +00:00
Mark Robert Miller 84005ad61f SOLR-8279: One of two tests was not calling TestInjection#clear after using it. Call clear in the Solr base test class instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720841 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 19:02:30 +00:00
Michael McCandless 602a1f50e7 SOLR-7865: BlendedInfixSuggester was returning more results than requested
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720832 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 18:07:17 +00:00
Yonik Seeley 63e5b30751 SOLR-8230: JSON Facet API: add facet-info to debug when debugQuery=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720823 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 16:44:21 +00:00
Christine Poerschke 6e4bb7c60f SOLR-8317: add responseHeader and response accessors to SolrQueryResponse. TestSolrQueryResponse tests for accessors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720822 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 16:39:35 +00:00
Mark Robert Miller 8416038b6e SOLR-8407: We log an error during normal recovery PeerSync now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720813 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 15:36:09 +00:00
James Dyer 0e0517414c SOLR-8364: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720810 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 15:28:06 +00:00
Mark Robert Miller 9794ec7705 SOLR-8015: HdfsLock may fail to close a FileSystem instance if it cannot immediately obtain an index lock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720773 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 12:44:36 +00:00
Joel Bernstein a7569ce25b SOLR-8433: Adding logging for schemes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720768 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 12:35:40 +00:00
Noble Paul 4acfcd061a SOLR-8429 precommit error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720732 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 09:13:58 +00:00
Noble Paul eb0ce24e8a SOLR-8434: Add a flag 'blockUnknown' to BasicAuthPlugin to block unauthenticated requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720729 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 08:40:38 +00:00
Mark Robert Miller 29f6dfe7ed SOLR-8371: Try and prevent too many recovery requests from stacking up and clean up some faulty cancel recovery logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720718 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 04:01:03 +00:00
David Wayne Smiley 46392dde41 SOLR-8419: TermVectorComponent: fix accidental inclusion of docs when distrib.singlePass. Remove 'uniqueKeyField' from response. distrib now requires a schema unique key.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720714 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 02:15:56 +00:00
Joel Bernstein 8eb40736d5 SOLR-8433: Adding logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720673 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 21:45:23 +00:00
James Dyer ade2f7e077 SOLR-4280: Allow specifying "spellcheck.maxResultsForSuggest" as a percentage of filter query results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720636 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 19:40:24 +00:00
Mark Robert Miller e2a9b04213 SOLR-8279: Close factories in unrelated test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720624 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 18:21:15 +00:00
Mark Robert Miller fe7ef38b2e SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster while indexing data and with random faults.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720613 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 17:08:10 +00:00
Joel Bernstein bd66345675 SOLR-8433: IterativeMergeStrategy test failures due to SSL errors on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720563 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 14:52:00 +00:00
Noble Paul ed5381fe19 SOLR-8434: Add wildcard support to role, to match any role in RuleBasedAuthorizationPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720550 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 13:49:43 +00:00
Shalin Shekhar Mangar 180d7828a7 SOLR-8426: Enable /export, /stream and /sql handlers by default and remove them from example configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 22:10:49 +00:00
Joel Bernstein d200689b2b SOLR-6398: Add IterativeMergeStrategy to support running Parallel Iterative Algorithms inside of Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720422 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 19:44:43 +00:00
Christine Poerschke e145747165 SOLR-8388: ReturnFieldsTest.testToString() fix (don't assume ordering within sets' values)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720253 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 21:12:18 +00:00
Yonik Seeley a3b62326a3 SOLR-8372: continue buffering if recovery is canceled/failed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720250 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 21:06:32 +00:00
Noble Paul a1951a4469 SOLR-8410: Add all read paths to 'read' permission in RuleBasedAuthorizationPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720223 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 19:00:51 +00:00
Christine Poerschke fc09a4729f SOLR-8388: more TestSolrQueryResponse.java tests; add SolrReturnFields.toString method, ReturnFieldsTest.testToString test;
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720160 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 13:50:51 +00:00
Shalin Shekhar Mangar a85c7d3b39 SOLR-8131: Use SolrResourceLoader to instantiate ManagedIndexSchemaFactory when no schema factory is specified in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720083 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 08:00:55 +00:00
Erick Erickson 5e587ab4d1 SOLR-2649: MM ignored in edismax queries with operators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720062 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 02:08:51 +00:00
Christine Poerschke 1d6b78efdb SOLR-8352: randomise unload order in UnloadDistributedZkTest.testUnloadShardAndCollection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719908 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 13:35:30 +00:00
Dennis Gove 1fc12ffd41 SOLR-7904: Add StreamExpression Support to FacetStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719838 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 21:21:52 +00:00
Michael McCandless 7da175b0b6 LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Christine Poerschke 78197cb8f5 SOLR-8404: tweak SolrQueryResponse.getToLogAsString, add TestSolrQueryResponse.testToLog (Christine Poerschke)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719503 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 19:25:48 +00:00
Christine Poerschke 8575e3fb3a LUCENE-6925: add ForceMergePolicy class in lucene test-framework and RandomForceMergePolicy class in solr test-framework, plus Test[Random]ForceMergePolicy test classes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719449 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 15:19:29 +00:00
Christine Poerschke 2464d1a2fa SOLR-8383: SolrCore.java + QParserPlugin.java container initialCapacity tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719342 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 10:59:16 +00:00
Varun Thacker 5e03927a8c SOLR-6992: Fix Files UI to show the managed-schema file as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719261 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 05:38:38 +00:00
Joel Bernstein 60dca1b4f9 SOLR-8337: Add ReduceOperation and wire it into the ReducerStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719246 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 02:28:25 +00:00
Christine Poerschke a86b9bb80e SOLR-8388: factor out response/TestSolrQueryResponse.java from servlet/ResponseHeaderTest.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719116 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 17:21:53 +00:00
Erick Erickson 99550b5c8a SOLR-8378: Add upconfig and downconfig commands to the bin/solr script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719099 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:32:33 +00:00
Adrien Grand ddb3a97678 LUCENE-6919: Make Scorer expose an iterator instead of extending DocIdSetIterator.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719081 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 13:43:50 +00:00
Christine Poerschke d33ca97167 SOLR-8305: replace LatLonType.getValueSource's QParser use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719080 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 13:36:53 +00:00
Mark Robert Miller 0f0b3ff8e5 SOLR-8367: Fix the LeaderInitiatedRecovery 'all replicas participate' fail-safe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718987 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 23:30:35 +00:00
Joel Bernstein e04981edc7 SOLR-8266: Remove Java Serialization from the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718947 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 19:52:28 +00:00