Commit Graph

14914 Commits

Author SHA1 Message Date
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
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
Michael McCandless 67141af6cd improve comments; throw UOE from BS.freq() since it's not a doc-at-a-time scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384852 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 17:16:33 +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
Robert Muir 188d7b61cf LUCENE-4380: fix simplefs/niofs hierarchy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384813 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 15:08:12 +00:00
Robert Muir d6cee715e3 fix example apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384793 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 14:16:22 +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
Tommaso Teofili dc3f1d7b3d [LUCENE-4345] - starting incorporating Simon's suggestions: using BytesRef and TotalHitCountCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384657 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 06:55:12 +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
Steven Rowe 45931b0fec LUCENE-4385: Move IntelliJ build output directories and test working directories to top-level directory idea-build/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:48:59 +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 70bbb347fc SOLR-3625: better info in example conigs about <lib/> and how order might matter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384529 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 21:07:59 +00:00
Steven Rowe a6b9fd7472 re-establish alpha sort and add new classification module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384528 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 21:06:02 +00:00
Robert Muir 082b931eb9 LUCENE-4385: eclipse output goes to eclipse-build instead of 'bin' for consistency with other IDEs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384524 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 21:01:20 +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
Robert Muir 98f01718c3 remove relics from svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384520 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:54:14 +00:00
Steven Rowe bf6d18cc12 LUCENE-4384: rat-sources should ignore IntelliJ IDEA module configuration files: *.iml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384502 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:12:45 +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
Steven Rowe 7a51f2aefe set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384484 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:31:50 +00:00
Robert Muir 610e5a6980 simplify this sentence
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384478 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:18:21 +00:00
Robert Muir e905312abc improve fuzzyquery javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384473 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:02:24 +00:00
Steven Rowe d6570e8a41 LUCENE-4345: Maven configuration for new classification module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384470 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:57:35 +00:00
Steven Rowe b5f1088f0a LUCENE-4345: IntelliJ configuration: enable running all classification module tests using the pre-defined run configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384466 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:42:22 +00:00
Steven Rowe ce9a61cf85 LUCENE-4345: Ignore *.iml files in new module directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384459 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:35:24 +00:00
Robert Muir 08f86a018f add note about escaping terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384427 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 17:42:18 +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
Robert Muir 45e5118e57 add test mixing up pos/no pos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384379 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 15:46:26 +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 9f91d12c4f nuke outdated refs to Fieldable/Searchable/Searcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384351 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 14:55:33 +00:00
Robert Muir 5d32662e99 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384348 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 14:45:29 +00:00
Robert Muir e8a16e028a add reference to codecs module from package intro
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384341 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 14:22:34 +00:00
Robert Muir 8619a8c109 LUCENE-4345: require full javadocs for new module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384297 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 12:20:12 +00:00
Robert Muir 4e4b5be24f LUCENE-4345: javadocs-lint, eclipse, smokeTester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384293 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 12:12:10 +00:00
Michael McCandless 4634ed1bd9 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384284 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 11:42:28 +00:00
Michael McCandless 882d6ec9c4 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384278 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 11:32:19 +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
Tommaso Teofili bc425d77bc [LUCENE-4345] - fixed svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384253 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 09:40:00 +00:00
Tommaso Teofili 9d4895d177 [LUCENE-4345] - fixed svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384252 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 09:38:57 +00:00