Commit Graph

933 Commits

Author SHA1 Message Date
Mark Robert Miller 1bb25c388d SOLR-4245: When a core is registering with ZooKeeper, the timeout to find the leader in the cluster state is 30 seconds rather than leaderVoteWait + extra time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426898 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 06:18:37 +00:00
Mark Robert Miller ffd693605a SOLR-4244: When coming back from session expiration we should not wait for the leader to see us in the down state if we are the node that must become the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426892 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 05:54:59 +00:00
Erick Erickson b6d4d6e907 Fix for SOLR-4229, changing "swappable" to "transient"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426826 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 20:30:42 +00:00
Erik Hatcher fcc4d6f01a SOLR-3735: Relocate the example mime-to-extension mapping, and upgrade Velocity Engine to 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426716 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 08:41:53 +00:00
Erik Hatcher 11c4ce617c SOLR-4175: SearchComponent chain can't contain two components of the same class and use debugQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426569 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 16:29:37 +00:00
Uwe Schindler ba52cd4e03 Revert SOLR-1972
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Shalin Shekhar Mangar 6a0f11ebed SOLR-4223: "maxFormContentSize" in jetty.xml is not picked up by jetty 8
so set it via solr webapp context file

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425683 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 21:08:44 +00:00
Shalin Shekhar Mangar 460dec2c56 SOLR-4133: Cannot "set" field to null with partial updates when using the
standard RequestWriter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 10:01:08 +00:00
Chris M. Hostetter 9fd744d160 SOLR-3972: Fix ShowFileRequestHandler to not log a warning in the (expected) situation of a file not found.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425207 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 00:07:35 +00:00
Shalin Shekhar Mangar f4547f6a3b SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424906 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:01:08 +00:00
Mark Robert Miller e40696cd81 SOLR-4213: Directories that are not shutdown until DirectoryFactory#close do not have close listeners called on them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423738 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 02:56:15 +00:00
Mark Robert Miller 89a55d2e87 SOLR-4110: Configurable Content-Type headers for PHPResponseWriters and PHPSerializedResponseWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423121 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 20:26:39 +00:00
Mark Robert Miller 307ebd17cb SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Mark Robert Miller 181cad843a SOLR-4198: OverseerCollectionProcessor should implement ClosableThread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422371 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:59:10 +00:00
Mark Robert Miller 17569aa775 SOLR-4120: Collection API: Support for specifying a list of Solr addresses to spread a new collection across.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421999 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:53:43 +00:00
Mark Robert Miller 3ab1790be7 SOLR-4187: NPE on Directory release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421914 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:03:32 +00:00
Chris M. Hostetter 68974170ae SOLR-3918: Fixed the 'dist-war-excl-slf4j' ant target to exclude all slf4j jars, so that the resulting war is usable as is provided the servlet container includes the correct slf4j api and impl jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421411 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 18:12:23 +00:00
Mark Robert Miller 3fad0b1dcd SOLR-4144: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421331 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:12:56 +00:00
Mark Robert Miller acf4f12fee SOLR-788: Distributed search support for MLT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421326 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:03:19 +00:00
Mark Robert Miller ce0cc401ff SOLR-4178: ReplicationHandler should abort any current pulls and wait for it's executor to stop during core close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421078 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 05:33:01 +00:00
Mark Robert Miller 38d16dc7b7 SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter 930354533e SOLR-4163: README improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421068 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 02:52:54 +00:00
Chris M. Hostetter 3dbffb580f SOLR-4102: Fix UI javascript error if canonical hostname can not be resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421049 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 00:06:11 +00:00
Mark Robert Miller c2516de262 SOLR-4171: CachingDirectoryFactory should not return any directories after it has been closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420779 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:43:03 +00:00
Mark Robert Miller f78b7d2a1d SOLR-4168: 5x changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 01:49:25 +00:00
Chris M. Hostetter 50407282a7 Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Mark Robert Miller e8d2289a3f SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420362 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:49:29 +00:00
Mark Robert Miller a81f749ee1 SOLR-4030: Allow rate limiting Directory IO based on the IO context.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420336 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:19:07 +00:00
Chris M. Hostetter 0b3a7900fc SOLR-4127: Added explicit error message if users attempt Atomic document updates with either updateLog or DistribUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420297 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:25:02 +00:00
Mark Robert Miller f4371dcedf SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419959 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 01:06:59 +00:00
Mark Robert Miller 74b0f7bce3 SOLR-4071: Validate that name is pass to Collections API create, and behave the same way as on startup when collection.configName is not explicitly passed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419952 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:54:46 +00:00
Mark Robert Miller 4e439e791e SOLR-3948: Calculate/display deleted documents in admin interface.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419939 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:06:56 +00:00
Mark Robert Miller f79de4b70e SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419878 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:50:55 +00:00
Mark Robert Miller 89bddae466 SOLR-4028: When using ZK chroot, it would be nice if Solr would create the initial path when it doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419866 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:18:14 +00:00
Mark Robert Miller ef21415d6c SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419720 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:19:53 +00:00
Yonik Seeley 6f6211d310 SOLR-4118: Fix replicationFactor to align with industry usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Robert Muir 56df745988 SOLR-4155: upgrade jetty to 8.1.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419466 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 14:02:32 +00:00
Mark Robert Miller ab00c42eff SOLR-4158: When a core is registering in ZooKeeper it may not wait long enough to find the leader due to how long the potential leader waits to see replicas.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:52:08 +00:00
Mark Robert Miller 7ebb85ab6d SOLR-4159: CHANGIES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418791 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 00:18:29 +00:00
Mark Robert Miller 82d0ed529a SOLR-4033: Consistently use the solrconfig.xml lockType everywhere.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418712 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:16:04 +00:00
Mark Robert Miller af20e0b5a6 SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417736 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 04:39:30 +00:00
Mark Robert Miller 6996e74dca SOLR-4062: The update log location in solrconfig.xml should default to ${solr.ulog.dir} rather than ${solr.data.dir:}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417702 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 00:10:19 +00:00
Mark Robert Miller 9469102f30 SOLR-4114: Allow creating more than one shard per instance with the Collection API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417045 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 17:26:05 +00:00
Mark Robert Miller 94c588e37c SOLR-4074: Raise default ramBufferSizeMB to 100 from 32.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1415873 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 22:19:12 +00:00
Chris M. Hostetter b229140e87 SOLR-2890: Fixed a bug that prevented omitNorms and omitTermFreqAndPositions options from being respected in some <fieldType/> declarations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1415817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 20:01:15 +00:00
Mark Robert Miller ad138e5219 SOLR-4119: Update Guava to 13.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414853 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:31:13 +00:00
Mark Robert Miller 672eeff8d2 SOLR-4087: Add MAX_DOC_FREQ option to MoreLikeThis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 17:53:06 +00:00
Mark Robert Miller 5543ee91ec SOLR-4117: Retrieving the size of the index may use the wrong index dir if you are replicating.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414773 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 15:54:11 +00:00
Mark Robert Miller 446080b6b5 SOLR-4055: clone params for create calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414744 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 15:08:47 +00:00
Mark Robert Miller 862335a772 SOLR-4032: Files larger than an internal buffer size fail to replicate.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:05:18 +00:00
James Dyer 048fd10f4b SOLR-2141 / SOLR-3842 - CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414248 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 16:24:16 +00:00
Chris M. Hostetter 309312aa7e SOLR-3960: Fixed a bug where Distributed Grouping ignored PostFilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413975 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 02:54:29 +00:00
Yonik Seeley 2d4e789d00 SOLR-4093: solr specific parser + localParams syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413042 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 19:45:50 +00:00
James Dyer 3bb8a5e877 SOLR-4111: test fix for SpellCheckCollatorTest#testContextSensitiveCollate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413036 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 19:24:54 +00:00
Alan Woodward f40f9dd181 SOLR-4101: Add storeOffsetsWithPositions flag to SchemaField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412803 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:56:00 +00:00
Mark Robert Miller 258baa7069 SOLR-4099: Allow the collection api work queue to make forward progress even when it's watcher is not fired for some reason.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412140 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 15:02:47 +00:00
Mark Robert Miller 5ef698c7cd SOLR-4097: Race can cause NPE in logging line on first cluster state update. (Add CHANGES entry)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411956 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 00:29:02 +00:00
James Dyer ad834cd712 SOLR-1916: entry in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411823 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:52:16 +00:00
James Dyer 1f47a886a3 SOLR-4096: FileDataSource & FieldReaderDataSource to default to UTF-8 charset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411812 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:38:52 +00:00
James Dyer 0eab30da1d SOLR-4095: NumberFormatTransformer & DateFormatTransformer default to the Root Locale
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 17:40:57 +00:00
Mark Robert Miller 4eabb7c83c SOLR-4008: add Raintung Li to CHANGES for SOLR-4009
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411538 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:21:21 +00:00
Mark Robert Miller 3005330649 SOLR-4034: Check if a collection already exists before trying to create a new one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411536 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:08:07 +00:00
Mark Robert Miller dad188820e SOLR-3602: Update ZooKeeper to 3.4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:36:14 +00:00
Chris M. Hostetter f0ee717c65 SOLR-3970: SystemInfoHandler now exposes more details about the JRE/VM/Java version in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411495 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 01:13:12 +00:00
Mark Robert Miller bdff3aa4a4 SOLR-4088: New and improved auto host detection strategy for SolrCloud.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 22:38:28 +00:00
Mark Robert Miller 1464045268 SOLR-4075: A logical shard that has had all of it's SolrCores unloaded should be removed from the cluster state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411450 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 22:06:16 +00:00
James Dyer 26e0f02214 SOLR-4086: Refactor DIH - VariableResolver & Evaluator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411276 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 16:23:50 +00:00
Robert Muir 61851c0966 SOLR-3959: escape the internal comma separator of poly fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410917 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 16:29:02 +00:00
Robert Muir cb90f42bee SOLR-4084: add factory for FuzzySuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410908 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 15:50:01 +00:00
Yonik Seeley 54b8e81b1f QueryParsing.toString support for WrappedQuery, ExtendedQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410115 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 23:56:02 +00:00
Yonik Seeley 102b0b8f61 SOLR-4076: fuzzy support for MultiTermAwareComponent in SolrQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1409517 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:58:12 +00:00
James Dyer 1d7592c509 SOLR-4051: fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408885 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 18:48:03 +00:00
James Dyer f2775f1c51 SOLR-4051: Configurable DIH Property Writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408880 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 18:38:45 +00:00
Mark Robert Miller 27181e53a0 * SOLR-4003: The SolrZKClient clean method should not try and clear zk paths that start with /zookeeper, as this can fail and stop the removal of further nodes. (Mark Miller)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408831 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:56:27 +00:00
Yonik Seeley ddb20fd43d SOLR-4036: field aliases in fl should not cause properties of target field to be used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408560 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 02:41:08 +00:00
Yonik Seeley 8d047adbb9 SOLR-3989: SolrZkClient constructor dropped exception cause when throwing a new RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408510 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 00:03:58 +00:00
Mark Robert Miller 6794693f30 SOLR-4064: When there is an unexpected exception while trying to run the new leader process, the SolrCore will not correctly rejoin the election.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:49:06 +00:00
James Dyer 0de0c53e35 SOLR-2045: DIH doesn't release jdbc connections for some databases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 17:36:32 +00:00
Mark Robert Miller f902314d74 SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Mark Robert Miller 267df1a190 SOLR-4067: ZkStateReader#getLeaderProps should not return props for a leader that it does not think is live.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408305 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 14:37:12 +00:00
Mark Robert Miller 99c4749d1a SOLR-4055: Fix a thread safety issue with the Collections API that could cause actions to be targeted at the wrong SolrCores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408125 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 21:54:04 +00:00
Mark Robert Miller e92475e10e SOLR-4063: Allow CoreContainer to load multiple SolrCores in parallel rather than just serially.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 19:18:03 +00:00
Mark Robert Miller 9eb16eef21 SOLR-4060: ReplicationHandler can try and do a snappull and open a new IndexWriter after shutdown has already occurred, leaving an IndexWriter that is not closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1407817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 14:11:05 +00:00
Yonik Seeley d5222ffba3 SOLR-4031: Upgrade to Jetty 8.1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406601 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 12:59:31 +00:00
Robert Muir d93f599e32 SOLR-3589: Edismax parser does not honor mm parameter if analyzer splits a token
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406437 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 03:25:20 +00:00
James Dyer 51635a9f02 SOLR-3856: Improve tests for SqlEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406245 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:49:17 +00:00
James Dyer 3ea6657976 SOLR-4019: Log 503 stack traces unless from PingRequestHandler. Suppress logging some stack traces with ShowFileRequestHandler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:39:30 +00:00
Dawid Weiss 847bb71cdf SOLR-4007: Morfologik dictionaries not available in Solr field type
due to class loader lookup problems. (Lance Norskog, Dawid Weiss)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404042 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 09:04:04 +00:00
Alan Woodward 14f821624b SOLR-1972: Fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403641 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 09:01:14 +00:00
Alan Woodward 465d54eb82 SOLR-1972: Add metrics-core sha1 and license files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403638 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 08:38:26 +00:00
Alan Woodward 03ed8213cb SOLR-1972: Add extra query stats to RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403555 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 22:13:03 +00:00
Mark Robert Miller 6c5fb54052 SOLR-4009: OverseerCollectionProcessor is not resiliant to many error conditions and can stop running on errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403480 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:25:22 +00:00
Mark Robert Miller 9370f3584f SOLR-4005: If CoreContainer fails to register a created core, it should close it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403396 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:10:39 +00:00
Mark Robert Miller a00e1ab23d SOLR-4001: In CachingDirectoryFactory#close, if there are still refs for a Directory outstanding, we need to wait for them to be released before closing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402822 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 17:04:19 +00:00
Yonik Seeley e4fc1282ab SOLR-3998: Atomic update on uniqueKey field itself causes duplicate document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402742 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 05:29:53 +00:00
Mark Robert Miller 42f27adc1a SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Alan Woodward 1be0d9bb68 SOLR-3985: Allow ExternalFileField caches to be reloaded on newSearcher/firstSearcher events
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402463 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 10:49:33 +00:00
Mark Robert Miller 80b39a3ba7 SOLR-3995: Recovery may never finish on SolrCore shutdown if the last reference to a SolrCore is closed by the recovery process
SOLR-3994:Create more extensive tests around unloading cores.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402393 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:18:51 +00:00
Yonik Seeley 78b1e07dc9 SOLR-3992: QuerySenderListener doesn't populate document cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402389 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:08:25 +00:00
Yonik Seeley a6ea83ac30 SOLR-3938: prepareCommit command omits commitData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402373 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 02:00:44 +00:00
Mark Robert Miller 1233f3611f SOLR-3920: Fix server list caching in CloudSolrServer when using more than one collection list with the same instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402360 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 00:30:03 +00:00
Chris M. Hostetter d4108c2b80 SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect field and document boosts
SOLR-3981: Fixed bug that resulted in document boosts being compounded in <copyField/> destination fields




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:22:23 +00:00
Mark Robert Miller e1b693ddb2 SOLR-3933: Distributed commits are not guaranteed to be ordered within a request.
SOLR-3939: An empty or just replicated index cannot become the leader of a shard after a leader goes down.
  
