Commit Graph

4676 Commits

Author SHA1 Message Date
Christine Poerschke a5d785a8e9 SOLR-9087: avoid IndexOutOfBoundsException in TestReplicationHandler.doTestIndexAndConfigAliasReplication 2016-05-10 09:58:34 +01:00
Erick Erickson f4359ff8ff SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:37:32 -07:00
Mikhail Khludnev 7571e747c3 SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 13:08:07 +03:00
Varun Thacker a969d99ce9 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-08 23:50:18 +05:30
Noble Paul d57e0de5ea SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:27:51 +05:30
yonik b42945ea92 SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:01 -04:00
jbernste 66fc6aaf8d SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest 2016-05-06 08:24:21 -04:00
Shalin Shekhar Mangar 1dd877545f SOLR-9036: Disable doTestIndexFetchOnMasterRestart 2016-05-06 02:27:11 +05:30
jbernste be1cb9a1cd SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 16:36:19 -04:00
Shalin Shekhar Mangar 51b131950d SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart 2016-05-05 21:00:20 +05:30
David Smiley 18d933ee65 SOLR-5750: Fix test to specify the collection on add 2016-05-05 09:41:47 -04:00
Shalin Shekhar Mangar f5497a33e2 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead 2016-05-05 05:22:03 +05:30
Shalin Shekhar Mangar c2662f24ac SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter 2016-05-05 05:16:39 +05:30
Jan Høydahl b6f8c6500e SOLR-9053: Fix attribution, apply the code refactor part from mdrob's patch 2016-05-04 23:19:55 +02:00
David Smiley 0a20dd47d1 SOLR-5750: Fix test to specify the collection on commit 2016-05-04 16:03:56 -04:00
Chris Hostetter c47279dce9 SOLR-9061: SuppressSSL on TestDistributedSearch for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter ac4574b2e4 SOLR-9062: SuppressSSL on TestDistributedStatsComponentCardinality for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter 9677e2c54b SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines 2016-05-03 15:31:53 -07:00
jbernste fc6c24a9d4 SOLR-9059: NPE in SolrClientCache following collection reload 2016-05-03 13:04:21 -04:00
Noble Paul cf16f5d13d SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" 2016-05-03 15:56:25 +05:30
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -04:00
Adrien Grand 4fa2b29b20 LUCENE-7262: Leverage index statistics to make DocIdSetBuilder more efficient. 2016-05-02 15:04:27 +02:00
Chris Hostetter 48f2b2a3bb SOLR-9028: relax the SSLHandshakeException expectation - in some platforms/java# diff IOExceptions are thrown 2016-04-29 09:54:56 -07:00
jbernste 3d3c3fb5fc SOLR-9027: Pull the TermsEnum once for each segment 2016-04-29 11:00:10 -04:00
jbernste 58ad591a64 SOLR-9027: Collect the TermContexts in createWeight 2016-04-29 10:13:37 -04:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
yonik c897917c71 SOLR-9034: fix atomic updates for copyField w/ docValues 2016-04-28 15:52:22 -04:00
jbernste 2c66d4b046 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-04-28 13:31:22 -04:00
Adrien Grand ef45d4b2e1 LUCENE-7261: Speed up LSBRadixSorter. 2016-04-28 18:20:41 +02:00
Christine Poerschke 3b4ec73595 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 13:09:28 +01:00
jbernste 9ce830d8f2 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-04-26 16:33:26 -04:00
jbernste d66f5515e6 SOLR-9027: Add GraphTermsQuery to limit traversal on high frequency nodes 2016-04-26 16:33:26 -04:00
Noble Paul 506d61abe7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-26 19:24:52 +05:30
Noble Paul 0233765c27 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:24:23 +05:30
Shalin Shekhar Mangar 922265b478 SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference 2016-04-26 01:50:26 +05:30
Christine Poerschke 666472b74f SOLR-9025: Add SolrCoreTest.testImplicitPlugins test. 2016-04-22 18:21:41 +01:00
Noble Paul 7b89d0f698 Merge remote-tracking branch 'origin/master' 2016-04-22 12:34:03 +05:30
Noble Paul 827c670d18 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-22 11:32:29 +05:30
markrmiller f3de223774 SOLR-8933: Solr should not close container streams. 2016-04-21 11:53:58 -04:00
Noble Paul e8cc19eb88 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-21 20:38:20 +05:30
markrmiller b44ca080d6 SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in the cluster state. 2016-04-20 12:05:15 -04:00
Scott Blum 71a5870ae7 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:46:34 -04:00
Dennis Gove 99ba1a8f99 SOLR-9015: Adds SelectStream as a default function in the StreamHandler 2016-04-19 20:43:45 -04:00
Chris Hostetter 16f905ff13 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 13:54:18 -07:00
Dennis Gove 2e95a54a52 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression 2016-04-19 11:17:28 -04:00
Uwe Schindler 186df5788b Fix Java 9 problem with static field leakage 2016-04-19 10:15:03 +02:00
Noble Paul 456d5c04c8 SOLR-8349: trying to address test failures 2016-04-19 13:09:59 +05:30
Steve Rowe 4ac2546e5b javadoc: DateField->TrieDateField 2016-04-18 16:59:46 -04:00
jbernste 8659ea33d9 SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals 2016-04-18 16:09:56 -04:00
anshum 84a6ff697e SOLR-8983: Cleanup clusterstate in case of a failed CREATE collection call 2016-04-18 11:19:50 -07:00
Timothy Potter 9d0da3156c SOLR-9007: remove mention of managed_schema_configs 2016-04-18 11:32:04 -06:00
Noble Paul 079221db2d more logging to get which server failed 2016-04-18 19:44:07 +05:30
Noble Paul 9a1880aee8 SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 15:51:19 +05:30
Varun Thacker 44c9cd2fe8 SchemaManager waits correctly for replicas to be notified of a new change 2016-04-17 21:56:58 +05:30
Christine Poerschke 3ab579b7ec SOLR-8938: add -x as short-form of --excluderegex ZkCLI arg 2016-04-15 15:52:53 +01:00
Noble Paul 09f92b7edf SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:03:22 +05:30
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Noble Paul 9313a6304b SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:23:51 +05:30
Dennis Gove eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -04:00
David Smiley 037a40316c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer 2016-04-14 13:51:57 -04:00
Timothy Potter b36a6ecbe4 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta 689e9664c5 SOLR:8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 12:10:26 -07:00
markrmiller 79195a8e54 SOLR-8899: Ignore thread leaks for this test - due to the HttpClient leak, the idle connection evictor thread can sometimes leak. 2016-04-13 10:45:09 -04:00
markrmiller 744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -04:00
markrmiller 6c9391df01 tests: raise wait time 2016-04-13 09:54:16 -04:00
yonik 93f9456e2a tests: better DocSetCollector tests, including better smallSetSize boundary testing 2016-04-09 19:21:27 -04:00
yonik cfba58f0d0 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:02 -04:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Christine Poerschke 93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01:00
Shalin Shekhar Mangar 4205b1c804 SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue 2016-04-06 11:56:27 +05:30
Gregory Chanan fd0d699747 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:01:40 -07:00
David Smiley 3bbf8aaa8a SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer. 2016-04-05 14:15:31 -04:00
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
Uwe Schindler d0156b1126 SOLR-4509: Fix test failures with Java 9 module system by doing a correct cleanup 2016-04-02 20:13:43 +02:00
markrmiller ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
jbernste 3500b45d6d SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:24:51 -04:00
nknize e1b45568b4 * LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional. 2016-03-30 18:14:20 -05:00
David Smiley 94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
markrmiller 34180ad5c3 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:33:14 -04:00
Ryan McKinley 6b7030d637 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:51:08 -07:00
Ryan McKinley ffd557b117 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:59:32 -07:00
Chris Hostetter f051f56be9 SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 11:02:55 -07:00
yonik 6f60ac21f3 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:31 -04:00
yonik e136d10817 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:43:55 -04:00
Kevin Risden dbee659174 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:49:21 -05:00
yonik ced7570e2c SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 11:56:17 -04:00
markrmiller 574da7667f SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-03-22 23:05:13 -04:00
markrmiller 9aeb745a7d SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-03-22 16:09:56 -04:00
Gregory Chanan cb1738360e SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:30:39 -07:00
markrmiller 93e96f688e SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:10:17 -04:00
Alan Woodward 04bd586071 SOLR-8837: Fix duplicate election node detection 2016-03-21 17:39:37 +00:00
Uwe Schindler b2a4003d4c SOLR-8082: Fix forbidden APIs 2016-03-21 00:09:15 +01:00
Steve Rowe 49d5ec02a2 SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:55:32 -04:00
Dennis Gove fecdec6c85 SOLR-5616: Simplifies grouping code to use ResponseBuilder.needDocList() to determine if it needs to generate a doc list for grouped results. 2016-03-20 13:30:29 -04:00
Dennis Gove e3b785a906 SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-03-20 11:13:56 -04:00
Uwe Schindler e3b7d82825 SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:58:31 +01:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
yonik 5ea86b14c3 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:58:27 -04:00
Noble Paul faa0586b31 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:34:50 +05:30
David Smiley a22099a398 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value 2016-03-17 13:22:16 -04:00