Commit Graph

4993 Commits

Author SHA1 Message Date
Christine Poerschke ff359248b3 In AddUpdateCommand remove one unused local and the getSchema.getUniqueKeyField method call that initialises it. 2016-09-30 13:47:27 +01:00
Christine Poerschke fe1b290e40 Removes some unused locals in solr/core request and response packages. 2016-09-30 13:47:27 +01:00
Alan Woodward ef747c8445 SOLR-9556: Exit failover thread on interrupt 2016-09-30 09:05:43 +01:00
Mikhail Khludnev 64b0c91df1 SOLR-9554: fix NullPointerException when cores move schema.xml to
managed-schema concurrently. No new test added yet.
2016-09-30 08:03:20 +03:00
Joel Bernstein 8f00bcb1a0 SOLR-9258: Fix precommit 2016-09-29 18:03:26 -04:00
Joel Bernstein 9cd6437d4b SOLR-9258: Optimizing, storing and deploying AI models with Streaming Expressions 2016-09-29 18:03:26 -04:00
mikemccand 7d13f3ecd2 SOLR-9582: reset lastDocID when switching to a new LeafReader 2016-09-29 21:24:13 +02:00
Noble Paul 063d624cdc SOLR-8146: refactored the replica rules classes so that they can be accessed from SolrJ 2016-09-29 19:39:33 +05:30
Shalin Shekhar Mangar ce24de5cd6 SOLR-9504: A replica with an empty index becomes the leader even when other more qualified replicas are in line 2016-09-29 17:08:22 +05:30
Noble Paul 8ce52cf2b1 SOLR-8995: use lambdas for CoreCloseListener 2016-09-29 11:38:00 +05:30
Noble Paul e8767daa7b SOLR-8995: use lambdas for CoreCloseListener 2016-09-29 11:33:22 +05:30
Noble Paul 5c5c0c93ae SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler implicit 2016-09-28 20:04:04 +05:30
Noble Paul 7afa220e48 avoid unnecessary map creation 2016-09-28 11:35:42 +05:30
Noble Paul 09890f7f93 SOLR-9572: config API to show expanded useParams for request handlers inline 2016-09-28 11:30:03 +05:30
Steve Rowe 9f35a6b829 SOLR-9411: Better validation for Schema API add-field 2016-09-27 18:16:55 -04:00
Christine Poerschke a84d9a5d69 In ConfigSetProperties use unintentionally unused local (objectClass). 2016-09-27 12:18:22 +01:00
Christine Poerschke 85603b0eca Remove unused local (targetShard) in SliceMutator. 2016-09-27 12:18:22 +01:00
Christine Poerschke 1d2be1df7b SOLR-9567: Make ReRankQParserPlugin's private ReRankCollector a public class of its own. (Christine Poerschke) 2016-09-27 12:18:22 +01:00
Alan Woodward 59c1071346 SOLR-6677: More log noise reduction 2016-09-27 12:01:42 +01:00
Jan Høydahl 8046fe29e5 SOLR-9411: Better validation of dynamic field for Schema API 2016-09-27 12:17:38 +02:00
Jan Høydahl c1553c20f0 SOLR-9548: Print full solr-impl version for SNAPSHOT builds 2016-09-26 23:22:49 +02:00
Noble Paul 208e2bc66f SOLR-9557: optimize splitsmart 2016-09-26 22:57:09 +05:30
Christine Poerschke 7a6567e4a6 TestSmileRequest to import response.SmileWriterTest instead of (deprecated) request.SmileWriterTest predecessor. Then remove (three) deprecated/relocated tests. (Follow-ons from SOLR-9538 itself.) 2016-09-26 13:38:26 +01:00
Christine Poerschke a8f4ef02ed SOLR-9543: reduce code duplication in ReRankQParserPlugin.ReRankCollector.topDocs (part 2 of 2) 2016-09-26 13:38:26 +01:00
Alan Woodward be4233cb56 SOLR-9132: Cut over DeleteReplica tests
Also fixes some bugs in CollectionAdminRequest.DeleteReplica from SOLR-9319
2016-09-26 13:15:14 +01:00
Noble Paul 691472c0f0 SOLR-9557: Every implicit requesthandler now has a default 'useParams' attribute 2016-09-26 17:00:17 +05:30
Alan Woodward 6687244667 SOLR-9486: Fix race in AutoCommitTest 2016-09-26 10:31:10 +01:00
Alan Woodward 255bf895b3 SOLR-6677: Some more logging moves from INFO to DEBUG 2016-09-26 10:22:34 +01:00
Jan Høydahl 4c7a8c4b81 SOLR-9548: The beginning of solr.log now starts with a more informative welcome message 2016-09-26 11:02:20 +02:00
Christine Poerschke ef5da9705d SOLR-9551: Add JSONWriter constructor variant, JSONWriterTest.testConstantsUnchanged test. (Jonny Marks, Christine Poerschke) 2016-09-23 13:42:54 +01:00
Christine Poerschke a9eb64e427 SOLR-9543: reduce code duplication in ReRankQParserPlugin.ReRankCollector.topDocs (part 1 of 2) 2016-09-23 13:41:36 +01:00
Shalin Shekhar Mangar 3eb0f7c792 SOLR-6090: Remove unreachable printLayout usage in cloud tests 2016-09-23 18:07:33 +05:30
Mikhail Khludnev b50b9106f8 SOLR-9330: Fix AlreadyClosedException on admin/mbeans?stats=true 2016-09-23 07:48:19 +03:00
Jan Høydahl bede7aefa3 SOLR-9534: Fix test failures related to nullpointer when printing core name in logs. 2016-09-22 23:31:28 +02:00
Jan Høydahl 73c2edddf0 SOLR-9534: You can now set Solr's log level through environment variable SOLR_LOG_LEVEL and -q and -v options to bin/solr 2016-09-22 21:05:28 +02:00
Noble Paul 5183b67e94 Merge remote-tracking branch 'origin/master' 2016-09-22 23:31:42 +05:30
Noble Paul 5acbcac274 SOLR-9542: Kerberos delegation tokens requires Jackson library 2016-09-22 23:30:02 +05:30
Dennis Gove 6365920a0e SOLR-8487: Adds CommitStream to support sending commits to a collection being updated 2016-09-22 13:07:01 -04:00
Jan Høydahl f391d57075 SOLR-6677: Reduced logging during Solr startup, moved more logs to DEBUG level 2016-09-22 17:04:01 +02:00
Alan Woodward c55a14e198 SOLR-9544: Give ObjectReleaseTracker more time for async closing objects 2016-09-22 14:02:06 +01:00
Alan Woodward a41dd86e3c SOLR-9305, SOLR-9390: *really* dont' use directToLeaders 2016-09-22 13:21:36 +01:00
Joel 75e69c5198 SOLR-9549: Fix bug in advancing docValues 2016-09-22 08:05:47 -04:00
Jan Høydahl eabb05f7fd SOLR-8186: Added robustness to the dynamic log muting logic 2016-09-22 13:37:13 +02:00
Noble Paul a9f82a1b45 SOLR-8995: precommit errors 2016-09-22 16:43:01 +05:30
Noble Paul 262a3ac5c5 SOLR-8995: Use lamdas in URPs 2016-09-22 15:32:24 +05:30
Noble Paul 80336a278a SOLR-8995: Use lamdas in URPs 2016-09-22 15:31:39 +05:30
Alan Woodward a002aa5248 SOLR-5563: Quieten down SolrCloud logging 2016-09-22 09:42:38 +01:00
Dawid Weiss 9e09045a4c SOLR-8186: suppress log4j access warnings. 2016-09-22 09:51:11 +02:00
Jan Høydahl 2ef34e9e24 SOLR-8186: Solr start scripts, only log to console when running in foreground 2016-09-22 01:18:27 +02:00
Noble Paul 15cee3141c SOLR-9446: Leader failure after creating a freshly replicated index can send nodes into recovery even if index was not changed 2016-09-21 23:55:59 +05:30
Mike McCandless f7aa200d40 LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements 2016-09-21 09:41:41 -04:00
Christine Poerschke 93bc88d966 SOLR-9538: Relocate (BinaryResponse|JSON|Smile)Writer tests to org.apache.solr.response which is the package of the classes they test. (Jonny Marks via Christine Poerschke) 2016-09-21 11:50:35 +01:00
Alan Woodward d326adc8bf SOLR-9305, SOLR-9390: Don't use directToLeaders updates in partition tests (see SOLR-9512) 2016-09-21 10:57:59 +01:00
Noble Paul afc57347b4 SOLR-9524: SolrIndexSearcher.getIndexFingerprint uses dubious synchronization 2016-09-21 11:29:53 +05:30
Noble Paul 1e18c12c19 SOLR-9502: ResponseWriters should natively support MapSerializable 2016-09-19 17:45:17 +05:30
Noble Paul 286b35b020 SOLR-9523: Refactor CoreAdminOperation into smaller classes 2016-09-17 13:04:31 +05:30
Alan Woodward 5610fd9df2 SOLR-9507: Correctly set MDC values for CoreContainer threads 2016-09-16 13:33:07 +01:00
Shalin Shekhar Mangar 70fd627ca7 SOLR-9484: The modify collection API should wait for the modified properties to show up in the cluster state 2016-09-15 11:04:48 +05:30
Noble Paul 5b770b56d0 Extract out the ExclusiveSliceProperty as a top level class 2016-09-14 12:44:34 +05:30
Noble Paul 652065e14e Merge remote-tracking branch 'origin/master' 2016-09-13 17:19:33 +05:30
Noble Paul 73d4b73042 SOLR-9485:Indexfingerprint.fromObject() returns wrong values if object passed was itself of type IndexFingerprint 2016-09-13 17:19:12 +05:30
Varun Thacker ef3057e43b SOLR-9408: Fix TreeMergeOutputFormat to add timestamp metadata to commits 2016-09-13 10:49:27 +05:30
Shalin Shekhar Mangar 3fe1486683 SOLR-9365: Reduce noise in solr logs during graceful shutdown 2016-09-13 00:36:12 +05:30
Uwe Schindler b39fcc1202 LUCENE-7318: Forward port some changes (add StopFilter and LowercaseFilter at their original location) 2016-09-12 20:11:30 +02:00
Shalin Shekhar Mangar f177a660f5 SOLR-9438: Shard split can be marked successful and sub-shard states switched to 'active' even when one or more sub-shards replicas do not recover due to the leader crashing or restarting between the time the replicas are created and before they can recover 2016-09-12 17:00:46 +05:30
David Smiley d2fcc3dd71 SOLR-9494: CollapseQParser's collectors should override needsScores(); can trigger exceptions
Also, field cscore was not needed.
2016-09-11 14:29:26 -04:00
Chris Hostetter 60ce8d7c54 SOLR-9490: Fixed bugs in BoolField that caused it to erroneously return "false" for all docs depending on usage 2016-09-09 11:45:09 -07:00
Alan Woodward 003a346d50 SOLR-9344: Don't reuse port in BasicAuthIntegrationTest 2016-09-09 09:02:49 +01:00
Shalin Shekhar Mangar 0c5c0df6bc SOLR-9488: Shard split can fail to write commit data on shutdown/restart causing replicas to recover without replicating the index 2016-09-07 21:06:50 +05:30
Alan Woodward ce84a8df12 Improve error message to help debug test failures 2016-09-07 11:10:28 +01:00
Alan Woodward ea85acd7c5 SOLR-8181: Remove flaky and redundant TestArbitraryIndexDir 2016-09-07 09:19:09 +01:00
Alan Woodward d0d893e104 SOLR-9344: Move BasicAuthIntegrationTest to SolrCloudTestCase 2016-09-07 08:31:08 +01:00
Alan Woodward a79a8edbb4 SOLR-9469: Allow JettySolrRunner to restart using a different port 2016-09-06 13:33:36 +01:00
Alan Woodward 6390e22e74 SOLR-8961: Add a test-the-tests module for solr-test-framework 2016-09-06 13:33:36 +01:00
Noble Paul 1a61fb6858 SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' 2016-09-06 13:22:18 +05:30
Mikhail Khludnev 9ac5c1cf14 FOLR-5725: test fix for miserable differnce between cloud and non-cloud
facets - when facet.limit=0&facet.missing=true the former responds with
missing counts, but later doesn't.
2016-09-03 23:54:50 +03:00
Uwe Schindler e026ac4fe5 SOLR-9460: Fully fix test setup 2016-09-03 20:30:30 +02:00
Uwe Schindler 62f8b8d02a SOLR-9460: Disable test that does not work with Windows 2016-09-03 10:48:01 +02:00
Mikhail Khludnev ff69d14868 SOLR-5725: facet.exists=true caps counts by 1 to make facet.method=enum
faster.
2016-09-03 07:24:48 +03:00
Noble Paul c56d832349 SOLR-9381: Snitch for freedisk uses '/' instead of 'coreRootDirectory' 2016-09-02 17:53:02 +05:30
Uwe Schindler d9c0f2c6b9 SOLR-9444: Fix path usage for cloud backup/restore
Merge branch 'SOLR-9444_fix' of https://github.com/hgadre/lucene-solr
This closes #74
2016-09-02 14:15:09 +02:00
Noble Paul e203c9af95 SOLR-9319: DELETEREPLICA can accept a 'count' and remove appropriate replicas 2016-09-02 09:27:43 +05:30
Hrishikesh Gadre e138462a82 [SOLR-9444] Fix path usage for cloud backup/restore
- Refactored code using URI.getPath() API to use URI instance
  uniformly.
