Commit Graph

24036 Commits

Author SHA1 Message Date
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 162d8caf77 LUCENE-6948: Fix ArrayIndexOutOfBoundsException in PagedBytes$Reader.fill by removing an unnecessary long-to-int cast. Also, unrelated, 2 ArrayList<>(initialCapacity) tweaks in getChildResources methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723787 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 20:06:23 +00:00
Tommaso Teofili 056940632d LUCENE-6854 - adjusted precision calculation, minor fix in SNBC test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723759 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 16:49:48 +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
Michael McCandless 57ed15678c LUCENE-6922: more improvements in the svn to git mirror workaround tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723747 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:53:36 +00:00
Michael McCandless 2dac01ae63 LUCENE-6960: fix test bug: SimpleText does not use per-field format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723741 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:36:50 +00:00
Tommaso Teofili d9f4eb84cf LUCENE-6854 - global confusion matrix precision and recall metrics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723729 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 14:23:12 +00:00
Michael McCandless bcf2913b9f LUCENE-6962: fix simple text dim values: writer was missing newlines, and max was incorrectly returning min
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723728 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 14:13:36 +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
Michael McCandless 9bc5058f7d LUCENE-6962: add min/max per dimension to dimensional values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723682 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 10:52:15 +00:00
Uwe Schindler 965100a167 SOLR-8453: Fix raw socket test to correctly use HTTP spec: headers in HTTP are US-ASCII, body's Content-Length is number of bytes (not chars!), PrintWriter swallows Exceptions and was not needed (Forbidden apis found the bug, but fix was incorrect)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723660 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 08:07:43 +00:00
Dennis Gove ac754fcd59 SOLR-8485: SelectStream now properly handles non-lowercase and/or quoted select field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723648 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 01:55:25 +00:00
Tomas Eduardo Fernandez Lobbe 819c59169b SOLR-8453: Fix precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723646 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 00:45:03 +00:00
Uwe Schindler a46d5535cb LUCENE-6965: Changed exception handling in JavascriptCompiler using "sneaky rethrow"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723642 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 23:38:14 +00:00
Uwe Schindler 5bfbcfdfc9 LUCENE-6964: String-based signatures in JavascriptCompiler replaced with better compile-time-checked MethodType; generated class files are no longer marked as synthetic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723636 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 22:24:06 +00:00
Tomas Eduardo Fernandez Lobbe cc546f4e39 Expression's JavascriptCompiler now throw ParseException with bad function names or bad arity instead of IllegalArgumentException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723631 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 21:50:04 +00:00
Mark Robert Miller 6bad259e8a SOLR-8450: Add CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723617 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:44:36 +00:00
Mark Robert Miller 098e12e21e SOLR-8450: Our HttpClient retry policy is too permissive.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:43:09 +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
Yonik Seeley fa640e6b69 SOLR-8453: test HTTP client error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723613 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:22:23 +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
Michael McCandless 1c58fd4608 LUCENE-6957: don't make this method final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723331 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 14:17:12 +00:00
Michael McCandless cc1ac528c1 LUCENE-6957: rename test case so we still run the same test name from the base class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723330 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 14:16:18 +00:00
Adrien Grand fe0f475e5f LUCENE-6957: Don't remove the temporarily created file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723320 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 13:46:01 +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
Michael McCandless 2aa14f92d2 LUCENE-6957: add missing NRTCachingDirectory.createTempOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723259 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 09:56:17 +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
Uwe Schindler d3d524428b LUCENE-6958: Improve CustomAnalyzer to take class references to factories as alternative to their SPI name. This enables compile-time safety when defining analyzer's components
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723027 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 09:44:27 +00:00
Uwe Schindler 214f48c9bd LUCENE-6961: Add exception message; make method private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723013 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 08:12:21 +00:00
Uwe Schindler a31bd9f2eb LUCENE-6961: Improve Exception handling in AnalysisFactories / AnalysisSPILoader: Don't wrap exceptions occuring in factory's ctor inside InvocationTargetException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722993 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 01:33:52 +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
Jan Høydahl d478d7a293 SOLR-8486: No longer require jar/unzip for bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722988 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 23:39:52 +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 7ba2b5d7d8 LUCENE-6949: fix (potential) resource leak in SynonymFilterFactory (https://scan.coverity.com/projects/5620 CID 120656)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722856 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 12:19:38 +00:00
Michael McCandless 3a29f0ebe1 LUCENE-6956: make sure specific test method fails, instead of relying on 'unhandled exc in thread' from test framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722843 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 11:10:35 +00:00