Commit Graph

1152 Commits

Author SHA1 Message Date
Robert Muir 2aa725773f SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +00:00
Uwe Schindler 7405b9772b SOLR-3733: First version of patch (without Robert's changes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +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
Robert Muir c529308734 fix javadocs bugs found by my IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +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
Adrien Grand 2c481a3c59 Fix typo in CopyField javadocs, thanks to Jack Krupansky for pointing it out.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387666 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 16:22:03 +00:00
Yonik Seeley 7ae776e2d1 SOLR-3815: fix overseer.setShardLeader to not modify existing state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +00:00
Grant Ingersoll 4577c1696c SOLR-3825: use unique key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387259 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 17:04:31 +00:00
Erick Erickson 580b53efdd Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Dawid Weiss fa9182cfb6 Clean up static fields after the suite is over. Cleaned up generics too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387044 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 08:30:56 +00:00
Chris M. Hostetter 562f150e17 SOLR-3519: verbose_option URL param in analysis UI, and updated tutorial links to use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386924 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 00:17:04 +00:00
Yonik Seeley 8c5fc86a38 SOLR-3815: change clusterstate structure to add properties to slices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson ded01621a4 Fix for LUCENE-4362, ban tabs-indent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +00:00
Robert Muir 310eb39792 LUCENE-3720: fix BeiderMorseFilter OOM issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386662 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 15:32:46 +00:00
Mark Robert Miller 4214846719 switch some of the localhost usage to 127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Grant Ingersoll b7297c7f8d SOLR-3825: added in optional logging of documents in a response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386613 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 13:46:59 +00:00
David Wayne Smiley e53321b1c6 commit after clear index in setUp()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386471 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 05:02:05 +00:00
David Wayne Smiley f2b73851a8 SOLR-3304 use Field as covariant return type from createFields() to ease merging to 4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386464 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:52:28 +00:00
David Wayne Smiley bf05f70a0b SOLR-3304 Solr adapters for the new Lucene 4 spatial module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386457 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:17:02 +00:00
Mark Robert Miller 5539754a7d add javadoc return statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385206 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 01:55:45 +00:00
Uwe Schindler 6b54b1a712 Fix violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 20:47:25 +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 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
Michael McCandless 2cef8b7825 fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385049 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:28:18 +00:00
Mark Robert Miller 8ca9758dc4 if a task is rejected, decrement semaphore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385012 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 04:51:18 +00:00
Mark Robert Miller a215370b3a test fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385005 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 03:28:44 +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
Yonik Seeley 3c95aa47d0 tlog: ensure tlog so corrupted that constructor can't complete is closed so windows can remove the file after
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384958 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:40:41 +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 609396c37d SOLR-3288: minor updates to the tutorial (mostly typo fixes) and improvements to the various README files in the example -- mostly related to SolrHome dir vs SolrCore instance dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384895 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 19:23:16 +00:00
Steven Rowe cf02188f2b LUCENE-4384: rat-sources should ignore IntelliJ IDEA module configuration files: *.iml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384608 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 00:28:43 +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
Yonik Seeley 9422634680 tests: disable new test method for now due to windows failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384522 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:59:12 +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
Yonik Seeley e494b8841b tests: try to prevent corrupt tlog test from failing other methods on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384420 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 17:36:51 +00:00
Yonik Seeley 0e33ea10fe tests: additional corrupt tlog test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384394 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 16:24:03 +00:00
Yonik Seeley 6104078c44 tests: additional corrupt tlog test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384358 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 15:05:56 +00:00
Robert Muir dc02cdd384 LUCENE-4355: improve AtomicReader sugar apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384274 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 11:21:03 +00:00
Robert Muir 1fe0640fcc fix broken javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383902 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:12:56 +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 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
Robert Muir 1517b16cf4 fix remaining broken html and turn on check in linter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 19:08:41 +00:00
Robert Muir fab19135fd fix some bad javadocs html, make AbstractPluginLoader actually readable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383034 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:48:08 +00:00