- During serialization of URI instance, used toASCIIString() API
  to generate the appropriate String representation.
- Updated the unit test to use whitespaces in the backup directory path
2016-09-01 16:28:19 -07:00
Noble Paul e13f7aeafa SOLR-9461: DELETENODE, REPLACENODE should pass down the 'async' param to subcommands 2016-09-01 18:03:59 +05:30
David Smiley 6a4184c674 SOLR-9142: rename FFPByHashNumeric to FFPByHashDV as it's not just for numerics anymore 2016-08-31 16:56:21 -04:00
David Smiley 7b5df8a103 SOLR-9142: json.facet: new method=dvhash which works on terms. Also:
(1) method=stream now requires you set sort=index asc to work
(2) faceting on numerics with prefix or mincount=0 will give you an error
(3) refactored similar findTopSlots into one common one in FacetFieldProcessor
(4) new DocSet.collectSortedDocSet utility
2016-08-31 16:54:24 -04:00
Shalin Shekhar Mangar 26262f4074 SOLR-9447: Do not clone SolrInputDocument if update processor chain does not contain custom processors. 2016-08-31 01:19:42 +05:30
Shalin Shekhar Mangar 02b97a29b7 SOLR-9439: The delete shard API has been made more resilient against failures resulting from non-existent cores. 2016-08-30 23:44:22 +05:30
Shalin Shekhar Mangar 2700b95211 SOLR-9455: Deleting a sub-shard in recovery state can mark parent shard as inactive 2016-08-30 00:01:17 +05:30
Noble Paul 757c245bee SOLR-9188: Trying revert a change and fix the unexpected IOException in jenkins failure. 2016-08-29 13:07:03 +05:30
Noble Paul 0ed8c2a7ad SOLR-9188: Trying revert a change and fix the unexpected IOException in jenkins failure. 2016-08-29 12:24:42 +05:30
Shalin Shekhar Mangar b1b933eb43 SOLR-9374: Speed up Jmx MBean retrieval for FieldCache 2016-08-28 01:04:36 +05:30
Shalin Shekhar Mangar 4f316bc199 SOLR-9445: Removed unused import 2016-08-28 00:39:46 +05:30
Shalin Shekhar Mangar df9a642a89 SOLR-9445: Fix failures in TestLocalFSCloudBackupRestore due to changed code path which return SolrExceptions instead of SolrServerExceptions 2016-08-28 00:39:16 +05:30
Noble Paul 44c30f0535 SOLR-9188: blockUnknown property makes inter-node communication impossible 2016-08-28 00:36:18 +05:30
Shalin Shekhar Mangar 7d2f42e543 SOLR-9439: Shard split clean up logic for older failed splits is faulty 2016-08-27 09:08:53 +05:30
Tomas Fernandez Lobbe b3d12d265b SOLR-6744: Consider uniqueKey rename when handling shard responses in distributed search 2016-08-26 16:10:48 -07:00
markrmiller 6bff06ce4f SOLR-9389: HDFS Transaction logs stay open for writes which leaks Xceivers. 2016-08-26 13:39:59 -04:00
Christine Poerschke 7f3d86524d SOLR-9436: remove no longer used acceptsDocsOutOfOrder methods (LUCENE-6179 removed out-of-order scoring) 2016-08-26 13:45:36 +01:00
Robert Muir d489b8c05d remove deprecated IndexWriter.isLocked() 2016-08-25 12:34:38 -04:00