Commit Graph

14954 Commits

Author SHA1 Message Date
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
Robert Muir e359874a3c svn:eol-style: native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386652 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 15:13:45 +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
Robert Muir d534458db7 try to ensure we close the directory even if we throw an assumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386619 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:06:39 +00:00
Adrien Grand 51ace7d397 Fix AppendingCodec javadocs: AppendingCodec doesn't extend Lucene40Codec.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386618 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:00:19 +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
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
Robert Muir 362975cd8e try to reduce the TestReplicationHandler noise to the dev list by not failing here for freebsd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 12:45:26 +00:00
Adrien Grand e0cbfe9406 LUCENE-4393: Moved RollingCharBuffer to lucene-analysis-common.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386580 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 12:34:16 +00:00
Adrien Grand 1d29be24f1 LUCENE-4392: Mention that SortedVIntList has been removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386528 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 09:36:45 +00:00
Adrien Grand a35f22558a LUCENE-4392: Remove SortedVIntList (unused).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386525 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 09:22:44 +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
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 7ac90a792e SOLR-3304 Solr adapters for the new Lucene 4 spatial module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386458 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:19:03 +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
Robert Muir eb122170c7 ignore this test if one writer times out getting a lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385363 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 20:09:02 +00:00
Michael McCandless 9d7309c134 add missing comma
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385249 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 12:11:09 +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 ca52a98b67 One recursion missing....
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385180 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 21:13:36 +00:00
Uwe Schindler 67b1c87c86 Improve permgen usage and speed up rat-sources by reusing taskdef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385178 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 21:08:18 +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 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 43d1451624 raise test timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:45:01 +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
David Wayne Smiley 922c7316d8 LUCENE-4389 Support dateline and circles for TwoDoublesStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385130 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:06:10 +00:00
Michael McCandless 11e072c590 add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385090 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 15:42:48 +00:00
David Wayne Smiley 9cc5dd7a37 removed @author tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385089 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 15:41:34 +00:00
David Wayne Smiley 577e25c7ff LUCENE-4208 makeQuery return ConstantScoreQuery, standardize makeDistanceValueSource behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385074 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 14:49:24 +00:00
Mark Robert Miller ba5b6a4a71 try a longer wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385069 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 14:18:46 +00:00
Robert Muir f954ca823c remove unnecessary dir (i dont know how this came back to life?)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385065 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 13:24:28 +00:00
Robert Muir 90749cdb1b LUCENE-4390: fail the build on outdated .sha1 files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385059 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 13:00:19 +00:00
Robert Muir 9bb7e5e97b use the correct exception subclass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:45:16 +00:00
Robert Muir 6730bbb71d LUCENE-4384: add precommit task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385053 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:42:21 +00:00
Robert Muir 4396168c3e javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385051 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:41:12 +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
Michael McCandless 6904995ce4 throw UOE from BooleanScorer.getChildren: you cannot use the result since BS doesn't score doc-at-a-time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384971 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 23:02:57 +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 2897f002cb add some logging options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384927 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:15:18 +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
David Wayne Smiley 785c7d47c0 Add null arg check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384920 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:01:03 +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