Commit Graph

894 Commits

Author SHA1 Message Date
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
James Dyer 71a8203a06 SOLR-3791: CachedSqlEntityProcessor throws NPE when pk column is Null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384819 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 15:26:28 +00:00
James Dyer e312ee6bfa SOLR-3779: fix for DIH LineEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384816 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 15:19:40 +00:00
Stefan Matheis d7d79ad7c5 SOLR-3811: Query Form using wrong values for dismax, edismax
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384662 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 07:18:53 +00:00
Chris M. Hostetter bf73201486 SOLR-3569: Fixed debug output on distributed requests when there are no results found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384597 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 23:22:13 +00:00
Chris M. Hostetter 5e1ed1e87a SOLR-3828: Fixed QueryElevationComponent so that using 'markExcludes' does not modify the result set or ranking of 'excluded' documents relative to not using elevation at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:17:24 +00:00
Chris M. Hostetter 4fdd830ffd SOLR-3809: Fixed config file replication when subdirectories are used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:48:43 +00:00
Chris M. Hostetter e8c6d5b242 SOLR-3827: Fix shareSchema=true in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383735 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 02:03:45 +00:00
Chris M. Hostetter 64d204c04e SOLR-3823: Fix 'bq' parsing in edismax. Please note that this required reverting the negative boost support added by SOLR-3278
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383708 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 00:53:29 +00:00
Chris M. Hostetter 9e42025307 SOLR-3595: fix incorrect issue number in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383654 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 23:23:27 +00:00
Chris M. Hostetter 9561d856c5 SOLR-3087: CurrencyField now generates an appropriate error on schema init if it is configured as multiValued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383648 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 23:02:25 +00:00
Chris M. Hostetter ee1e747c29 SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed by Collections passed in to setValue/setField, and defensively copy values from Collections passed to addValue/addField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383520 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:38:45 +00:00
Jan Høydahl 5743ddef9b SOLR-3824: Velocity - Error messages from search not displayed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383405 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 13:25:32 +00:00
Chris M. Hostetter 76059449d1 SOLR-3518: Include final 'hits' in log information when aggregating a distibuted request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382209 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 23:45:37 +00:00
Chris M. Hostetter ee0bf2549b SOLR-3699: Fixed some Directory leaks when there were errors during SolrCore or SolrIndexWriter initialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382187 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 21:58:30 +00:00
Chris M. Hostetter 2a6f2c7cbb SOLR-3795: Fixed LukeRequestHandler response to correctly return field name strings in copyDests and copySources arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381685 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:22:48 +00:00
Stefan Matheis a778718872 SOLR-3679: admin ui shows error message if creating a new core fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381655 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 16:03:18 +00:00
Yonik Seeley 77d5fba68f SOLR-3793: use livedocs when caching big terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381568 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:11:41 +00:00
Stefan Matheis b87f664ba2 SOLR-3668: fix changes entry, it's a bugfix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381523 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 08:29:34 +00:00
Stefan Matheis 7626f1cda2 SOLR-3668: fix handling of custom parameters for dataimport on admin ui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381518 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 08:24:46 +00:00
Stefan Matheis db6badeb11 SOLR-3597: admin ui using less whitespace at the top
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381494 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 07:42:24 +00:00
Koji Sekiguchi c71800de26 SOLR-3790: ConcurrentModificationException could be thrown when using hl.fl=*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381490 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 07:33:16 +00:00
Sami Siren 29012070bf SOLR-3789: Fix bug in SnapPuller that caused 'internal' compression to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381043 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 07:33:07 +00:00
Mark Robert Miller 92592095e6 SOLR-3611: We do not show ZooKeeper data in the UI for a node that has children.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380684 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 15:40:02 +00:00
Mark Robert Miller 278200cfaa SOLR-3772,SOLR-3750: make optional, wait time configurable, default to off
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380299 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:14:25 +00:00
Steven Rowe 4db5c1f5bb SOLR-3780: Maven build: Make solrj tests run separately from solr-core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379820 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 18:08:17 +00:00
Mark Robert Miller 3a2f6e9dc8 SOLR-3773: Hash based on the external String id rather than the indexed representation for distributed updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379452 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 13:58:52 +00:00
Chris M. Hostetter 562af97e39 SOLR-3238: CHANGES entry for lots of little things steffkes has improved since the alpha
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379237 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 00:35:57 +00:00
Chris M. Hostetter 59847bd6d2 SOLR-2768: new "mod(x,y)" function for computing the modulus of two value sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379225 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 23:29:00 +00:00
Mark Robert Miller 2fdd58398a SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
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-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json 

SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller 48ae881287 SOLR-3721: Fix bug that could allow multiple recoveries to run briefly at the same time if the recovery thread join call was interrupted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 12:19:10 +00:00
Sami Siren 883323f166 fix for SOLR-3770: Overseer may lose updates to cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378892 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:48:02 +00:00
Steven Rowe c8aa9c1f42 SOLR-2747: Added 'ant changes-to-html' to Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378452 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:26:02 +00:00
Chris M. Hostetter a8b57fa9de SOLR-3745: Proper error reporting if SolrCloud mode is used w/o necessary "_version_" field in schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377898 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 23:01:11 +00:00
Michael McCandless 35285cf295 fix typo itsself -> itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377363 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 22:11:56 +00:00
Chris M. Hostetter 41c067bc18 SOLR-3746: Proper error reporting if updateLog is configured w/o necessary _version_ field in schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375674 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 17:25:34 +00:00
Yonik Seeley 97689f52f2 SOLR-3743: real-time get should not return copyField targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374912 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 04:22:10 +00:00
Jan Høydahl 01cdc012a0 SOLR-3707: Upgrade Solr to Tika 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374501 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:47:40 +00:00
Jan Høydahl 92171e49a5 SOLR-3691: SimplePostTool: Mode for indexing a web page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374497 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:30:49 +00:00
Yonik Seeley e7a09ceec4 SOLR-2857: restore /update/json and /update/csv
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 16:19:23 +00:00