Commit Graph

8729 Commits

Author SHA1 Message Date
Noble Paul 74653e9dbf Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-08-04 12:23:24 +05:30
Noble Paul 750bb367d2 SOLR-9179: NPE in IndexSchema using IBM JDK 2016-08-04 12:22:16 +05:30
jbernste f8cf9a7bf2 SOLR-9252: Update CHANGES.txt 2016-08-03 15:10:42 -04:00
jbernste 728b4fbcdc SOLR-9252: Pre-commit fixes 2016-08-03 13:37:26 -04:00
jbernste e38d6d535c SOLR-9252: Feature selection and logistic regression on text
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-08-03 13:36:59 -04:00
Chris Hostetter 72750167a2 SOLR-9308: Fix distributed RTG to forward request params, fixes fq and non-default fl params
(cherry picked from commit b3505298a5)

Conflicts:
	solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
2016-08-02 12:32:09 -07:00
Gregory Chanan 6cfec0bd7a SOLR-9200: Add Delegation Token Support to Solr 2016-08-02 12:50:49 -04:00
Chris Hostetter c17605b4a9 SOLR-9363: tweak test to work around SOLR-9366 + SOLR-9367 since those issues are not key to what's being tested here
(cherry picked from commit 04321c401c)
2016-08-02 08:50:34 -07:00
Mikhail Khludnev 77409fd432 SOLR-9209,SOLR-9256: extracting
JdbcDataSource.createResultSetIterator(), adding a test for
ResultSetIterator.hasNext()
2016-08-02 15:12:17 +03:00
Jan Høydahl 0dc1cf5ddd SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default
(cherry picked from commit d86c369)
2016-07-31 23:10:11 +02:00
Jan Høydahl 0df3d5ad45 SOLR-8379: UI Cloud->Tree view now shows .txt files correctly. This closes #58
(cherry picked from commit 96280d1)
2016-07-29 09:36:42 +02:00
David Smiley c434eff828 SOLR-9279: new function queries: gt, gte, lt, lte, eq
Lucene Queries module: new ComparisonBoolFunction base class
(cherry picked from commit d12b93e)
2016-07-28 22:49:18 -04:00
Jan Høydahl 46e183deea SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view. This closes #57
(cherry picked from commit 1fb4c5d)
2016-07-29 00:07:01 +02:00
David Smiley 0f26f11f6c SOLR-9269: Snapshots (Solr core level)
(cherry picked from commit b7aa0b5)
2016-07-28 15:01:56 -04:00
Jan Høydahl 3292acdb50 SOLR-8596: Split UIs RAW query params only on first equal sign
(cherry picked from commit c9935b4)
2016-07-28 15:55:45 +02:00
Alan Woodward 8247f9f0cd SOLR-9106: Add javadocs to ZkStateReader cluster properties methods 2016-07-28 10:56:07 +01:00
Alan Woodward 90e9c76851 SOLR-9346: Always close ZkStateReader 2016-07-27 18:03:48 +01:00
Uwe Schindler 22d24969f5 LUCENE-7395, SOLR-9315: Fix PerFieldSimilarityWrapper to also delegate query norm and coordination factor using a default similarity added as ctor param 2016-07-27 10:06:52 +02:00
Varun Thacker 1244928262 SOLR-9242: Disabling TestLocalFSCloudBackupRestore on Windows till we fix it 2016-07-27 00:14:22 +05:30
Varun Thacker 91ed36ddb4 SOLR-9340: Change ZooKeeper disconnect and session expiry related logging from INFO to WARN to make debugging easier 2016-07-27 00:06:11 +05:30
Varun Thacker 7b6a16c30b SOLR-9335: Switch Solr cache/search/update stats counters to use LongAdder 2016-07-26 18:28:11 +05:30
Noble Paul 3a1fe0a8ee SOLR-9339: NPE in CloudSolrClient when the response is null 2016-07-26 13:09:44 +05:30
Noble Paul 501d73b4b8 Merge remote-tracking branch 'origin/branch_6x' into branch_6x
Conflicts:
	solr/CHANGES.txt
