Commit Graph

9015 Commits

Author SHA1 Message Date
Adrien Grand 284eb77ece SOLR-9005: Remove tabs from solr/example/files/conf/update-script.js. 2016-11-07 10:19:03 +01:00
Alexandre Rafalovitch 9148362617 SOLR-9005: Add guard condition to the example js 2016-11-06 15:04:28 +11:00
Alexandre Rafalovitch 94c796968a SOLR-9624: Do not highlight CSV output 2016-11-06 14:09:55 +11:00
yonik 4b3e7f2fe2 SOLR-9682: add param query type to facet filter 2016-11-05 15:24:57 -04:00
Shalin Shekhar Mangar 1f1990d8be SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause replica recovery to hang indefinitely on network partitions 2016-11-05 12:46:42 +05:30
Christine Poerschke 358bdd490b SOLR-9720: tweak JSONWriter.writeArray 2016-11-04 20:20:50 +00:00
Erick Erickson b2bf87dee7 SOLR-9360: Solr script not properly checking SOLR_PID 2016-11-04 12:57:26 -07:00
Dawid Weiss 401d77485d SOLR-7539: Upgrade the clustering plugin to Carrot2 3.15.0. 2016-11-04 16:02:00 +01:00
markrmiller 1381dd9287 SOLR-9055: Make collection backup/restore extensible.
- Introduced a parameter for the Backup operation to specify index backup strategy.
- Introduced two strategies for backing up index data.
  - One using core Admin API (BACKUPCORE)
  - Other skipping the backup of index data altogether. This is useful when
    the index data is copied via an external mechanism in combination with named
    snapshots (Please refer to SOLR-9038 for details)
  - In future we can add additional implementations of this interface (e.g. based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check the compatibility
  of backup with respect to the current version during the restore operation. This
  compatibility check is not added since its unclear what the Solr level compatibility guidelines
  are. But at-least having version information as part of the backup would be very useful.
2016-11-04 10:41:52 -04:00
Joel Bernstein ad9c1335fb Remove spurious imports 2016-11-03 21:28:31 -04:00
Joel Bernstein 84171ecada Remove spurious imports 2016-11-03 18:47:50 -04:00
Shalin Shekhar Mangar 78b768f2a4 SOLR-9720: Fix for JSONWriterTest 2016-11-03 20:21:13 +05:30
jdyer1 213a2a1791 SOLR-5344: relax the test requirements for estimated hit counts 2016-11-03 08:38:59 -05:00
Noble Paul 1f595a20a2 SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream, Tuple, Explanation 2016-11-03 14:28:15 +05:30
Noble Paul 940a337105 close() not implemented 2016-11-03 14:09:34 +05:30
jdyer1 4a12a260a8 Revert "SOLR-9710: fix test bug"
This reverts commit be772dbd48.
2016-11-02 16:06:27 -05:00
jdyer1 be772dbd48 SOLR-9710: fix test bug 2016-11-02 10:07:55 -05:00
Christine Poerschke d0e32f3e5c SOLR-9709: add json.nl=map example comment, expand json.nl test coverage. 2016-11-02 12:30:40 +00:00
Christine Poerschke 5a66b3bc08 SOLR-8542: Adds Solr Learning to Rank (LTR) plugin for reranking results with machine learning models. (Michael Nilsson, Diego Ceccarelli, Joshua Pantony, Jon Dorando, Naveen Santhapuri, Alessandro Benedetti, David Grohmann, Christine Poerschke) 2016-11-01 17:50:14 +00:00
Alan Woodward b6ff3fdace Add some debugging to HdfsRecoveryZkTest 2016-11-01 16:10:58 +00:00
yonik 359f981b0e SOLR-9681: move "filter" inside "domain" block 2016-11-01 12:01:04 -04:00
Jan Høydahl 4383bec84c SOLR-9481: Clearing existing global interceptors on HttpClientUtil to avoid user/pass leaks from other tests 2016-11-01 15:38:21 +01:00
Jan Høydahl 22aa34e017 SOLR-9481: Move changes entry to 6.4 2016-11-01 12:31:40 +01:00
Shalin Shekhar Mangar 5120816377 OLR-9433: SolrCore clean-up logic uses incorrect path to delete dataDir on failure to create a core 2016-11-01 14:32:46 +05:30
Jan Høydahl 417e29a6fd Minor typo fix in solr.cmd help 2016-10-31 15:11:59 +01:00
Alan Woodward c444658286 Up test timeout to match all others in TestCollectionStateWatchers 2016-10-31 12:49:42 +00:00
Christine Poerschke 87c6ec4cb0 SOLR-9442: Adds Array of NamedValuePair (json.nl=arrnvp) style to JSONResponseWriter. (Jonny Marks, Christine Poerschke) 2016-10-31 11:19:39 +00:00
Jan Høydahl 2ad2fca416 SOLR-9697: Fixed zk upconfig which was broken on windows 2016-10-31 09:35:09 +01:00
Jan Høydahl dbc2bc7ce8 SOLR-9481: Uppering debug level on the failing test and inserting extra logging. Also throw instead of swallow in case of problems parsing local security.json file 2016-10-31 00:57:34 +01:00
Erick Erickson 42eab7035e SOLR-9701: NPE in export handler when fl parameter is omitted. 2016-10-29 19:47:21 -07:00
yonik 0f8802ba20 SOLR-9704: optimization: use filters after blockChildren for acceptDocs 2016-10-29 20:43:54 -04:00
yonik d8d3a8b9b8 SOLR-9681:tests: add filter after block join test 2016-10-29 17:34:05 -04:00
yonik 650276e14b SOLR-9681: add filters to any facet command 2016-10-29 14:54:19 -04:00
David Smiley 2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Alan Woodward 3b49705c43 SOLR-9132: Don't require indexInfo from corestatus over reloads 2016-10-28 15:17:53 +01:00
Alan Woodward cff2774a37 SOLR-9132: Fix test bug 2016-10-28 14:29:57 +01:00
Alan Woodward b6e0ab0174 SOLR-9132: Fix precommit 2016-10-28 14:07:51 +01:00
Jan Høydahl 1f06411946 SOLR-9481: Try to fix flaky test error by removing unnecessary initCore() in @Before method 2016-10-28 15:04:49 +02:00
Alan Woodward f56d111adf SOLR-9132: Cut over some collections API and recovery tests 2016-10-28 10:33:21 +01:00
Noble Paul c8906b2f2d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-10-28 08:25:26 +05:30
Noble Paul e6ce903a76 SOLR-8146: removing the unused class 2016-10-28 08:19:55 +05:30
Erick Erickson 1344d895f9 SOLR-9371: Fix bin/solr script calculations - start/stop wait time and RMI_PORT 2016-10-27 17:54:34 -07:00
Jan Høydahl fa4e599d1d SOLR-9610: Fix typo in usage for assertTool timeout option. use --timeout instead of --ms 2016-10-27 23:41:43 +02:00
Adrien Grand af60048097 LUCENE-7429: AnalyzerWrapper can now wrap the normalization analysis chain too. 2016-10-27 16:27:45 +02:00
Shalin Shekhar Mangar 2172f3e008 SOLR-1085: Add support for MoreLikeThis queries and responses in SolrJ client 2016-10-27 17:41:25 +05:30
Noble Paul 0feca1a974 general cleanup to use java 8 feautures 2016-10-27 15:05:07 +05:30
Noble Paul d6b6e74703 SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if the 'forEach' or 'xpath' attributes are templates & it is not a root entity 2016-10-27 14:52:24 +05:30
Noble Paul d9c4846ee1 SOLR-9692: blockUnknown property makes inter-node communication impossible 2016-10-27 14:35:18 +05:30
Joel Bernstein 7b3d29dda7 SOLR-9533, SOLR-9559: Undate CHANGES.txt 2016-10-26 23:11:20 -04:00
Joel Bernstein d215f9e568 SOLR-9533: Fix precommit 2016-10-26 20:19:40 -04:00
Joel Bernstein 727bf559a0 SOLR-9559: Add ExecutorStream to execute stored Streaming Expressions 2016-10-26 20:19:40 -04:00
Joel Bernstein 2ee723140c SOLR-9533: Reload core config when a core is reloaded 2016-10-26 20:19:40 -04:00
yonik 53507b4e79 SOLR-9654: tests: fix overrequest test by fixing doc->shard mapping 2016-10-26 18:35:09 -04:00
yonik e4483607a5 SOLR-9654: tests: temporarily disable overrequest code 2016-10-26 17:53:00 -04:00
Jan Høydahl 3d21029b33 SOLR-9481: Fix precommit test, unused import 2016-10-26 23:16:22 +02:00
yonik 7794fbd13f SOLR-4164: fix group.limit=-1 in distributed mode 2016-10-26 12:56:51 -04:00
Jan Høydahl 24446f5085 SOLR-9481: Fix test errors by using coreContainer.getSolrHome instead of SolrResourceLoader.locateSolrHome() in SecurityConfHandlerLocal 2016-10-26 16:39:22 +02:00
Jan Høydahl feb1a5d3e7 SOLR-9670: Support SOLR_AUTHENTICATION_OPTS in solr.cmd 2016-10-26 15:17:13 +02:00
Jan Høydahl db43bfb046 SOLR-9610: Add timeout option, abort early on auth failure
SOLR-9680: Better error messages in SolrCLI when authentication required
2016-10-26 14:19:22 +02:00
Noble Paul ecfbe51c94 Merge remote-tracking branch 'origin/master' 2016-10-26 13:36:51 +05:30
Noble Paul 6d9a99f992 SOLR-9692: blockUnknown property still breaks the internode communication 2016-10-26 13:36:37 +05:30
Jan Høydahl b69c5d9f27 SOLR-9481: Add info-level log "Initializing authentication plugin: <classname>"
Move Sha256AuthProv warning "No users configured yet" to debug level, as this is quite normal
2016-10-26 09:22:55 +02:00
Shalin Shekhar Mangar 768c7e2648 SOLR-2212: Add a factory class corresponding to Lucene's NoMergePolicy 2016-10-26 11:28:53 +05:30
Shalin Shekhar Mangar b8d9647307 SOLR-2039: Multivalued fields with dynamic names does not work properly with DIH 2016-10-26 11:02:10 +05:30
Shalin Shekhar Mangar 62bc90d7d2 SOLR-5245: Add a test to ensure that election contexts are keyed off both collection name and coreNodeName so that killing a shard in one collection does not result in leader election in a different collection. 2016-10-26 09:49:47 +05:30
Jan Høydahl d25a618161 SOLR-9481: Authentication and Authorization plugins now work in standalone mode, including edit API 2016-10-26 01:04:40 +02:00
Noble Paul 9303112981 SOLR-7604: add testcase to verify the schema of .system collection 2016-10-26 02:04:58 +05:30
Noble Paul a916877f38 Merge remote-tracking branch 'origin/master' 2016-10-26 02:04:41 +05:30
Noble Paul 34ad8577b6 SOLR-7604: add testcase to verify the schema of .system collection 2016-10-26 02:04:20 +05:30
markrmiller c15c8af66d SOLR-9536: Add hossman to CHANGES. 2016-10-25 12:42:14 -04:00
markrmiller e152575f5e SOLR-9536: OldBackupDirectory timestamp field needs to be initialized to avoid NPE. 2016-10-25 12:39:59 -04:00
markrmiller 27ba8e2e82 SOLR-9441: Solr collection backup on HDFS can only be manipulated by the Solr process owner.
This closes #71.
2016-10-25 10:21:57 -04:00
Shalin Shekhar Mangar b7aa582dff SOLR-4531: Add tests to ensure that recovery does not fail on corrupted tlogs 2016-10-25 12:13:08 +05:30
Tomas Fernandez Lobbe ce57e8a8f4 Fixed Interval Facet count issue in cases of open/close intervals on the same values 2016-10-24 19:49:54 -07:00
yonik c9132ac661 SOLR-9654: tests: specify descending count sort for streaming 2016-10-24 21:19:06 -04:00
Alexandre Rafalovitch 9d692cde53 SOLR-9657: Fixed Javadocs and added example 2016-10-24 18:16:38 -04:00
yonik 4a85163754 SOLR-9654: add overrequest param to JSON Facet API 2016-10-24 14:23:12 -04:00
Christine Poerschke 37871de29b SOLR-9634: correct name of deprecated/removed method in solr/CHANGES.txt 2016-10-24 18:58:26 +01:00
Jan Høydahl ef5737466e SOLR-7506: Roll over GC logs by default via bin/solr scripts 2016-10-24 14:22:24 +02:00
Jan Høydahl 61e180b7ef SOLR-9255: Rename SOLR_AUTHENTICATION_CLIENT_CONFIGURER -> SOLR_AUTHENTICATION_CLIENT_BUILDER 2016-10-24 14:18:21 +02:00
Noble Paul c9de11d024 Merge remote-tracking branch 'origin/master' 2016-10-24 16:45:53 +05:30
Noble Paul 184b0f2215 SOLR-9506: cache IndexFingerprint for each segment 2016-10-24 16:45:42 +05:30
Adrien Grand 9aca4c9d56 LUCENE-7462: Give doc values APIs an `advanceExact` method. 2016-10-24 10:51:23 +02:00
Noble Paul 9b49c72dbc SOLR-9518: Kerberos Delegation Tokens don't work without a chrooted ZK 2016-10-24 13:06:40 +05:30
Jan Høydahl 3488f12170 SOLR-9610: Bugfix option key for assertTool 2016-10-22 02:31:27 +02:00
Jan Høydahl e3a8a0fe5f SOLR-9662: New parameter -u <user:pass> in bin/post to pass basicauth credentials 2016-10-22 02:02:07 +02:00
Jan Høydahl c9cf0eff03 SOLR-9325: Remove unnecessary search/replace in installer script 2016-10-22 01:00:48 +02:00
David Smiley 91f58ac72b SOLR-9676: DefaultSolrHighlighter: clarify warning when FVH can't be used 2016-10-21 13:51:45 -04:00
yonik 57ba96145c SOLR-9326: Ability to create/delete/list snapshots at collection level. 2016-10-21 09:47:02 -04:00
Noble Paul 49ca9cea72 SOLR-9546: reverted some changes 2016-10-21 19:16:15 +05:30
Noble Paul ccbafdc403 SOLR-9546: Eliminate unnecessary boxing/unboxing going on in SolrParams 2016-10-21 18:58:33 +05:30
Dawid Weiss a19ec194d2 LUCENE-7513: Update to randomizedtesting 2.4.0. 2016-10-21 11:14:37 +02:00
Jan Høydahl af88e7f54d SOLR-9570: Fix test failures and start using SolrTestCaseJ4's createTempDir mm 2016-10-20 20:58:52 +02:00
Noble Paul a4952b11fe Merge remote-tracking branch 'origin/master' 2016-10-20 20:07:15 +05:30
Noble Paul 127bf9f772 SOLR-9657: Use cache for templates 2016-10-20 20:06:21 +05:30
Jan Høydahl 97761966f3 SOLR-99570: Various log tidying at Solr startup 2016-10-20 14:47:32 +02:00
Jan Høydahl 14b6d93db4 SOLR-8370: Display configured Similarity in Schema-Browser 2016-10-20 13:25:40 +02:00
Joel Bernstein 39db5489b9 SOLR-9417: Update CHANGES.txt 2016-10-19 18:28:35 -04:00
Dawid Weiss be8bd77b17 LUCENE-7507: Upgrade morfologik-stemming to version 2.1.1 (fixes security manager issue with Polish dictionary lookup). 2016-10-19 23:40:24 +02:00
David Smiley fe77dff094 SOLR-7850: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:45:13 -04:00
David Smiley 8ae3304c86 SOLR-7580: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:38:06 -04:00
Noble Paul 67ba19a810 Merge remote-tracking branch 'origin/master' 2016-10-20 01:26:31 +05:30
Noble Paul 6893595f34 SOLR-9657: Addressing test failures 2016-10-20 01:26:02 +05:30
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