SOLR-3971: A collection that is created with numShards=1 turns into a numShards=2 collection after starting up a second core and not specifying numShards.

SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 17:52:15 +00:00
Chris M. Hostetter 01fdf8a0c8 SOLR-3966: Eliminate superfluous warning from LanguageIdentifierUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401340 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 16:23:02 +00:00
Robert Muir 49a4f8b07c SOLR-3906: add factory for AnalyzingSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1400565 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 03:31:29 +00:00
Chris M. Hostetter dd93b85321 SOLR-3961: Fixed error using LimitTokenCountFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399474 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 22:56:28 +00:00
Mark Robert Miller 25afdaf65b SOLR-3941: The "commitOnLeader" part of distributed recovery can use openSearcher=false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397698 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:31:13 +00:00
Mark Robert Miller 28fe93b39b SOLR-3939: Consider a sync attempt from leader to replica that fails due to 404 a success.
SOLR-3940: Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397665 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 18:25:44 +00:00
Mark Robert Miller 1cadf9c5bb SOLR-3929: support configuring IndexWriter max thread count in solrconfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397589 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:45:56 +00:00
Stefan Matheis 4dc925bf4e SOLR-3917: Partial State on Schema-Browser UI is not defined for Dynamic Fields & Types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394983 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 10:33:48 +00:00
Chris M. Hostetter 06ab425ddc SOLR-3916: Fixed whitespace bug in parsing the fl param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394836 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 22:00:19 +00:00
Chris M. Hostetter 8fbb2b627e SOLR-3903: Fixed MissingFormatArgumentException in ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393794 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:07:09 +00:00
Yonik Seeley c98f935688 SOLR-3897: hl.preserveMulti to preserve all multiValued field values when highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:45:54 +00:00
Mark Robert Miller f89cc61c55 SOLR-3861: Refactor SolrCoreState so that it's managed by SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392360 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 14:42:44 +00:00
Stefan Matheis 7eb2146494 SOLR-3637: Commit Status at Core-Admin UI is always false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392327 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 13:47:35 +00:00
Stefan Matheis a91a798e34 SOLR-3734: Improve Schema-Browser Handling for CopyField using dynamicField's
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392318 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 13:35:39 +00:00
Mark Robert Miller 4265df1368 SOLR-3899: SolrCore should not log at warning level when the index directory changes - it's an info event.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391023 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 14:18:47 +00:00
Uwe Schindler f230486ce6 SOLR-3895, SOLR-3614: XML and XSLT UpdateRequestHandler should not try to resolve external entities; fix XML parsing in XPathEntityProcessor to correctly expand named entities, but ignore external entities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390921 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 10:10:42 +00:00
Mark Robert Miller 7fa1551efb SOLR-3883: Distributed indexing forwards non-applicable request params.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390272 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 03:51:41 +00:00
Mark Robert Miller d503f4a31f SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory from RAMDirectoryFactory and MockDirectoryFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 23:02:14 +00:00
Mark Robert Miller ea85a78ced SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390197 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:29:20 +00:00
Stefan Matheis 62caa1d692 SOLR-3788: Admin Cores UI should redirect to newly created core details
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389984 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:52:45 +00:00
Stefan Matheis 096eef9cde SOLR-3560: Handle different types of Exception Messages for Logging UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389981 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:47:41 +00:00
David Wayne Smiley ef66d62002 add sections to the 4.1 CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389683 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 02:04:54 +00:00
David Wayne Smiley 15076ecf28 SOLR-2255 local-param support for pivot faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389680 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:56:33 +00:00
Jan Høydahl 11b4d43627 SOLR-3878: NPE in CurrencyValue.parse() while issuing wildcard range query on a CurrencyField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389659 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 00:03:27 +00:00
Chris M. Hostetter 3f35d9be82 SOLR-3875: Fixed index boosts on multi-valued fields when docBoost is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389628 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 22:19:43 +00:00
Mark Robert Miller 72f7c4f9dc SOLR-3871: SyncStrategy should use an executor for the threads it creates to request recoveries.
SOLR-3870: SyncStrategy should have a close so it can abort earlier on  shutdown. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 00:29:43 +00:00
Mark Robert Miller c656ba11bf SOLR-3869: A PeerSync attempt to it's replicas by a candidate leader should not fail on o.a.http.conn.ConnectTimeoutException.
Also turn on the use of jetty test mode with sys prop that was no longer being used - this improves the situation when we restart jetty. Both of these fixes should help our FreeBSD continuous build.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389160 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 22:58:40 +00:00
Robert Muir a3f6ab1ea2 add solr 4.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388863 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 18:20:13 +00:00
Chris M. Hostetter c17b6776b5 SOLR-3821 and SOLR-3822: trivial improvements to the Query form that steffkes hadn't commited yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388292 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 01:44:20 +00:00
Chris M. Hostetter 3de7515e85 for 4.0 FINAL, redundently list the 'Upgrading from' sections from the BETA and ALPHA releases since there is important info there for any users upgrading from the last 'stable' 3.6 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388288 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 01:14:20 +00:00
Chris M. Hostetter 52d9fdb780 SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Chris M. Hostetter f5b5835dee SOLR-3087: Fixed DOMUtil so that code doing attribute validation will automaticly ignore nodes in the resserved "xml" prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387778 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 21:34:10 +00:00
Yonik Seeley 9be371a198 SOLR-3815: preserve shard properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
James Dyer 4130617f69 SOLR-3850: rename "cachePk" back to "cacheKey"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 17:12:39 +00:00
Stefan Matheis 909bd0a60d SOLR-3777: Dataimport-UI does not send unchecked checkboxes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387467 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 07:04:52 +00:00
Chris M. Hostetter e7baf6476f SOLR-3759: Various fixes to the example-DIH configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386773 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 19:03:30 +00:00
Grant Ingersoll d46490deca SOLR-3825: update changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386614 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 13:47:04 +00:00
David Wayne Smiley 41ab62aece SOLR-3304: Added CHANGES.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386474 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 05:11:22 +00:00
Mark Robert Miller 95fea9de64 SOLR-3845: Rename numReplicas to replicationFactor in Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385154 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:59:16 +00:00
Mark Robert Miller 9a7f34fc24 SOLR-3749: Allow default UpdateLog syncLevel to be configured by solrconfig.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:47:35 +00:00
Mark Robert Miller f8cd9fe1c4 SOLR-3645: /terms should default to distrib=false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385147 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:20:09 +00:00
Mark Robert Miller f769169177 SOLR-3465: Replication causes two searcher warmups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385145 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:14:31 +00:00
Mark Robert Miller eb275c2b43 SOLR-3831: Atomic updates do not distribute correctly to other nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller d8385729c2 SOLR-3844: SolrCore reload can fail because it tries to remove the index write lock while already holding it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385135 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:37:15 +00:00
Mark Robert Miller 1ff0eaec90 SOLR-3527: SolrCmdDistributor drops some of the important commit attributes (maxOptimizeSegments, softCommit, expungeDeletes) when sending a commit to replicas.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384964 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:56:47 +00:00
Mark Robert Miller ff7c8d0217 SOLR-3641: CoreContainer is not persisting roles core attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384952 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:31:25 +00:00
Mark Robert Miller f0185fb9d5 SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.

SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.

SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.

SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
  
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.

SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
  
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.

SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
  
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter 1de28d8c21 SOLR-3826: Test framework improvements for specifying coreName on initCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384872 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 18:07:23 +00:00