2016-07-25 21:14:17 +05:30
Noble Paul a30084ec82 SOLR-9334: CloudSolrClient.collectionStateCache is unbounded 2016-07-25 21:13:35 +05:30
Noble Paul 7d388c02b1 SOLR-9310: reverting the variable name change becaause it can break back-compat 2016-07-25 12:30:10 +05:30
Noble Paul 3740156adf SOLR-9310: The variable name is confusing. maxInHash is not a hash 2016-07-25 12:10:49 +05:30
Steve Rowe a6655a9d39 SOLR-9076: disable broken nightly tests MorphlineBasicMiniMRTest and MorphlineGoLiveMiniMRTest via @AwaitsFix 2016-07-22 14:26:55 -04:00
Nicholas Knize 2aa01ed037 remove unused import (DocCollection) 2016-07-22 11:46:59 -05:00
Christine Poerschke 7a4f800388 SOLR-9323: remove unused import (SQLHandler) 2016-07-22 17:18:58 +01:00
Noble Paul d9bbd70ff1 SOLR-9323: Expose ClusterSate.getCollectionStates which returns unverified list of collection names 2016-07-22 13:57:47 +05:30
Noble Paul c627ddc16c SOLR-8995: Use lambdas in CoreAdminHandler 2016-07-21 20:27:11 +05:30
Noble Paul 0ec1c25097 SOLR-8995: Use lambda to simplify CollectionsHandler 2016-07-21 13:20:24 +05:30
Christine Poerschke a4970c8685 SOLR-9275: fix NPE in SolrCoreParser.init 2016-07-20 11:32:47 +01:00
Christine Poerschke 80a2e73ccd SOLR-9275: make XML QueryParser support (defType=xmlparser) extensible via configuration 2016-07-20 11:32:33 +01:00
Chris Hostetter acbe59c70c SOLR-9309: Fix SolrCloud RTG response structure when multi ids requested but only 1 found
(cherry picked from commit 9aa639d45e)
2016-07-19 11:12:01 -07:00
Chris Hostetter 9feeee4e27 SOLR-9288: Fix [docid] transformer to return -1 when used in RTG with uncommitted doc
(cherry picked from commit 08019f4288)
2016-07-19 10:51:25 -07:00
Noble Paul 89a1fe661e SOLR-7280: refactored to incorporate Mike's suggestions. Default thread count for cloud is limited to 8 now. In our internal teting 8 has given us the best stability during restarts 2016-07-19 20:16:29 +05:30
Noble Paul fcd2cc57d5 SOLR-7280: refactored to incorporate Mike's suggestions. Default thread count for cloud is limited to 8 now. In our internal teting 8 has given us the best stability during restarts 2016-07-19 18:43:06 +05:30
Chris Hostetter 9bde118c2f SOLR-9285: Fixed AIOOBE when using ValueSourceAugmenter in single node RTG
(cherry picked from commit 4123b3bf26)
2016-07-18 10:21:46 -07:00
jbernste 75d3243647 SOLR-9240: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-07-17 21:54:46 -04:00
jbernste 46c1601b05 SOLR-9240: Added testcase with text field in the fl for topic 2016-07-16 23:25:08 -04:00
jbernste c6df1868a0 SOLR-9240:Support running the topic() Streaming Expression in parallel mode. 2016-07-16 23:25:08 -04:00
Noble Paul 5932f52588 SOLR-7280: In cloud-mode sort the cores smartly before loading & limit threads to improve cluster stability 2016-07-16 22:50:40 +05:30
Noble Paul 6902eddd8d SOLR-7280: In cloud-mode sort the cores smartly before loading & limit threads to improve cluster stability 2016-07-16 22:42:22 +05:30
Jan Høydahl 81c23f1c5b SOLR-9237: Make FvhContainer public
(cherry picked from commit 4f45226)
2016-07-16 11:58:40 +02:00
Shalin Shekhar Mangar bb7742ebc7 SOLR-9290: TCP-connections in CLOSE_WAIT spike during heavy indexing and do not decrease 2016-07-15 12:23:49 +05:30
Christine Poerschke 83bbd32f4d SOLR-9306: give solr/contrib/analysis-extras's test classes access to lucene/analysis's test classes 2016-07-14 11:08:38 +01:00
Christine Poerschke 625979113f LUCENE-7372: Factor out an org.apache.lucene.search.FilterWeight class. 2016-07-13 19:44:12 +01:00
Steve Rowe e0213933dd LUCENE-7013: ClassificationUpdateProcessorFactory.java: fix bad merge (merged master import into branch_6x) 2016-07-13 14:42:08 -04:00
Steve Rowe 629346febb LUCENE-7013: add licence header position checker to -validate-source-patterns, and fix the violations it found 2016-07-13 13:20:34 -04:00
Christine Poerschke 85c8f22ca9 SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke) 2016-07-13 14:19:26 +01:00
Varun Thacker 1dfc637f2c SOLR-9242: Move license headers to the top + force refresh cluster propery before reading the 'location' param 2016-07-13 15:00:28 +05:30
Adrien Grand 7c2e7a0fb8 LUCENE-7355: Add Analyzer#normalize() and use it in query parsers. 2016-07-12 18:01:44 +02:00
Chris Hostetter b3cc4b3111 SOLR-9287: Including 'score' in the 'fl' param when doing an RTG no longer causes an NPE
(cherry picked from commit 462dc04cb6)
2016-07-11 14:35:31 -07:00
elyograg 268021af9c SOLR-9295: Remove BOM (unicode Byte Order Mark) from text files. 2016-07-11 12:26:48 -06:00
Mike McCandless 621a98faa2 LUCENE-7373: deprecate Directory.renameFile, which both renamed and fsync'd the directory, replacing it with separate rename and syncMetaData methods 2016-07-11 11:15:22 -04:00
Noble Paul 8db04e3457 SOLR-8995: Use Lamdas for Thread/Runnable 2016-07-11 19:30:49 +05:30
Shalin Shekhar Mangar 9d8cc80a79 SOLR-9291: ZkSolrResourceLoader should not retry fetching resources if the server has been shutdown
(cherry picked from commit 42e1caf)
2016-07-11 07:36:30 +05:30
David Smiley da25555baf SOLR-9270: spatialContextFactory now accepts "JTS" alias. Spatial config attributes with old package names are now rewritten with a warning.
(cherry picked from commit 360b9a3)
2016-07-09 10:56:59 -04:00
yonik 1a53346c0e SOLR-9163: sync basic_configs w/ data_driven_schema_configs 2016-07-08 15:45:30 -04:00
Alan Woodward fda3d8b7c2 SOLR-9181: Fix race in constructState() and missing call in forceUpdateCollection() 2016-07-08 14:29:49 +01:00
Alan Woodward 86d8d3a937 SOLR-9181: More logging 2016-07-08 14:29:42 +01:00
Alan Woodward 60232cd028 SOLR-9181: Add some logging to ZkStateReader to try and debug test failures 2016-07-08 14:29:34 +01:00
markrmiller b0386f0d64 SOLR-9236: Don't use System.currentTimeMillis. 2016-07-07 20:32:09 -04:00
markrmiller e91863b8e1 SOLR-9236: Fix import. 2016-07-07 12:47:50 -04:00
markrmiller dc763e383d SOLR-9236: AutoAddReplicas will append an extra /tlog to the update log location on replica failover. 2016-07-07 09:39:05 -04:00
Shalin Shekhar Mangar 4921dcd80c SOLR-8858: SolrIndexSearcher#doc() completely ignores field filters unless lazy field loading is enabled.
This closes #47.
(cherry picked from commit 24d6b78)
2016-07-07 13:23:39 +05:30
Erick 90b572bce6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x
# Conflicts:
#	solr/CHANGES.txt
2016-07-06 21:03:05 -07:00
Erick 602a72ddad SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests
(cherry picked from commit 7743718)
2016-07-06 21:02:20 -07:00
jbernste de7a3f6f68 SOLR-9193,SOLR-9243: update CHANGES.txt 2016-07-06 19:20:44 -04:00
jbernste a86f25ea0c SOLR-9193: Fix-up javdoc 2016-07-06 19:20:44 -04:00
Erick Erickson 6a278333f2 SOLR-7903: Comment out trappy references to example docs in elevate.xml files
(cherry picked from commit db29544)
2016-07-06 15:00:39 -07:00
Chris Hostetter f69e624645 Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x (SOLR-9180) 2016-07-06 14:15:21 -07:00
Shalin Shekhar Mangar a942de68fc SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync.
(cherry picked from commit 380c5a6)
2016-07-07 02:35:20 +05:30
jbernste e27849052e SOLR-9193: Added terms.limit and distrib=true params to /terms request 2016-07-06 16:58:40 -04:00
jbernste 7a5e6a5f7e SOLR-9193: Added test using the termFreq param and basic error handling 2016-07-06 16:58:40 -04:00
jbernste bc0eac8b6b SOLR-9193: Fix conflict between parameters of TermsComponent and json facet API 2016-07-06 16:58:40 -04:00
jbernste ed86e014f6 SOLR-9193: fixing failing tests due to changes in TermsComponent 2016-07-06 16:58:40 -04:00
jbernste 879a245e4e SOLR-9193: Add scoreNodes Streaming Expression
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-07-06 16:58:40 -04:00
jbernste 1427f4b2e7 SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms 2016-07-06 16:58:40 -04:00
Chris Hostetter fee9526208 SOLR-9180: More comprehensive tests of psuedo-fields for RTG and SolrCloud requests
This commit also includes new @AwaitsFix'ed tests for the following known issues...

 * SOLR-9285 ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on uncommitted doc
 * SOLR-9286 SolrCloud RTG: psuedo-fields (like ValueSourceAugmenter, [shard], etc...) silently fails (even for committed doc)
 * SOLR-9287 single node RTG: NPE if score is requested
 * SOLR-9288 RTG: fl=[docid] silently missing for uncommitted docs
 * SOLR-9289 SolrCloud RTG: fl=[docid] silently ignored for all docs

