Commit Graph

8862 Commits

Author SHA1 Message Date
Joel Bernstein f43742acc5 SOLR-9417: Allow daemons to terminate when they finish iterating a topic 2016-10-19 13:17:06 -04:00
Noble Paul c2e031add3 SOLR-9657: New TemplateUpdateProcessorFactory added 2016-10-19 11:04:10 +05:30
Noble Paul ffa5c4ba2c SOLR-9506: reverting the previous commit 2016-10-19 00:50:30 +05:30
Noble Paul 9aa764a54f * SOLR-9506: cache IndexFingerprint for each segment 2016-10-18 21:09:42 +05:30
Noble Paul bb907a2983 * SOLR-9506: cache IndexFingerprint for each segment 2016-10-18 19:43:32 +05:30
Alan Woodward b2188f4958 SOLR-9634: Remove deprecated methods 2016-10-18 12:34:18 +01:00
Alan Woodward 67f3f433e2 SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster 2016-10-18 12:34:13 +01:00
Alan Woodward 20ea5355c9 SOLR-9632: Add deleteAllCollections method to MiniSolrCloudCluster 2016-10-18 12:33:52 +01:00
Adrien Grand c22725f0b5 LUCENE-7494: Give points a per-field API. 2016-10-18 10:14:27 +02:00
Anshum Gupta 19c7f8eacf SOLR-9628: Set lastDocId in Trie fields 2016-10-17 18:59:41 -07:00
Christine Poerschke c219525b1d SOLR-9627: Add QParser.getSortSpec, deprecate misleadingly named QParser.getSort (Judith Silverman, Christine Poerschke) 2016-10-17 17:13:32 -04:00
Hrishikesh Gadre 46aeb52588 SOLR-9642: Refactor the snapshot cleanup mechanism to rely on Lucene
The current snapshot cleanup mechanism is based on reference counting
the index files shared between multiple segments. Since this mechanism
completely skips the Lucene APIs, it is not portable (e.g. it doesn't
work on 4.10.x version).

This patch provides an alternate implementation which relies exclusively
on Lucene IndexWriter (+ IndexDeletionPolicy) for cleanup.

