Commit Graph

769 Commits

Author SHA1 Message Date
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