(cherry picked from commit ae316f1e39)
2016-07-06 13:46:15 -07:00
Varun Thacker ee21bb3b3f SOLR-9088: Fixed TestManagedSchemaAPI failures which exposed race conditions in the schema API 2016-07-06 14:09:56 +05:30
Varun Thacker 413ea47670 SOLR-9242: Collection backup/restore to provide a param for specifying underlying storage repository to use 2016-07-06 13:21:31 +05:30
Erick Erickson 98ad225cf4 SOLR-8848:When a SolrJ alias watch is triggered, the new alias state should be logged
(cherry picked from commit da1f6e9)
2016-07-05 18:13:27 -07:00
Chris Hostetter 5abdcb8fa5 SOLR-9235: Fixed NPE when using non-numeric range query in deleteByQuery
(cherry picked from commit 54b3945572)
2016-07-05 14:23:21 -07:00
Shalin Shekhar Mangar 119ea15ad6 SOLR-8048: Stop using deprecated CollectionAdminRequest.Reload constructor
(cherry picked from commit 8653be9)
2016-07-05 12:54:49 +05:30
Shalin Shekhar Mangar 31316f7682 SOLR-8048: Close the http client in a finally clause at the end of the test
(cherry picked from commit 2d6b7ea)
2016-07-05 12:54:49 +05:30
Erick 50a9153462 SOLR-9276: Remove remnants of old-style core definitions from OpenCloseCoreStressTest
(cherry picked from commit 32e0f5f)
2016-07-04 17:14:51 -07:00
Erick Erickson 71842a6277 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. Windows text fix 3
(cherry picked from commit 9dd9a6f)
2016-07-04 10:27:21 -07:00
Christine Poerschke bb8fc6f29b LUCENE-7358: Remove redundant failonerror=true in (contrib|modules)-crawl elements. 2016-07-04 12:10:12 +01:00
Erick Erickson c0036aaeee SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. More Windows fixes
(cherry picked from commit 65c3485)
2016-07-03 17:32:10 -07:00
Erick Erickson dd761584c7 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper - Fix Windows failures 2016-07-02 19:15:21 -07:00
Erick ee0dbf55f7 SOLR-9194: fixed merge foo 2016-07-02 11:43:37 -07:00
Erick fa3e79ba3c SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper
(cherry picked from commit a851d5f)
2016-07-02 11:35:46 -07:00
Alan Woodward 997489f78a SOLR-9076: Fix ivy config to pass precommit 2016-07-01 16:01:57 +01:00
Alan Woodward 057c317a9d SOLR-9181: Fix some races in ZkStateReader collection watch updates 2016-07-01 15:48:29 +01:00
markrmiller 40d35045ea SOLR-9076: Add some missing dependencies. 2016-07-01 09:07:31 -04:00
Noble Paul 5937247ac3 SOLR-9251: Support for a new tag 'role' in replica placement rules 2016-07-01 17:38:40 +05:30
Shalin Shekhar Mangar ed38a29a9f SOLR-8787: Fix broken build due to unused import 2016-07-01 10:31:45 +05:30
Shalin Shekhar Mangar 18434526d6 SOLR-8787: Shutdown MiniSolrCloudCluster in a finally block
(cherry picked from commit 0a15699)
2016-06-30 22:32:47 +05:30
Shalin Shekhar Mangar c7d82e7b38 SOLR-8787: TestAuthenticationFramework should not extend TestMiniSolrCloudCluster
(cherry picked from commit 6528dac)
2016-06-30 22:27:37 +05:30
Shalin Shekhar Mangar 1ce09b482e SOLR-9264: Remove unused imports
(cherry picked from commit 74c8606)
2016-06-30 18:20:39 +05:30
Shalin Shekhar Mangar 8cb37842ec SOLR-9264: Optimize ZkController.publishAndWaitForDownStates to not read all collection states and watch relevant collections instead
(cherry picked from commit 015e0fc)
2016-06-30 15:23:58 +05:30
Noble Paul ce3ea76781 SOLR-9216: Support collection.configName in MODIFYCOLLECTION request 2016-06-30 13:13:01 +05:30
Dennis Gove d1a9daec87 SOLR-9246: If the JDBCStream sees an unknown column type it will now throw a detailed exception 2016-06-29 14:44:25 -04:00
Steve Rowe 455e041c68 Put back 6.2 bugfixes released in 5.5.2: SOLR-9191 and SOLR-9234 2016-06-29 09:00:29 -04:00
Shalin Shekhar Mangar 812fd346f7 SOLR-8777: Duplicate Solr process can cripple a running process
(cherry picked from commit 4ea95bf)
2016-06-29 16:59:56 +05:30
Alan Woodward d33ad81d69 LUCENE-7360: Explanation.toHtml() is deprecated 2016-06-29 09:13:15 +01:00
Tomas Fernandez Lobbe eaabb9dc77 SOLR-8657: Fix SolrRequestInfo error logs if QuerySenderListener is being used 2016-06-28 15:11:41 -07:00
jbernste 723fc1dc85 SOLR-9254: Fixed typo in CHANGES.txt 2016-06-28 15:33:02 -04:00
jbernste 59c5e6014b SOLR-9254: GraphTermsQueryQParserPlugin throws NPE when field being search is not present in segment 2016-06-28 13:11:19 -04:00
Shalin Shekhar Mangar 03bbf7ce8a Fix typo in bin/solr zk help text
This closes #29
(cherry picked from commit ab2348e)
2016-06-28 17:16:14 +05:30
Shalin Shekhar Mangar de85b9fff2 SOLR-8626: 404 error when clicking nodes in cloud graph view in angular UI.
This closes #23
(cherry picked from commit 9cbd540)
2016-06-28 16:43:31 +05:30
Shalin Shekhar Mangar c8f9973a10 Trivial name spelling fix for SOLR-445. Cherry-picked 8c47d20 2016-06-28 16:38:51 +05:30
Varun Thacker eb07143633 SOLR-7374: Fixing test failures like build #3366. Index a minimum of 1 doc 2016-06-27 12:09:18 +05:30
Jan Høydahl 319f89210a SOLR-9237: DefaultSolrHighlighter.doHighlightingByFastVectorHighlighter can't be overidden
(cherry picked from commit 7eb7702)
2016-06-27 00:01:09 +02:00
Steve Rowe 98d5c83db7 CHANGES.txt-s: Synchronize 5.5.1 and 5.5.2 sections 2016-06-24 19:21:05 -04:00
Varun Thacker daf90b5e0c SOLR-7374: Core level backup/restore now supports specifying a directory implementation 2016-06-24 18:07:31 +05:30
Erick caec6b40fd SOLR-8546: TestLazyCores is failing a lot on the Jenkins cluster. 2016-06-23 21:10:49 -07:00
Gregory Chanan b76f64fdc0 SOLR-9076: Update to Hadoop 2.7.2 2016-06-23 14:57:59 -07:00
markrmiller dae777899a SOLR-9219: Make hdfs blockcache read buffer sizes configurable and improve cache concurrency. 2016-06-23 17:28:10 -04:00
Adrien Grand 5e2f340cfa LUCENE-7350: Remove unused imports. 2016-06-21 17:57:44 +02:00
Noble Paul 73d5f1c52c SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint 2016-06-21 18:51:45 +05:30
Noble Paul 3a9019e020 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-06-21 13:38:30 +05:30
Noble Paul 153ca1f6c2 SOLR-9233: avoid new string creation in CollectionAction 2016-06-21 13:38:04 +05:30
Uwe Schindler e50613cb81 SOLR-8981: Add notice for jackcess 2016-06-20 23:51:39 +02:00
Adrien Grand aaddefe80e SOLR-7739: Add CHANGES entry. 2016-06-20 17:19:59 +02:00
Adrien Grand 5afdc1d72d SOLR-8995: Remove unused imports. 2016-06-20 09:58:50 +02:00
Adrien Grand bac521d1aa LUCENE-7317: Remove auto-prefix terms. 2016-06-20 09:58:42 +02:00
Noble Paul d3fcac779b Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-06-20 11:17:30 +05:30
Noble Paul ab44ac17ae SOLR-8995: replace SAM implementations with lambda 2016-06-20 11:17:12 +05:30
Uwe Schindler 097cffeba7 LUCENE-7346: Update forbiddenapis to version 2.2 2016-06-19 21:28:25 +02:00
Steve Rowe 940aedf26b SOLR-9220: Disable failing tests 2016-06-18 16:11:33 -04:00
Uwe Schindler 1f7b955507 SOLR-8981: Add changes entry 2016-06-18 19:28:16 +02:00
Uwe Schindler 7403b46c4d SOLR-8981: Update TIKA to 1.13:
- This commit merges branch 'SOLR-8981' of https://github.com/tballison/lucene-solr
- Adds some modifications and reverts jackcess-encrypt addition (not yet working)
- Fixes order of ivy-versions.properties
- This closes #44
2016-06-18 19:21:52 +02:00
Mike McCandless ea9c7ea88c LUCENE-7335: IW's commit data is now late binding 2016-06-17 05:47:14 -04:00
Christine Poerschke f9521549e0 SOLR-9195: remove unnecessary allocation and null check in UpdateRequestProcessorChain.getReqProcessors 2016-06-15 14:39:45 +01:00
Noble Paul 62452f033a SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh 2016-06-15 11:50:23 +05:30
Mike McCandless ba92214830 LUCENE-7318: graduate StandardAnalyzer and make it the default for IndexWriterConfig 2016-06-14 18:41:37 -04:00
Mike McCandless 45d2d2e7d3 LUCENE-6171: pass the StandardOpenOption.CREATE_NEW so the filesystem ensures Lucene really is write-once 2016-06-14 15:16:22 -04:00
Christine Poerschke 9be5b98eb3 SOLR-9161: change SolrPluginUtils.invokeSetters implementation to accommodate setter variants 2016-06-14 09:45:08 +01:00
Adrien Grand 9719105e7c SOLR-9204: Remove unused imports. 2016-06-14 10:25:52 +02:00
Steve Rowe 816b502025 Address Solr Changes.html problems: 1) In solr/CHANGES.txt, add a 'Versions of Major Components' section to the 6.2.0 and 6.1.0 releases; 2) In addVersion.py: when adding a new version to solr/CHANGES.txt, add a line referring to LUCENE_CHANGES.txt, and add a 'Versions of Major Components' section with versions interpolated from ivy-versions.properties; and 3) In changes2html.pl: allow section names to have up to 6 words (to handle 'Upgrading from Solr any prior release') 2016-06-13 20:17:59 -04:00
markrmiller 90c920d276 SOLR-9204: Improve performance of getting directory size with hdfs. 2016-06-13 12:23:37 -04:00
Adrien Grand 6d1bb14077 LUCENE-7319: Remove more unused imports so that precommit passes. 2016-06-13 15:45:54 +02:00
Adrien Grand f1ddc55aff LUCENE-7319: Remove more unused imports. 2016-06-13 15:33:49 +02:00
Christine Poerschke 21bc7ef104 LUCENE-7319: remove unused imports 2016-06-13 12:35:49 +01:00
Mikhail Khludnev c67258694b SOLR-2199: DataImportHandler (DIH) JdbcDataSource supports multiple resultsets per query 2016-06-13 00:13:42 +03:00
Uwe Schindler 4ead0dbcc6 LUCENE-7334: Update ASM dependency to 5.1 2016-06-12 14:22:09 +02:00
Noble Paul ff6475c3a7 SOLR-8744: Minimize the impact on ZK when there are a lot of blocked tasks 2016-06-12 13:13:40 +05:30
Erick Erickson bc86c1015c SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:53:59 -07:00
Erick Erickson f1c74bb250 SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:34:52 -07:00
Mike McCandless ea26dd5855 LUCENE-6766: finish 6.x backport 2016-06-11 11:48:40 -04:00
Mike McCandless a3270ac6e6 LUCENE-6766: keep SortingMergePolicy for solr back-compat; fix Solr tests; fix precommit failures 2016-06-11 11:48:40 -04:00
Alan Woodward 4a22b0ff82 SOLR-9176: Fix facet method fallback selection 2016-06-10 15:41:24 +01:00
Steve Rowe 74d94ec265 SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649 2016-06-10 02:34:56 -04:00
Steve Rowe 3c789e9d27 SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649 2016-06-10 02:33:30 -04:00
Gregory Chanan 360d9c40da SOLR-9199: ZkController#publishAndWaitForDownStates logic is inefficient 2016-06-09 13:26:30 -07:00
Scott Blum 4eead9b235 Fix solr/CHANGES.txt 2016-06-09 16:24:37 -04:00
Scott Blum cde57ab64a SOLR-9191: OverseerTaskQueue.peekTopN() fatally flawed 2016-06-09 15:16:27 -04:00
Mike McCandless ae0adfc34d LUCENE-7323: compound file writing now verifies checksum and segment ID for the incoming sub-files, to catch hardware issues or filesystem bugs earlier 2016-06-09 14:49:47 -04:00
Noble Paul 274dcdb5f6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-06-09 11:49:22 +05:30
Noble Paul 23f3b31114 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:48:59 +05:30
Noble Paul a07c40a217 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:48:45 +05:30
Steve Rowe 210e0bbc88 CHANGES.txt-s: Move issues released with 6.0.1 into the 6.0.1 sections 2016-06-08 18:22:11 -04:00
Noble Paul 73b73f068b SOLR-9198: config APIs unable to add multiple values with same name 2016-06-09 00:35:12 +05:30
Steve Rowe ded16f8f18 SOLR-9107: When creating a randomized SSL test config, 100% effective odds of using SSL and/or client auth should never be trumped by chance. 2016-06-08 14:43:19 -04:00
Adrien Grand e495616686 Add Version.LUCENE_6_2_0. 2016-06-08 14:31:40 +02:00
David Smiley 3a57beaa9e SOLR-8859: Fix AbstractSpatialFieldType to not cycle through all Spatial4j provided formats.
And Fix RptWithGeometrySpatialField to be less brittle on init()
(cherry picked from commit fb37b3e)
2016-06-07 17:06:04 -04:00
Noble Paul 7f6be6e893 SOLR-7123: Syntax modified. Multiple paths can be added in the split parameter itself (pipe separated) 2016-06-07 22:19:09 +05:30
Uwe Schindler d4ede8b2f7 Fix temp dir usage in ZkCLI test 2016-06-07 10:56:07 +02:00
Uwe Schindler 524f4fb963 SOLR-8610: Fix temporary dir usage in DIH 2016-06-07 10:56:06 +02:00
Mikhail Khludnev 871347282a SOLR-8445: fix line separator in log4j.properties files 2016-06-07 00:25:18 +03:00
Chris Hostetter 4e3884bec7 Revert "SOLR-9140: Replace some zk state polling with CollectionStateWatchers"
Alan's comments (via Uwe) in SOLR-9140 jira comments suggest that he thought he had already
reverted this on both branches, but that is not the case.  Reverting on his behalf due to the
likelyhood that this is causing SOLR-9189.