mend
2016-10-17 13:55:26 -04:00
Alan Woodward 65f55802ee SOLR-9566: Don't put replicas into recovery when collections are created 2016-10-17 17:18:25 +01:00
Christine Poerschke a4a314d160 SOLR-6203: in QueryComponent rename groupSortStr to sortWithinGroupStr (so that name and meaning match) 2016-10-15 20:56:05 -04:00
Christine Poerschke 5261eb0acd SOLR-9625: Add HelloWorldSolrCloudTestCase class (Christine Poerschke, Alan Woodward, Alexandre Rafalovitch) 2016-10-15 09:44:37 -04:00
Jan Høydahl 33db4de4d7 SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties 2016-10-14 23:19:09 +02:00
Mikhail Khludnev 4744673388 SOLR-9639: CDCR Tests only fix. Wait until recovery is over before
remove the tmp_colletion.
2016-10-14 14:43:07 +03:00
Jan Høydahl 6512d0c620 SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line 2016-10-12 09:16:41 +02:00
yonik 22780d9f16 fix unused imports 2016-10-11 21:38:38 -04:00
yonik 11e872765d fix package-before-license nit 2016-10-11 20:47:35 -04:00
Dennis Gove 56cd8bffc6 SOLR-9103: Restore ability for users to add custom Streaming Expressions 2016-10-11 20:30:26 -04:00
yonik 0f08ad9ad3 SOLR-9432: json facet refinement progress, test refinement info going to shards 2016-10-11 17:13:36 -04:00
Kevin Risden 7660dde458 SOLR-8969: Fix static cloud check 2016-10-11 15:27:30 -05:00
Kevin Risden b00f10916b SOLR-8969: Resolve NPE for SQLHandler when in non-cloud mode 2016-10-11 11:13:47 -05:00
Christine Poerschke 2bbca4c512 (part of) SOLR-6203: ResponseBuilder.setSortSpec arg name tweak. (Judith Silverman via Christine Poerschke) 2016-10-11 11:54:36 -04:00
yonik 98191225eb SOLR-9579: SchemaField should implement lucene.IndexableFieldType to avoid repeated creation 2016-10-11 11:17:55 -04:00
Jan Høydahl 8648fd5e83 SOLR-9534: Fix typo in help, said "-V or -version", but should be "-V or -verbose" 2016-10-11 11:20:05 +02:00
Joel Bernstein d69412bc67 SOLR-9337: Update CHANGES.txt 2016-10-10 21:50:37 -04:00
Joel Bernstein ee3f9e1e05 SOLR-9337: Add fetch Streaming Expression 2016-10-10 14:20:29 -04:00
Mikhail Khludnev 9fea5129d3 SOLR-9614: fixing TestSolrCloudWithKerberosAlt 2016-10-10 12:20:58 +03:00
Mikhail Khludnev d8bb56d4ad SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize() 2016-10-09 18:17:49 +03:00
Alan Woodward f22b1da261 SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Kevin Risden 6aa28bd655 SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration 2016-10-07 08:24:02 -05:00
Adrien Grand fb088817eb LUCENE-7479: SimpleText should directly implement the new doc values APIs. 2016-10-07 10:59:11 +02:00
Kevin Risden 87bad09560 SOLR-9146: Parallel SQL engine should support >, >=, <, <=, <>, != syntax 2016-10-06 13:09:53 -05:00
markrmiller 05f51c85f6 SOLR-9278: Update issue number in CHANGES to be orig rather than dupe. 2016-10-06 11:53:38 -04:00
markrmiller ce22c2697c SOLR-9470: Index replication interactions with IndexWriter can cause deadlock. 2016-10-06 11:31:30 -04:00
Alan Woodward 36b3b0884a Revert "SOLR-9604: Ensure SSL connections are re-used"
This reverts commit 0eb6b1c823, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
yonik cae6b49a06 SOLR-9592: use correct leaf reader rather than top-level reader in SolrIndexReaderm.decorateDocValues 2016-10-05 15:10:29 -04:00
Mike McCandless 001a3ca55b LUCENE-7407: speed up iterating norms a bit by having default codec implement the iterator directly 2016-10-05 14:18:55 -04:00
Alan Woodward 0eb6b1c823 SOLR-9604: Ensure SSL connections are re-used 2016-10-05 15:36:16 +01:00
Alan Woodward d398617be8 SOLR-9132: RulesTest must tear down collections at the end of each test 2016-10-05 15:19:22 +01:00
Noble Paul 221a6870b8 SOLR-9589: Remove jackson dependency from SolrJ 2016-10-04 19:20:44 +05:30
Noble Paul 5fbf135b80 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
SOLR-9589: Remove jackson dependency from SolrJ
2016-10-04 19:15:50 +05:30
Alan Woodward 58031fd449 SOLR-9563: Collection creation can fail if a node doesn't update its state quickly enough 2016-10-04 13:48:20 +01:00
Alan Woodward 3bcecd9e55 SOLR-9132: Mark MigrateRouteKey test as slow 2016-10-04 11:55:10 +01:00
Alan Woodward a9dab0f25a SOLR-9132: Migrate some more tests 2016-10-04 10:32:47 +01:00
Adrien Grand 32446e9205 LUCENE-7453: Create a Lucene70Codec. 2016-10-04 10:50:34 +02:00
Jan Høydahl 2ad00826a3 SOLR-9475: Imrpove distro detection by grepping /etc/os-release and adding lsb_release -i 2016-10-04 09:22:07 +02:00
Noble Paul fb33980f24 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 01:29:32 +05:30
Noble Paul 3a76ef1193 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:19:20 +05:30
Noble Paul e7ade287e3 Merge remote-tracking branch 'origin/master' 2016-10-04 00:18:52 +05:30
Noble Paul 8d1f45864e SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:18:39 +05:30
Alexandre Rafalovitch 472e8048ad SOLR-8140: Fix CHANGES file, was missing commiter name 2016-10-03 23:53:48 +07:00
Alexandre Rafalovitch 9f187eceae SOLR-8140: Remove unfinished admin-extra
Includes UI element and never-implemented commented-out code
2016-10-03 17:37:31 +07:00
Alexandre Rafalovitch 6f6bb08782 SOLR-6677: queryConverter message is now at TRACE 2016-10-03 16:05:05 +07:00
Noble Paul 08667208ba Merge remote-tracking branch 'origin/master' 2016-10-03 13:06:47 +05:30
Noble Paul 6f7099233e SOLR-9588: Remove Guava dependency from SolrJ 2016-10-03 13:06:33 +05:30
Mikhail Khludnev cc4c780227 SOLR-9554: clear statics to fix the test failure 2016-10-03 10:19:20 +03:00
Mikhail Khludnev 67a9d3a44f SOLR-9554: adding a test for concurrent schema upgrade in cloud. 2016-10-02 18:24:33 +03:00
Alan Woodward 250c9d93f3 SOLR-6677: Call out logging changes in upgrading section of CHANGES 2016-10-01 20:20:59 +01:00
Alan Woodward fdd5d3cc79 Remove unused import 2016-10-01 08:54:02 +01:00
Shalin Shekhar Mangar 7a8ff69316 SOLR-5041: Add a test to make sure that a leader always recovers from log on startup 2016-09-30 20:00:01 +05:30
Christine Poerschke 08a5951adf Correct TransformerFactory.defaultFactories initialCapacity. (Diego Ceccarelli via Christine Poerschke) 2016-09-30 13:51:02 +01:00
Christine Poerschke dbc29c0adc SOLR-9574: Factor out AbstractReRankQuery from ReRankQParserPlugin's private ReRankQuery. 2016-09-30 13:47:27 +01:00
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 f13b727213 SOLR-9205: Parse schema in LukeResponse 2016-09-30 10:49:14 +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 787d905edc SOLR-9258: Update CHANGES.txt 2016-09-29 20:54:58 -04: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
Jan Høydahl eba3939a04 SOLR-7436: Solr stops printing stacktraces in log and output (add -XX:-OmitStackTraceInFastThrow to solr.in.{sh|cmd)) 2016-09-28 10:06:15 +02:00
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 0eaa85f696 SOLR-6677: part 3, moving some more to DEBUG. Only printing "Updated live nodes from ZooKeeper..." if there was actually a change 2016-09-27 12:43:04 +02: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 6b28af0c7d SOLR-9547: Do not allow bin/solr start as root user (unless -force param specified) 2016-09-27 09:24:00 +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
Noble Paul f6622ef374 SOLR-9557: reverting an optimization 2016-09-26 21:59:31 +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 581effd152 removed unnecessary public static final 2016-09-26 17:15:36 +05:30
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