Commit Graph

839 Commits

Author SHA1 Message Date
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
Chris M. Hostetter 8cb409d4cf SOLR-2981: Fixed StatsComponent to no longer return duplicated information when requesting multiple stats.facet fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373598 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 19:44:27 +00:00
Chris M. Hostetter 769c9003cd SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Mark Robert Miller 12cbfaf62a SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 13:34:34 +00:00
Chris M. Hostetter 680449363f SOLR-3670: New CountFieldValuesUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372687 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 00:35:55 +00:00
Sami Siren 1d27c0364b SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +00:00
Robert Muir 392ddde4d3 SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371688 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 12:38:48 +00:00
Yonik Seeley 932901bb01 SOLR-3715: remove sync around tlog serialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Chris M. Hostetter aba39dba9c SOLR-3229: forgot credit in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:32:13 +00:00
Chris M. Hostetter 38c1b46817 SOLR-3229: Fixed TermVectorComponent to work with distributed search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:20:45 +00:00
Mark Robert Miller 22d9268a2d SOLR-3579: SolrCloud view should default to the graph view rather than tree view.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370334 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:10:19 +00:00
Yonik Seeley 42a91f6db1 SOLR-3685: cloud sometimes skipped peersync attempt due to flags not being cleared when no updates were buffered during replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370314 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:26:37 +00:00
Robert Muir 7ca42b800a add 4.0 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370107 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 03:34:00 +00:00
Mark Robert Miller 0bdee8ad89 Add CHANGES entry for SOLR-3647
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370087 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 00:51:54 +00:00
Mark Robert Miller fec289ee99 SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:03:42 +00:00
Mark Robert Miller 238c4274b6 SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.	

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Jan Høydahl 37153b5c34 SOLR-3439: Make SolrCell easier to use out of the box
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369433 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 20:50:11 +00:00
Mark Robert Miller cf90697376 SOLR-3639: fix changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369031 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:25:22 +00:00
Mark Robert Miller 45030e76eb SOLR-3639: Update ZooKeeper to 3.3.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:22:17 +00:00
James Dyer 386c8ddeac SOLR-2115: more flexible loading of DIH configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368993 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:45:20 +00:00
Mark Robert Miller a04534c399 SOLR-3428: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368592 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:37:16 +00:00
Chris M. Hostetter 4eb362c0b3 SOLR-3650: migrate DIH CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368190 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:44:02 +00:00
Chris M. Hostetter 1cac548005 SOLR-3650: checkpoint, migrated CHANGES.txt for contrib/uima and contrib/extraction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367384 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 01:37:17 +00:00
Chris M. Hostetter 6961d9f589 SOLR-3650: checkpoint - merged in CHANGES.txt entries from contrib/analysis-extras contrib/langid contrib/clustering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367377 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 00:34:01 +00:00
Jan Høydahl 179a0c87bd SOLR-3672: SimplePostTool: Improvements for posting files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:56:09 +00:00
Chris M. Hostetter cb8c322041 SOLR-3635: display core init failure info (from CoreAdminHandler) in the web UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367362 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:26:11 +00:00
Chris M. Hostetter f0e5314f22 SOLR-3677: Fixed missleading error message in web ui to distinguish between no SolrCores loaded vs. no /admin/ handler available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367358 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:11:35 +00:00
Chris M. Hostetter 8e7b2cf4aa SOLR-3682: Fail to parse schema.xml if uniqueKeyField is multivalued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367316 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:30:12 +00:00
Chris M. Hostetter e9742e6165 SOLR-3683: Improved error handling if an <analyzer> contains both an explicit class attribute, as well as nested factories. (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367192 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:58:21 +00:00
Erik Hatcher eef6a6bec2 SOLR-3648: Fix Velocity template loading in SolrCloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366775 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 22:20:38 +00:00
Erik Hatcher d0c4ec62c9 SOLR-1280,SOLR-1725: Add an example of the script update processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366588 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 03:30:51 +00:00
Chris M. Hostetter a7cd5f3384 SOLR-3634: CoreContainer and CoreAdminHandler will now remember and report back information about failures to initialize SolrCores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366241 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:01:00 +00:00
Mark Robert Miller bcfb01d690 add Markus Jelsma to SOLR-1781
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366016 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:33:03 +00:00
Uwe Schindler 142d3c788f LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and CharFilterFactories to the lucene-analysis module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365586 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:54:04 +00:00
Chris M. Hostetter 001eac714e SOLR-3652: Fixed range faceting to error instead of looping infinitely when 'gap' is zero -- or effectively zero due to floating point arithmetic underflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:11:35 +00:00
Chris M. Hostetter 32a0f402d6 SOLR-3623: Fixed inconsistent treatment of third-party dependencies for solr contribs analysis-extras & uima
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364728 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:33:24 +00:00
Uwe Schindler a956609a85 Copy over changes from 3.6 branch #2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364570 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:33:34 +00:00
Mark Robert Miller 6578d7f512 SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Yonik Seeley 19aa69b0cd SOLR-3656 SOLR-3662: core reload improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Mark Robert Miller a798414614 SOLR-3658: Adding thousands of docs with one UpdateProcessorChain instance can briefly create spikes of threads in the thousands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:54:26 +00:00
Jan Høydahl fa469cbbdb SOLR-3660: Velocity: Link to admin page broken
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364333 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:43:28 +00:00
Chris M. Hostetter 47541d03bc SOLR-3642: Correct broken check for multivalued fields in stats.facet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363555 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 21:28:11 +00:00
Chris M. Hostetter b20252f777 SOLR-3629: Typo in solr.xml persistence when overriding the solrconfig.xml file name using the "config" attribute prevented the override file from being used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363161 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 22:41:58 +00:00
Mark Robert Miller 24dae70408 SOLR-3639: Update ZooKeeper to 3.3.5 for a variety of bug fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:26:47 +00:00
Mark Robert Miller 83e07fec09 SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller 6c08d7f2a4 SOLR-1781: Replication index directories not always cleaned up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:06:22 +00:00
Mark Robert Miller 922ad2bff2 SOLR-3621: fix rare concurrency issue when opening a new IndexWriter for replication or rollback.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362232 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 20:08:46 +00:00
Yonik Seeley 732ad20130 SOLR-139: update doc - create if it doesn't exist by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 17:10:36 +00:00
Mark Robert Miller 8d68f469cc SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 15:23:24 +00:00
Yonik Seeley 7993e39d38 SOLR-3377: edismax fails to correctly parse a fielded query wrapped by parens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 08:32:57 +00:00
Chris M. Hostetter d6254caf80 SOLR-1725: StatelessScriptUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:41 +00:00
Christian Moen 8b97cec044 Made discarding punctuation configurable in JapaneseTokenizerFactory (SOLR-3524)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360592 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 09:19:02 +00:00
Chris M. Hostetter ba08d2ba10 SOLR-3575: Typo in changes, SOLR-3575 erroneously listed as SOLR-3475
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360454 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:43:59 +00:00
Mark Robert Miller 46021d4575 SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Mark Robert Miller 7b75fed8d1 SOLR-2616: Include a sample java util logging configuration file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359684 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 14:09:52 +00:00
Christian Moen a15331043f Added JapaneseIterationMarkCharFilter (LUCENE-4201)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00