Alan's comments regarding the master equivilent revert...

"There's still some places where notifications can be missed, so I'm reverting
this until those are fixed."

This reverts commit 9f299bb6ad.
2016-06-06 14:13:59 -07:00
Mikhail Khludnev 87d46225cd SOLR-8676: keep LOG4J_CONFIG in solr.cmd 2016-06-06 23:55:01 +03:00
Mikhail Khludnev 6fd494ebef SOLR-8610: Resolve variables in encryptKeyFile of DIH's JdbcDataSource 2016-06-06 23:42:21 +03:00
Mikhail Khludnev 22e5d31cdc SOLR-8612: closing JDBC Statement on exceptions from JdbcDataSource in DataImportHandler aka DIH (Kristine Jetzke via Mikhail Khludnev) 2016-06-06 21:45:20 +03:00
Alan Woodward 3595b9ab2e Revert "SOLR-9181: Fix test bug in ZkStateReaderTest"
This reverts commit 0cfe43164a.
2016-06-04 11:06:31 +01:00
Chris Hostetter 8481d6f47f SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing
(cherry picked from commit 09372acb66)

Conflicts:
	solr/CHANGES.txt
2016-06-03 11:12:42 -07:00
Alan Woodward 9f299bb6ad SOLR-9140: Replace some zk state polling with CollectionStateWatchers 2016-06-03 15:52:41 +01:00
Alan Woodward 0cfe43164a SOLR-9181: Fix test bug in ZkStateReaderTest 2016-06-03 15:13:17 +01:00
Alan Woodward ec40824bfd SOLR-9107: Make SolrTestCaseJ4.beforeClass() / .afterClass() public 2016-06-03 14:32:58 +01:00
Chris Hostetter 7f82139369 SOLR-9182: SuppressSSL on some tests where it's non to cause OOM
(cherry picked from commit 1eb6c9f816)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/TestTolerantUpdateProcessorRandomCloud.java
2016-06-02 11:30:28 -07:00
Noble Paul 734dcb99fc SOLR-8744: Overseer operations performed with fine grained mutual exclusion 2016-06-02 14:49:06 +05:30
Noble Paul 91f8edca8f SOLR-7123: '/update/json/docs' path supports nested documents 2016-06-01 18:35:34 +05:30
Chris Hostetter 22faa09882 SOLR-8940: Fix group.sort option
(cherry picked from commit 18256fc287)
2016-05-31 16:12:55 -07:00
Noble Paul 6662cdc07f Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-05-31 23:15:07 +05:30
Noble Paul d100dcdc56 fixing typos in javadocs 2016-05-31 23:14:37 +05:30
Jan Høydahl a460addd2f SOLR-8583: Do not attempt highlight of alternate if it is same as original hl field
(cherry picked from commit 05ce40a)
2016-05-30 10:25:55 +02:00
Jan Høydahl fa84052682 SOLR-8583: Apply highlighting to hl.alternateField by default.
(cherry picked from commit e37e49e)
2016-05-29 09:46:15 +02:00
Erick e4210b29a8 SOLR-9136: Separate out the error statistics into server-side error vs client-side error 2016-05-28 11:20:05 -07:00
Mikhail Khludnev 9863eea256 SOLR-9110: removing static members from tests. 2016-05-28 00:52:52 +03:00
yonik 5525f42928 SOLR-9160: Sync 6x and 7.0 move of UninvertingReader, SlowCompositeReaderWrapper for Solr (LUCENE-7283) 2016-05-27 12:40:24 -04:00
Mikhail Khludnev aec3654fb8 SOLR-9110: moving JoinFromCollection- SubQueryTransformer- BlockJoinFacet- Distrib Tests to SolrCloudTestCase 2016-05-27 14:36:45 +03:00
jdyer1 f1f85e560f SOLR-9165: disable "cursorMark" when testing for valid SpellCheck Collations 2016-05-26 14:48:23 -05:00
jdyer1 1609428786 SOLR-9141: Fix ClassCastException when using the /sql handler count() function with single-shard collections 2016-05-26 13:43:14 -05:00
Noble Paul 8276a62b42 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-05-25 23:43:12 +05:30
Chris Hostetter dc67fcde51 SOLR-9119: several static methods in ValueSourceParser have been made private in master, and deprecated here
(cherry picked from commit e9f65fe0f8) ... with modifications
2016-05-24 15:51:34 -07:00
Chris Hostetter 1f5be04af0 SOLR-9159: New cloud based concurrent atomic update test
(cherry picked from commit 19044afed4)
2016-05-24 13:30:38 -07:00
Jan Høydahl 41c3112693 SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD
(cherry picked from commit 50c4f58)
2016-05-24 12:57:49 +02:00
Dawid Weiss d6264eb475 LUCENE-7277: Make Query.hashCode and Query.equals abstract. 2016-05-24 10:36:15 +02:00
Noble Paul afe196481f improved logging for debug errors such as these SOLR-9143 2016-05-24 10:41:13 +05:30
Dennis Gove ab87a0e756 SOLR-8988: Adds query option facet.distrib.mco which when set to true allows the use of facet.mincount=1 in cloud mode 2016-05-23 15:23:37 -04:00
Christine Poerschke c432e44264 SOLR-9134: Fix RestManager.addManagedResource return value. 2016-05-23 16:41:34 +01:00
Alan Woodward 6c37541618 SOLR-9132: Fix request-counting logic in ConnectionReuseTest 2016-05-23 15:25:25 +01:00
Noble Paul 978885cf70 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-05-23 12:17:09 +05:30
Noble Paul 48feaed745 more logging for debug errors such as these SOLR-9143 2016-05-23 12:16:43 +05:30
Mikhail Khludnev 02a31ebc84 SOLR-9147: trying to fix the build 2016-05-23 08:02:18 +03:00
Uwe Schindler ecf2a732fc LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:18:42 +02:00
Mikhail Khludnev bbac85c35a SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:15:46 +03:00
Steve Rowe b4d8e42a1f SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists 2016-05-20 19:37:37 -04:00
Uwe Schindler ebcc991034 Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-05-20 22:26:14 +02:00
Uwe Schindler 7bd6d94952 LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:25:28 +02:00
Alan Woodward 0132d58e55 SOLR-9132: Add some logging to ConnectionReuseTest for debugging 2016-05-20 19:20:59 +01:00
Jan Høydahl 4aa9c32dac SOLR-9131: Fix "start solr" text in cluster.vm Velocity template
(cherry picked from commit 3d750b6)
2016-05-20 12:45:49 +02:00
Alan Woodward f1e870c016 SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:59:08 +01:00
Alan Woodward 8db3c73375 SOLR-9113: Fix re-registration race 2016-05-19 14:53:43 +01:00
jbernste 73b71b16d2 SOLR-9128: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-18 22:54:21 -04:00
jbernste cb38b14205 SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 22:53:02 -04:00
Uwe Schindler 76d4dea086 Hide bootclasspath warning also in Solr (Java 9) 2016-05-18 23:52:33 +02:00
Shalin Shekhar Mangar 894650d352 SOLR-9117: Write contributor's full name in change log
(cherry picked from commit 4bc3477)
2016-05-18 20:20:35 +05:30
Shalin Shekhar Mangar 2dff2b8070 SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded
(cherry picked from commit d6a5c5a)
2016-05-18 20:17:35 +05:30
Shalin Shekhar Mangar ba7698e4e7 SOLR-9117: The first SolrCore is leaked after reload
(cherry picked from commit d1202a8)
2016-05-18 02:04:15 +05:30
jbernste b1b9015290 SOLR-9118: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-17 14:21:11 -04:00
jbernste 93201cd07e SOLR-9118: HashQParserPlugin should trim partition keys 2016-05-17 14:17:17 -04:00
Alan Woodward 8de89081e6 SOLR-9113: Improve state watcher API 2016-05-17 10:45:34 +01:00
Steve Rowe 0ec57a9918 SOLR-9109: Allow specification of a custom Ivy settings file via system property "ivysettings.xml". 2016-05-16 18:07:31 -04:00
Uwe Schindler 72ad66601d Move non-inner classes to separate files: This breaks IDEs and update checks by javac 2016-05-16 19:55:02 +02:00
Uwe Schindler d01bc2c78f SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool 2016-05-16 18:02:40 +02:00
Alan Woodward b5c369a773 SOLR-8323: Handle removal of legacy collections 2016-05-14 19:10:03 +01:00
Alan Woodward 06ebd4fd7e SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 13:01:05 +01:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Steve Rowe c9f7535707 Add version 6.0.1 2016-05-13 18:41:19 -04:00
Alan Woodward 06d2f6368d SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:43:43 +01:00
Mikhail Khludnev e94ffde44e SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection() 2016-05-13 23:35:58 +03:00
David Smiley 9d826ffa2f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
(cherry picked from commit 4193e60)
2016-05-13 10:05:37 -04:00
Alan Woodward 18f54d6f77 SOLR-9072: Move morphline-core zk tests to SolrCloudTestCase 2016-05-13 14:40:17 +01:00
jbernste 69cb606d78 Fix error message assert 2016-05-11 23:52:09 -04:00
Chris Hostetter 1d7094c931 SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths
(cherry picked from commit 76063648ae)
2016-05-11 16:35:23 -07:00
Jan Høydahl 84ffc4d690 SOLR-9105: Add changes entry. This closes #39
(cherry picked from commit 32726c3)
2016-05-11 23:37:59 +02:00
Bartosz Krasiński 696a15bf6d SOLR-9105: Fix some typos in solr core module
(cherry picked from commit 1609406)
2016-05-11 23:37:23 +02:00
Christine Poerschke 574a6a9d65 SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. 2016-05-11 15:30:16 +01:00
Mikhail Khludnev 184983280e SOLR-8208: miserable javadoc fixes 2016-05-10 21:58:33 +03:00
Erick Erickson 03a06bb3aa SOLR-9083: Remove deprecated <types> and <fields> from schemas
(cherry picked from commit 5341918)
2016-05-10 07:06:51 -07:00
Christine Poerschke 8e927b2f3d SOLR-9087: avoid IndexOutOfBoundsException in TestReplicationHandler.doTestIndexAndConfigAliasReplication 2016-05-10 13:07:51 +01:00
Erick Erickson 73b4defc07 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:48:49 -07:00
Mikhail Khludnev 75a84b7d2d SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 19:48:47 +03:00
Noble Paul 07b0dc86eb SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:23:09 +05:30
Varun Thacker 8e999d1a96 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-09 00:09:36 +05:30
Noble Paul 2bc376c7f5 SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:30:44 +05:30