Commit Graph

715 Commits

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