Commit Graph

4215 Commits

Author SHA1 Message Date
Steven Rowe aa73a22aca SOLR-4729: exit loop after finding expected dynamic field definition in LukeRequestHandlerTest.testCatchAllCopyField()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476496 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:37:05 +00:00
Steven Rowe f42d02cc21 SOLR-4729: Remove CHANGES.txt entry from 4.4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476493 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:20:13 +00:00
Steven Rowe feee17c344 SOLR-4729: Move CHANGES.txt entry to 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476491 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:17:26 +00:00
Steven Rowe e53378bac6 SOLR-4771: Throw a more specific exception when SLF4J logging jars cannot be found on the classpath.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 19:52:54 +00:00
Mark Robert Miller 2db8c9aa1b SOLR-4754: our config parser seems to have been changed to return "" when it used to return null on an empty value and broke default host detection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476347 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 19:10:31 +00:00
Chris M. Hostetter e7829139fc SOLR-4705: move CHANGES to 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476328 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 18:10:27 +00:00
Chris M. Hostetter 3e45d17a90 SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476310 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 17:34:08 +00:00
Steven Rowe 18c22df8de SOLR-4768: The Solr war produced by generate-maven-artifacts should not contain logging jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476237 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:53:24 +00:00
Mark Robert Miller 79f996a31b SOLR-4757: Change the example to use the new solr.xml format and core discovery by directory structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476227 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:32:35 +00:00
Simon Willnauer 2bcdaaa114 LUCENE-4961: Filters should return null if they don't accept documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 13:30:06 +00:00
Robert Muir 7cfcb26b92 SOLR-4761: add option to plug in mergedSegmentWarmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476026 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 02:18:25 +00:00
Mark Robert Miller f3feb297d6 SOLR-4765: The new Collections API test deleteCollectionWithDownNodes fails often with a server 500 error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1475869 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 17:46:52 +00:00
Mark Robert Miller 7b783b312c SOLR-4756: Change some of our existing tests to use the new solr.xml format and core discovery by directory structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471545 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 17:16:21 +00:00
Mark Robert Miller ffbaa58de0 SOLR-4753: add assert so that tests fail when SolrCores are closed too many times
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471114 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:44:52 +00:00
Shawn Heisey dea93395d0 SOLR-4547: Move logging of filenames on commit from INFO to DEBUG.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471105 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:20:39 +00:00
Mark Robert Miller 03a855bac2 SOLR-4752: There are some minor bugs in the Collections API parameter validation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471091 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 18:48:45 +00:00
Uwe Schindler 8bf0797a22 LUCENE-4949: Make the version prefix ("SNAPSHOT") separately configurable to enable Jenkins use its BUILD_ID variable, cleanup code duplication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470975 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 14:17:17 +00:00
Steven Rowe c8f3000300 SOLR-4729: LukeRequestHandler: Using a dynamic copyField source that is not also a dynamic field triggers error message 'undefined field: "(glob)"'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470820 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 05:56:05 +00:00
Mark Robert Miller 16012cfd99 SOLR-4749: Record solrcloud attribs even when not in zk mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470772 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 01:21:32 +00:00
Mark Robert Miller 7a70a0d6a3 SOLR-4749: Fix a few issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470766 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 01:07:05 +00:00
Mark Robert Miller 33abacf125 SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470758 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 00:09:30 +00:00
Steven Rowe 7410b25972 SOLR-3251: TestManagedSchema: Explicitly close managed-schema FileInputStream so that Windows can delete the file in the @After-annotated method that cleans up the temp directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470723 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:25:52 +00:00
Mark Robert Miller 168047c4ec SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470709 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 20:39:24 +00:00
Steven Rowe eed3533439 SOLR-3251: Wait longer before failing when modified schema doesn't show up right away
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470686 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:54:03 +00:00
Mark Robert Miller 898058005a SOLR-4749: Remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470678 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:41:07 +00:00
Mark Robert Miller 87e248f2d5 SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:35:10 +00:00
Robert Muir 13be62c316 SOLR-4738: Upgrade jetty to 8.1.10.v20130312
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470626 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 17:25:11 +00:00
Robert Muir 89b08baab7 SOLR-2079: Add option to pass HttpServletRequest in the SolrQueryRequest context map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470614 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 16:44:16 +00:00
James Dyer a24f93e728 SOLR-4333: edismax to not double-escape colons if already escaped by client application
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470577 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 15:31:04 +00:00
Robert Muir 60ffa638b6 SOLR-4748: remove more bogus files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470563 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 15:00:35 +00:00
Robert Muir 79e22bd13a SOLR-4748: remove bogus files in licenses/ directory and fix the build to fail again when this happens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470558 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:49:54 +00:00
Steven Rowe 28b7111dc7 SOLR-3251: Dynamically add fields to schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470539 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:26:55 +00:00
Yonik Seeley db21fb0bbd SOLR-4746: fix JSON output for distributed grouping top level
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470523 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:08:10 +00:00
Mark Robert Miller 8aa09aeca0 SOLR-4741: Deleting a collection should set DELETE_DATA_DIR to true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470255 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 02:42:05 +00:00
Mark Robert Miller 328cb6c744 don't return in a finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470198 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 17:16:25 +00:00
Ryan McKinley 8795ba0c43 SOLR-4358: HttpSolrServer now supports forcing multipart requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469946 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 16:35:26 +00:00
Mark Robert Miller 496c2d0365 SOLR-4737: Update sha1 file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469678 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 03:50:24 +00:00
Mark Robert Miller 40717e3439 SOLR-4716,SOLR-4584: SolrCloud request proxying does not work on Tomcat and perhaps other non Jetty containers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469672 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 03:30:35 +00:00
Mark Robert Miller 34417d7bf1 SOLR-4737: Update Guava to 14.01
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469663 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 02:06:36 +00:00
Chris M. Hostetter 0e0378eed5 SOLR-4729: testcase for catchall copyField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469529 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 19:13:36 +00:00
Chris M. Hostetter f6d497e9e7 improve upgrading instructions for 4.3 ... grouped by theme, and more focused on what people need to be concerned with instead of just cut/paste the changes entry for each jira.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469508 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 18:11:37 +00:00
Mark Robert Miller 3ec4cf018b fix CHANGES - this was in 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469346 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 14:38:06 +00:00
Robert Muir 7f2917c529 SOLR-4730: make wiki link more prominent in release documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469125 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 01:43:27 +00:00
Mark Robert Miller 673aaeb813 SOLR-4662: Discover SolrCores by directory structure rather than defining them in solr.xml. Also, change the format of solr.xml to be closer to that of solrconfig.xml. This version of Solr will ship the example in the old style, but you can manually try the new style. Solr 4.4 will ship with the new style, and Solr 5.0 will remove support for the old style.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469089 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 22:49:48 +00:00
Chris M. Hostetter ad47f73895 SOLR-4661: Admin UI Replication details now correctly displays the current replicable generation/version of the master
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469073 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 21:13:20 +00:00
Robert Muir 6cce8ceb60 add 4.4 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469033 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 19:22:39 +00:00
Chris M. Hostetter 836cb113f1 SOLR-4487: HttpSolrServer now includes the true http status code in SolrExceptions that it throws
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468705 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 01:24:53 +00:00
Ryan McKinley 5fc7f74c8c SOLR-4358: reverting sending the name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468680 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 23:31:10 +00:00
Uwe Schindler d3f02004d4 Merged revision(s) 1468638 from lucene/dev/branches/branch_4x:
LUCENE-4937: Fix incorrect sorting of float/double values (+/-0, NaN).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468640 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 22:12:44 +00:00
Ryan McKinley 4ee9cdff7a SOLR-4358: HttpSolrServer sends the stream name and exposes useMultiPartPost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468571 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 19:26:12 +00:00
Ryan McKinley 6b1e7726e7 SOLR-4671: CSV writer now supports pseudo fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468549 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 18:34:22 +00:00
Ryan McKinley dd28755d00 Merged revision(s) 1468522 from lucene/dev/branches/branch_4x:
SOLR-4717, SOLR-1351: adding Uri to CHANGES.txt
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468523 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 17:30:45 +00:00
Ryan McKinley a18dd62903 SOLR-1351, SOLR-4717 -- facet same field multiple ways
........
Merged revision(s) 1468511 from lucene/dev/branches/branch_4x:


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468513 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 17:16:01 +00:00
Ryan McKinley 4642adae86 SOLR-4717: SimpleFacets uses localParams (merge from 4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468486 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 16:13:44 +00:00
Shalin Shekhar Mangar 51cbaae610 SOLR-3755: Increasing read timeout for cloud client
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468430 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 14:24:50 +00:00
Shalin Shekhar Mangar 358e9709cf SOLR-3755: Reverting r1467855 because it can mask timeout related problems in ChaosMonkeyShardSplitTest. Increasing read timeouts instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468392 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 12:26:50 +00:00
Erick Erickson fecbb50d7e Changes for SOLR-4662, finalizing the new form of solrxml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468284 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 00:34:49 +00:00
Chris M. Hostetter e72896f0f3 SOLR-4629: use explicit sort in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468256 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 22:24:16 +00:00
Mark Robert Miller 77c25415a7 SOLR-4710: You cannot delete a collection fully from ZooKeeper unless all nodes are up and functioning correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468247 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 22:07:12 +00:00
Shalin Shekhar Mangar 9431cb06bd SOLR-3755: Make sure sub shard leader is live before forwarding requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468078 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 13:58:19 +00:00
Shalin Shekhar Mangar 7114859f09 SOLR-3755: Treat no live SolrServers available as a recoverable error and count document to avoid spurious failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 05:39:21 +00:00
Shalin Shekhar Mangar f975a02658 SOLR-3755: Refactored ShardSplitTest and ChaosMonkeyShardSplitTest to share code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467799 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 16:14:21 +00:00
Uwe Schindler b1391bef1c Update link in SysReq page (the old one is still valid and redirects, but to specific)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467761 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 10:44:04 +00:00
Shalin Shekhar Mangar 763568f95f SOLR-3755: Added debugging code to test to track test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467728 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 06:42:42 +00:00
Chris M. Hostetter 8dd71d2dbe SOLR-4629: TestReplicationHandler improvements
- new testEmptyCommits
 - numFound assertion refactoring
 - reduce excessive test sleeping in rQuery
 - new "wait" option to make fetchindex block
 - refactor core reload test to wait for the startAt time to change




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467723 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 03:35:43 +00:00
Erik Hatcher dfd50b7438 merge from r1467413
* SOLR-4680: Correct example spellcheck configuration's queryAnalyzerFieldType and
  use "text" field instead of narrower "name" field (ehatcher, Mark Bennett)

* SOLR-4702: Fix example /browse "Did you mean?" suggestion feature. (ehatcher, Mark Bennett)

(note, I don't have JDK7 available currently, but merge from 4x r1467413 looks good)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467416 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:01:18 +00:00
Robert Muir a79c85d338 LUCENE-4896: make PassageFormatter abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 18:25:34 +00:00
Robert Muir eaef2538cc spelling and formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466928 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 15:46:57 +00:00
Shalin Shekhar Mangar 4c0f248b19 SOLR-4695: Fix core admin SPLIT action to be useful with non-cloud setups. Fixing change log entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466858 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:51:49 +00:00
Shalin Shekhar Mangar a043c9a4d5 SOLR-4685: Fix core admin SPLIT action to be useful with non-cloud setups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:49:55 +00:00
Steven Rowe c91f22b0b0 SOLR-4658:
- Fix class name shortening issues, for SimilarityFactory's, FieldType's, and analysis factories: persisted class names' original forms are preserved in both shortened form (e.g. 'solr.TextField') and fully qualified form (e.g. 'org.apache.solr.schema.TextField')
- luceneMatchVersion on analysis factories is now persisted only when explicitly specified in the original; previously the default value was persisted when it was absent in the original
- Add MockTokenFilterFactory

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:36:19 +00:00
Mark Robert Miller f9d36d9fda SOLR-4699: The System admin handler should not assume a file system based data directory location.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466649 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 19:52:33 +00:00
Shalin Shekhar Mangar e27b3f24c0 SOLR-3755: Set update log to buffer before core is published
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466506 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 15:08:39 +00:00
Erick Erickson ae84b6a178 =SOLR-4663, SOLR-4347, SOLR-1905. Warn for bad core configs, persist transient cores correctly, do not persist implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466291 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 23:46:24 +00:00
Yonik Seeley b7e58e8efb tests: test negative numbers in TestRandomFaceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466152 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:41:55 +00:00
Yonik Seeley 1c112f238e SOLR-4581: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466149 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:37:47 +00:00
Shalin Shekhar Mangar 2715fc2910 SOLR-3755: Make ChaosMonkeyShardSplitTest more consistent with ShardSplitTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466093 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:59:35 +00:00
Shalin Shekhar Mangar 6a7ff16d94 SOLR-3755: Mark indexDir to be deleted while unloading sub-shard cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466090 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:57:00 +00:00
Yonik Seeley 2c34cb858e SOLR-4581: make float/double bits sort correctly for faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466078 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:19:27 +00:00
Robert Muir a6c5fe9f3a SOLR-4677: Improve Solrs use of spec version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466031 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:51:01 +00:00
Shalin Shekhar Mangar ccf99d3e6c SOLR-4530: DIH: Provide configuration to use Tika's IdentityHtmlMapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465879 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 04:40:12 +00:00
Mark Robert Miller 1a9de4ba0a SOLR-4691: zkcli.sh/bat is broken because it cannot find the logging jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465836 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 00:15:43 +00:00
Shalin Shekhar Mangar fcb859806b SOLR-3755: Set update log to buffering mode in preRegister before the core can accept any requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465760 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 20:00:15 +00:00
Chris M. Hostetter 71397bebd4 SOLR-4672: Requests attempting to use SolrCores which had init failures now result in 500 error responses with the details about the init failure, instead of 404 error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465749 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 19:56:16 +00:00
Shalin Shekhar Mangar 873b2308b6 SOLR-3755: A new collections api to add additional shards dynamically by splitting existing shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465661 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 15:16:31 +00:00
Mark Robert Miller e0cd09fe00 SOLR-4667: Our logging configuration files should set ZooKeeper logging to WARN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 02:39:01 +00:00
Adrien Grand 2951c6ebf6 LUCENE-4911: Synchronize Solr stopwords list.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465259 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 15:23:21 +00:00
Robert Muir b1b1247a65 SOLR-4684: add encoder config to PostingsSolrHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465258 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 15:14:46 +00:00
Robert Muir 609c2f2065 SOLR-4683: add BreakIterator config to PostingsSolrHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465249 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:17:40 +00:00
Robert Muir 57bf443834 SOLR-4675: Improve PostingsHighlighter integration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465228 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 11:48:47 +00:00
Shalin Shekhar Mangar 9176726895 SOLR-4682: CoreAdminRequest.mergeIndexes can not merge multiple cores or indexDirs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465196 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 05:58:18 +00:00
Andrzej Bialecki 0b999ebb46 SOLR-4648 Add PreAnalyzedUpdateProcessorFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464889 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 08:46:12 +00:00
Chris M. Hostetter 03c9371830 SOLR-4128: test proving this works now (apperas to have been fixed in SOLR-4036)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464802 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 00:55:34 +00:00
Adrien Grand 9588a84dec LUCENE-4874: Don't override non abstract methods that have an impl through
other abstract methods in FilterAtomicReader and related classes.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464710 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:48:45 +00:00
Robert Muir e78fd1cec9 LUCENE-4905: make maxPassages per-field in postingshighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464685 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:20:18 +00:00
Mark Robert Miller 68a1ca91c5 SOLR-4664: ZkStateReader should update aliases on construction.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464020 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 13:58:10 +00:00
Dawid Weiss 160cec5c95 SOLR-4653: Solr configuration should log inaccessible/ non-existent relative paths in lib dir=...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463836 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 06:40:59 +00:00
Uwe Schindler e529be4006 SOLR-4652: Fix broken behavior with shared libraries in resource loader for solr.xml plugins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463794 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 23:44:45 +00:00
Erick Erickson aefecd26a4 SOLR-4656, additional parameters for limiting work when highlighting multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463543 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:44:58 +00:00
Steven Rowe 6de43dea0a LUCENE-4877: more param parsing verbs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463335 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 23:45:33 +00:00
Erick Erickson 932923ee4b Fix for SOLR-4615, pull solr.properties out prior to deciding on the new mechanism
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463316 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 22:04:32 +00:00
Chris M. Hostetter 3d184a2452 SOLR-4622: deprecate hardcoded hostContext and hostPort defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463242 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 18:27:50 +00:00
James Dyer 54f8c01026 SOLR-3758: SpellCheckComponent to work properly with distributed grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463219 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 17:43:27 +00:00
Robert Muir 29b5142e79 LUCENE-4877: throw exception for invalid arguments in analysis factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463191 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:30:00 +00:00
Steven Rowe b1e4ba6843 SOLR-4658: In preparation for REST API requests that can modify the schema, a "managed schema" is introduced.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463182 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:16:03 +00:00
Robert Muir 48a28acbfd LUCENE-4861: make BreakIterator per-field in PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463083 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 04:39:49 +00:00
Erick Erickson 42b081cd5c SOLR-4657, core left open during stress tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463068 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 23:31:08 +00:00
Adrien Grand 1f964c5764 LUCENE-4876: Deeply clone IndexWriterConfigs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462656 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 21:56:46 +00:00
Steven Rowe 11068128d1 SOLR-4650: make BadCopyFieldTest extend AbstractBadConfigTestBase, which handles exceptions properly and deletes the core init'd to test config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462522 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 16:18:22 +00:00
Robert Muir abea806409 SOLR-4641: Schema should throw exceptoin on illegal field parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462502 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:46:58 +00:00
Erick Erickson a6e3ba52c0 SOLR-4549 - Hardening tests after SOLR-4196
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462495 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:55:07 +00:00
Steven Rowe 167a4b84c3 SOLR-4650: copyField doesn't work with source globs that don't match any explicit or dynamic fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462396 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 04:33:34 +00:00
Shawn Heisey 33c3778360 SOLR-4651: remove dist-excl-slf4j build target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462306 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 21:24:29 +00:00
Steven Rowe 20cf1b7226 remove upgrading section attribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462289 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:13:31 +00:00
Mark Robert Miller b09717828d SOLR-3706: add example/resources to solrj test classpath - without this, it's not finding a log4j config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462260 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:56:07 +00:00
Chris M. Hostetter 1ad382f304 SOLR-3956: Fixed group.facet=true to work with negative facet.limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462227 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 17:37:23 +00:00
Mark Robert Miller 175b33d5c7 SOLR-3706: remove log dependencies from core, exclude example log jars from test classpath, add versions to example log jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462145 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 15:14:29 +00:00
Steven Rowe 2fe1c91963 SOLR-4649: The Solr .war should not include (test-scope-only) cglib-nodep and objenesis jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461769 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 18:31:18 +00:00
Mark Robert Miller 51b597832e SOLR-3706: straighten out license files and jar checksums
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461717 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:16:26 +00:00
Mark Robert Miller 612b179d09 SOLR-3706: Ship setup to log with log4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 14:09:38 +00:00
Stefan Matheis d8df3a2d55 SOLR-4405: Admin UI - admin-extra files are not rendered into the core-menu
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461447 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 08:40:22 +00:00
Steven Rowe ad9a5b91e0 SOLR-4623: Fix classname shortening:
- Rename FieldType.normalizeSPIname() to getShortName()
- Stop shortening analyzer classnames
- Stop outputting analyzer classname from FieldType.getAnalyzerProperties() when the analyzer is TokenizerChain 
- In FieldType.getShortName(), tighten the set of package prefixes that will be shortened to 'org.apache.lucene.analysis.(whatever)', 'org.apache.solr.analysis.', and 'org.apache.solr.schema.'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461418 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 05:30:26 +00:00
Steven Rowe 77e9e58300 SOLR-4623: When serializing similarity factories, don't reduce class names of Similarity's wrapped with the anonymous factory to 'solr.<SimpleClassName>'; also, only reduce the class name of sim factories located in the org.apache.solr.search.similarities package, rather than that of any sim factory under packages org.apache.lucene.** and org.apache.solr.**
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:51:17 +00:00
Steven Rowe 61875d4c8f LUCENE-4879: Finish solr upgrade: upgrade randomizedtesting-runner and junit4-ant dependencies in solr/test-framework/ivy.xml; and add junit4-ant 2.0.9 SHA1 to solr/licenses/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461280 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 19:40:56 +00:00
Steven Rowe 396300149d LUCENE-4879: Add randomizedtesting-runner 2.0.9 SHA1 to solr/licenses/; Maven configuration: upgrade randomizedtesting-runner from 2.0.8 to 2.0.9.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:59:37 +00:00
Mark Robert Miller 2b6e3dd7ad SOLR-4644: try passing test.distrib.skip.servers on - if we hit a replica, we want it passed to the leader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460980 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:01:44 +00:00
Mark Robert Miller b4e22c267d SOLR-4642: QueryResultKey is not calculating the correct hashCode for filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460803 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 18:16:14 +00:00
Mark Robert Miller d1cbd22a65 tests: a little more debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 16:55:57 +00:00
Steven Rowe 5c7ca6aa48 SOLR-4623: Provide REST API read access to all elements of the live schema. Add a REST API request to return the entire live schema, in JSON, XML, and schema.xml formats. Move REST API methods from package org.apache.solr.rest to org.apache.solr.rest.schema, and rename base functionality REST API classes to remove the current schema focus, to prepare for other non-schema REST APIs. Change output path for copyFields and dynamicFields from "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and "dynamicFields", respectively, to align with all other schema REST API outputs, which use camelCase.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 04:29:33 +00:00
Mark Robert Miller a7a799c403 SOLR-4640: CachingDirectoryFactory can fail to close directories in some race conditions.
SOLR-4637: Replication can sometimes wait until shutdown or core unload until removing some tmp directories.
SOLR-4638: DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.
SOLR-4597: fixes, improvements
SOLR-4629: Stronger testing.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460510 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 02:34:42 +00:00
Yonik Seeley aba19484b9 SOLR-3819: make grouped faceting respect filter exclusions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 13:36:15 +00:00
Mark Robert Miller a8537b0323 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460077 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:41 +00:00
Mark Robert Miller f7cdbe2fc6 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460076 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:12 +00:00
Mark Robert Miller 9bfed46053 SOLR-4636: If opening a reader fails for some reason when opening a SolrIndexSearcher, a Directory can be left unreleased.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460071 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 01:32:02 +00:00
Uwe Schindler bf368745b9 SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 00:53:25 +00:00
Uwe Schindler 55478afcb7 LUCENE-4808: Undo the workaround for compilation in Java 8, the bug is fixed in b82
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460039 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:41:55 +00:00
Mark Robert Miller 3cc1919645 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:31:51 +00:00
Michael McCandless 0e830fbae4 LUCENE-4860: per-field control over scoring and formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:50:11 +00:00
Mark Robert Miller 3a8318ccd1 simplify
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 06:55:01 +00:00
Mark Robert Miller be4edb9ca4 tests: make test a little nastier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 05:34:34 +00:00
Mark Robert Miller efe78df1e8 tests: raise timeout from 15 to 30
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459624 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:39:25 +00:00
Mark Robert Miller 39f1b02fd2 SOLR-4629: More Replication testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459618 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:07:17 +00:00
Mark Robert Miller 324806c7b1 tests: improve logging around sync slice test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459616 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 03:39:27 +00:00
Mark Robert Miller 3dab717eaf tests: raise fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459611 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:10:33 +00:00
Mark Robert Miller a5fd71f0ee tests: try waiting for collection first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 00:05:37 +00:00
Mark Robert Miller f6fa8c215d SOLR-4624: remove leftover forceNew params.
SOLR-4626: getIndexWriter(null) should also respect pauseWriter.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459570 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 23:03:21 +00:00
Mark Robert Miller 5b3cdaca44 SOLR-4624: CachingDirectoryFactory does not need to support forceNew any longer and it appears to be causing a missing close directory bug. forceNew is no longer respected and will be removed in 4.3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459565 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:44:14 +00:00
Yonik Seeley 7584c40c7a SOLR-4625: fix boosts and phrase slops on sub parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459537 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:31:19 +00:00
Yonik Seeley 27f5cd5fb8 SOLR-4608: use default update processor chain during log replay and peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459424 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:56:31 +00:00
Jan Høydahl 810f740409 SOLR-4621: SYSTEM_REQUIREMENTS.txt points to non-existing BUILD.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459263 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 12:30:20 +00:00