Commit Graph

4984 Commits

Author SHA1 Message Date
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
Joel Bernstein ee3f9e1e05 SOLR-9337: Add fetch Streaming Expression 2016-10-10 14:20:29 -04: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 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
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
Noble Paul 3a76ef1193 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:19:20 +05:30
Alexandre Rafalovitch 6f6bb08782 SOLR-6677: queryConverter message is now at TRACE 2016-10-03 16:05:05 +07:00
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 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 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