Alan Woodward
03ed8213cb
SOLR-1972: Add extra query stats to RequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403555 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 22:13:03 +00:00
Mark Robert Miller
7e65097905
raise test timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403490 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:42:03 +00:00
Mark Robert Miller
6c5fb54052
SOLR-4009: OverseerCollectionProcessor is not resiliant to many error conditions and can stop running on errors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403480 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:25:22 +00:00
Mark Robert Miller
9370f3584f
SOLR-4005: If CoreContainer fails to register a created core, it should close it.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403396 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:10:39 +00:00
Mark Robert Miller
7047994203
SOLR-4012 LeaderIntegrationTest sometimes hangs - ensure unique zk data dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403353 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 15:13:19 +00:00
Mark Robert Miller
3a71167078
when we timeout waiting for recoveries to finish, print the zk cluster state and current stack traces for all threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403131 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 00:00:15 +00:00
Alan Woodward
dac9a06854
SOLR-4004: Improve Javadoc for SolrPing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403109 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 22:08:09 +00:00
Mark Robert Miller
2343f0d06a
more informative error msg in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:04:23 +00:00
Mark Robert Miller
245133a3bd
raise test timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 16:13:30 +00:00
Dawid Weiss
e0e91d252f
Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
...
hooks hanging forever by calling Runtime.halt() in addition to
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +00:00
Mark Robert Miller
72f44f7b16
lower this timeout to something more reasonable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402831 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 18:13:30 +00:00
Mark Robert Miller
a00e1ab23d
SOLR-4001: In CachingDirectoryFactory#close, if there are still refs for a Directory outstanding, we need to wait for them to be released before closing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402822 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 17:04:19 +00:00
Mark Robert Miller
bc3f15a08b
raise wait from 30 to 45 - my freebsd vm still trips 30 sometimes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402818 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 16:26:36 +00:00
Mark Robert Miller
a61c23fb95
wait 30 seconds rather than 15 in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402813 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:54:23 +00:00
Mark Robert Miller
5a6bb2b287
there should be a wait on this retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402808 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:41:22 +00:00
Robert Muir
2cfc445f82
solr test failures unrelated to freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 14:17:47 +00:00
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
a74ae3ab2a
remove sys out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402368 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 01:26:40 +00:00
Yonik Seeley
1a9d39470e
spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 01:25:21 +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
Erick Erickson
b8c727af8d
Fix for SOLR-3984, unloading core with deleteInstanceDir not working unless path absolute
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402254 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 18:25:43 +00:00
Robert Muir
9a1ef9299d
fix a bunch of unbalanced tags (cannot yet commit checker, java6 makes all kinds of bogus html)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401963 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 03:11:40 +00:00
Robert Muir
feddbabf80
fix and detect invalid html tags in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401947 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 01:57:46 +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
Robert Muir
017e6d8324
fix unclosed tag that makes the whole javadocs page have a huge font
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 16:52:18 +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
Michael McCandless
59fe6f6a21
throw IAE from suggesters that ignore onlyMorePopular arg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401024 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 19:23:18 +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
Alan Woodward
61d9cc7c99
LUCENE-4479: Fix highlighter on index w/ positions but no offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1400504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 19:36:02 +00:00
Uwe Schindler
85c73511fb
LUCENE-4493: Better workflow for documentation linting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1400081 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 13:14:00 +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
Uwe Schindler
17324e64dd
LUCENE-4006: Exchange files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1398570 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 23:16:01 +00:00
Uwe Schindler
715f023057
LUCENE-4006: Add system requirements page (markdown)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1398564 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 23:06:34 +00:00
Robert Muir
d2be37f187
merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397893 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 16:54:02 +00:00
Robert Muir
2ea2adcf6b
LUCENE-4446: wrap up cutover to blockpostingsformat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397858 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:27:24 +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
Tommaso Teofili
6dae6204f7
[SOLR-3902] - renamed the analysis tests to a single integration test rather than 2 unit tests (since tested sources are in lucene-analysis-uima)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397454 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 06:55:02 +00:00
Tommaso Teofili
2e01a46f8c
[SOLR-3902] - adding super constructor to FieldMappingException, adding final modifiers where possible, substituting StringBuffer with StringBuilder where possible, for each loops
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397452 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 06:41:55 +00:00
Robert Muir
b1a58d9a9c
LUCENE-4446: cut over remaining tests etc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397418 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 02:17:48 +00:00
Yonik Seeley
09a14bb6e3
SOLR-3897: return a snippet for every value when preserveMulti=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1396317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 21:03:28 +00:00
Dawid Weiss
8fd5dd6bdd
Updating rr to 2.0.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 21:05:46 +00:00
Robert Muir
0fdedf94a8
nuke more useless dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395532 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 12:52:48 +00:00
Robert Muir
e9ec1d6e20
remove useless and inefficient clean-jars: we call ivy with sync-true so this is a massive slowdown of the build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395523 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 12:17:55 +00:00
Robert Muir
7fb5daa879
don't fail the build if we cant delete on windows (it doesnt matter)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395518 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 11:36:41 +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
Dawid Weiss
53fd5c850d
Clean up fields after each test, static->instance scope.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 06:51:59 +00:00
Dawid Weiss
690a6a0e13
Clean up the executor.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393954 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 08:28:23 +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
Robert Muir
251744ce34
ant jar-checksums
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392571 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 20:32:53 +00:00
Michael McCandless
59a63c2f32
LUCENE-4451: upgrade to randomizedtesting-2.0.2.jar to reduce RAM overhead for tracking new threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 19:29:53 +00:00
Uwe Schindler
b2b3a7aec3
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392464 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 17:44:00 +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
Uwe Schindler
09720113f8
LUCENE-4445: Fix clover to correcty instrument all packages, improve permgen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391382 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 10:12:49 +00:00
Tommaso Teofili
c65bdde36f
[SOLR-3902] - moved SentimentAnnotation to DummySentimentAnnotation (to avoid cofusion), moved out FieldMappingException from a dedicated exception package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391322 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 06:14:35 +00:00
Mark Robert Miller
94da721fc2
SOLR-3889: improve utf-8 test script error message when curl call to Solr fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391046 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 15:01:25 +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
0d21b90097
SOLR-3895, SOLR-3614: Fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390991 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:15:24 +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
Robert Muir
65d22acbbb
LUCENE-4425: Unclear documentation of StoredFieldVisitor.binaryValue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390683 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:16:37 +00:00
Uwe Schindler
654e89883b
LUCENE-4436: When building source distribution, changes-to-html uses wrong script and wrong CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390436 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 12:35:25 +00:00
Uwe Schindler
ad3fe2953e
LUCENE-4434: Make changes-to-html not depend on wget or curl, fix some unicode bugs with PERL, add -Dperl.exe property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390402 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 11:05:41 +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
Robert Muir
e222601b94
LUCENE-4425: respect offset/length for binary field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390261 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 02:36:34 +00:00
Uwe Schindler
b36bfbf733
Delete also corresponding files, no more analyzer factories...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390251 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 01:11:52 +00:00
Uwe Schindler
c3e2be497e
Remove useless task, as we have no analyzer factories anymore in Solr.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390244 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 01:00:39 +00:00
Uwe Schindler
e92e7e0953
LUCENE-4431: Fix license of servlet-api.jar in Solr and Lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390235 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 00:22:54 +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
Michael McCandless
fea15e75a4
SOLR-3879: don't ship servlet-api*.jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:08:51 +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
Chris M. Hostetter
26fcaaf743
SOLR-3877: REAMDE file noting the status of the old replication scripts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389507 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 18:26:26 +00:00
Uwe Schindler
c08962374e
LUCENE-4409: Improve ECJ-Linter (permgen, taskname) + fix whitespace bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389491 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 17:25:14 +00:00
Robert Muir
798fd49a76
LUCENE-4409: implement javadocs linting with eclipse ecj compiler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389188 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 02:56:46 +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
f025322f81
fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
David Wayne Smiley
ec184ba906
Enhance documentation for spatial. Still need to properly document the Strategy subclasses thoroughly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388955 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 05:24:37 +00:00
David Wayne Smiley
5be591e97a
LUCENE-4374 pointVector -> pointvector
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388903 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:37:36 +00:00
David Wayne Smiley
e9cffebf96
LUCENE-4374 Rename TwoDoubles to PointVector
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388900 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:15:31 +00:00
David Wayne Smiley
255e8f1aa8
SOLR-3864 maxDetailDist -> maxDistErr and make units='degrees' mandatory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388864 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 18:27:44 +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
Yonik Seeley
2a31b513f9
SOLR-3867: fix admin gui due to clusterstate.json format changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388830 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 16:21:19 +00:00
Uwe Schindler
a3e03b78f3
LUCENE-4415: Port javascript in build files to Groovy (JSR-223)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388813 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 14:42:46 +00:00
Sami Siren
b8f9525142
do not write to test-files dir, use dirs that are less likely to collide for jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Uwe Schindler
468a6650e7
Fix the llinter issue with absolute file names intermixed with url, failing to parse them as URLs (C:/path is treated as URL with schema C). Fix other properties to be absolute in common-build.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388449 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 12:12:09 +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
Uwe Schindler
2b17e5342c
SOLR-3733: fix wrong dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388281 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 00:21:36 +00:00
Chris M. Hostetter
e046d5f4bd
link to product homepages from logos on generated index.html pages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388269 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 23:26:08 +00:00
Uwe Schindler
4ebfe6108e
SOLR-3733: Add a link from Solr back to Lucene docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388253 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:53:05 +00:00
Robert Muir
38d3c8ccd3
add missing resolve dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388246 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:13:55 +00:00
Chris M. Hostetter
7221554f0a
SOLR-3733: fix some paths in README now that docs have a top level index.html and there is no 'api' dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388233 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 21:52:47 +00:00
Uwe Schindler
75fda1c3c4
SOLR-3733: Fix the URL as sarowe suggested
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388214 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 20:59:43 +00:00
Uwe Schindler
8ad1d42b99
SOLR-3733: Only define the javadoc url if not already defined
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388212 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 20:53:31 +00:00
Uwe Schindler
1dfcd73616
SOLR-3733: Fix the Solr->Lucene Javadocs URL task to be easier and consistent if directory not yet exists
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388206 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 20:39:26 +00:00
Robert Muir
486110d172
fix all remaining links: dih-extras links to dih, and fix public method taking pkg-private arg in dih
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388151 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:27:12 +00:00
Uwe Schindler
37413e4ede
SOLR-3733: Fix NPE, now it seems to work - sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:13:28 +00:00
Robert Muir
1eda7edf6a
fix javadocs broken links: public methods taking pkg-private arguments are effectively pkg-private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388148 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:10:46 +00:00
Uwe Schindler
be1dcd3b84
SOLR-3733: make field final...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388134 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:46:24 +00:00
Uwe Schindler
d8b3452432
SOLR-3733: More improvements: don't hang on the died threads until forever...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:41 +00:00
Robert Muir
024e22c873
fix broken links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388131 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:07 +00:00
Uwe Schindler
7071771000
SOLR-3733: fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388124 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:32:26 +00:00
Uwe Schindler
39757948fe
SOLR-3733: Fix crazy zookeeper test-only stuff by reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388122 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:31:19 +00:00
Robert Muir
8b6c905e7c
SOLR-3733: nuke this o.a.zookeeper package, Uwe your turn
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:32:14 +00:00
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
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
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
Robert Muir
d472dd9dc0
LUCENE-4408: fix license check to ignore jars in package/ directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387631 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 15:06:56 +00:00
Robert Muir
1291a71cee
LUCENE-4406: regenerate checksums (ant jar-checksums) for new randomizedtesting jars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387608 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 14:20:42 +00:00
Dawid Weiss
5efe1b60ba
LUCENE-4406, LUCENE-4407: Upgrade to randomizedtesting 2.0.1.
...
Workaround for broken test output XMLs due to non-XML text unicode
chars in strings. Added printing of failed tests at the end of a
test run (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 13:19:12 +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
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
Chris M. Hostetter
5399379a34
SOLR-3848: comments explaining workarround
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386790 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 19:40:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a4ea891571
add level=none option so we can find more broken html in solr javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383047 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 19:00:45 +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
Chris M. Hostetter
8a8d38a852
fix un-closed html tags in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383011 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:05:13 +00:00
Steven Rowe
d8b619181a
Remove useless javadocs that trigger warnings and build failures for some people
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382976 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 16:37:44 +00:00
Robert Muir
6d0060a45f
fix broken javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382777 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:59:27 +00:00
Yonik Seeley
b34c9a9683
SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Greg Bowyer
8b40b45d01
SOLR-3784: Prevent Javascript UI hangs due to similarity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382385 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 00:02:56 +00:00
Robert Muir
9ff1c66154
LUCENE-4364: MMapDirectory makes too many maps for CFS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382224 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 02:41:57 +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
Robert Muir
c1a5bef466
remove unnecessary dependencies: these are in solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381837 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 01:12:14 +00:00
Robert Muir
8eb52eb9ab
SOLR-3686: clean this up for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381835 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:59:22 +00:00
Robert Muir
8a72b10926
SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381834 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:57:24 +00:00
Robert Muir
ddda1b6089
SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe
d3383239f8
LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +00:00
Robert Muir
cdeb0bf933
fix more broken unicode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381714 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 18:43:15 +00:00
Uwe Schindler
29793bc97f
Add nightly maven build&check task (more will come later!), also remove duplicate dependencies. The validate task now only runs from root
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381689 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:39:06 +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
Robert Muir
a4cf4bd859
add validate-maven task to check maven dependencies, fix redundant dependencies in generate-maven-artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381602 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 13:53:35 +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
Adrien Grand
3f9aa4dcbb
LUCENE-4340: Move bloom PF utilities to lucene/codecs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381504 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 08:02:36 +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
David Wayne Smiley
1b7e2c4ee2
LUCENE-4351 update sha1 hashes for spatial4j 0.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 17:22:32 +00:00
David Wayne Smiley
1db287ce64
LUCENE-4351 update to Spatial4j 0.3. Lucene spatial distances are now all degrees based (0-180). Also, improved TestRecursivePrefixTreeStrategy.geohashRecursiveRandom() to use circle index clusters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381230 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 15:37:11 +00:00
Dawid Weiss
7c4ce14e7f
Update missing SHA files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 11:01:22 +00:00
Dawid Weiss
b3c300709c
LUCENE-4360: Support running the same test suite multiple times in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381123 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 10:05:44 +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
678e35aa58
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@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Robert Muir
e96e4a62ef
LUCENE-4361: prioritize test-classes first (for things like preflex-rw)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380964 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 03:34:46 +00:00
Robert Muir
4c5696217e
LUCENE-4361: fix broken classpaths in solr-dataimporthandler-extras
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380960 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 03:31:41 +00:00
Greg Bowyer
9b049b0dbd
LUCENE-4332: Integrate PiTest mutation coverage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380938 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 23:54:13 +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
Sami Siren
dc0ad3cc2b
increase timeouts and wait time so that RecoveryZkTest is more likely to pass on a slower machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380581 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:57:27 +00:00
Sami Siren
9d96a5647c
catch and exceptons from MBean registation that may happen during some tests because multiple solr servers use same MBean Server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380301 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:25:11 +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
Yonik Seeley
7af7d1de48
SOLR-3755: shard splitting - create cores, use writers from cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380287 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 16:36:20 +00:00
Dawid Weiss
f45c48e097
Don't interrupt zookeeper's SyncThread because it invokes system.exit. We
...
should ban System.exit via the policy file. Unfortunately System.exit is
used by the runner itself too (otherwise it wouldn't be able to exit the
JVM in the presence of background threads) so the policy would need to be
selective and either ban certain packages or revoke the grant for the
runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380200 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 11:10:53 +00:00
Sami Siren
fe0340cf60
fix test so that it does not miss the 2nd event
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380194 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 10:44:46 +00:00
Mark Robert Miller
362d518c19
drop to 100ms pause for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380101 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 00:37:46 +00:00
Mark Robert Miller
3b58473127
remove stale comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380098 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 00:14:00 +00:00
Uwe Schindler
12dddf2285
LUCENE-3312: Final merge before reintegrate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379940 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 11:21:01 +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
Dawid Weiss
5d6583162d
Don't interrupt threads in this test, just report thread leak errors. Should help get past the broken (?) freebsd jvm.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379371 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 08:53:00 +00:00
Uwe Schindler
90e692e180
SOLR-3775: Add a test for Office 2003 file (.doc)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379357 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 08:31:34 +00:00
Chris M. Hostetter
adc8db0353
SOLR-3441: ElisionFilterFactory is now MultiTermAware
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379275 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 03:44:05 +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
Uwe Schindler
50d2639308
LUCENE-3312: Merge up to trunk and fix basic Javadocs merge conflicts. The new classes now need method descriptions, mainly oal.index.StorableField(Type)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379200 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:43:41 +00:00
Yonik Seeley
7754d1d105
SOLR-3755: basic shard splitting code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:31:56 +00:00
Robert Muir
d7120c7e43
LUCENE-4343: clear up more Tokenizer.setReader/TokenStream.reset issues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379036 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 17:50:18 +00:00
Chris M. Hostetter
06fdfe6f32
SOLR-3768: add some prelim assertions to OverseerTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379014 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:48:55 +00:00
Uwe Schindler
72c1b74d5c
LUCENE-4337: Revert JMX code, was not needed in that complexity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379006 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:32: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
574d859d2b
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop - missed this class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378951 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:20:45 +00:00
Mark Robert Miller
d72c9dddba
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378948 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:16:15 +00:00
Mark Robert Miller
e31ddf3554
use sendToLeaders rather than replicas != null to determine if we add repicas to end of the list
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378922 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:18:29 +00:00
Uwe Schindler
1e573d0ea6
LUCENE-4337: Add a SecurityManager to run tests using a custom policy file, disallowing write/delete access outside ${build.dir} and listening network sockets on any other address than 127.0.0.1:1024-. This also fixes failing Solr tests because of creating index in example folder or listening on 0.0.0.0 (JMX)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378914 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 12:54:06 +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
Sami Siren
288926a15f
SOLR-3731: use same wait time as is used in ZkController
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378889 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:24:17 +00:00
Steven Rowe
d359353970
SOLR-2747: fix changes2html.pl invocation from ant target package-src-tgz
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 17:23:29 +00:00
Sami Siren
ae43103d15
reuse existing code, baseUrl and coreName can no longer be null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378512 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 12:06:03 +00:00
Sami Siren
fdc313d3bc
fix test, remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:58:38 +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
be0e0a30ae
refer to autoGeneratePhraseQueries by name in comment about how version affects it's default state; update comment to be better indented
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378392 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 00:07:43 +00:00
Chris M. Hostetter
c53886d78e
SOLR-3757: reduce confusion if people go to enable master/slave replication by only having a single /replication handler in the example config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378387 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 23:50:38 +00:00
Robert Muir
84fb1d09d0
LUCENE-4334: remove unnecessary ant-junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378090 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:50:28 +00:00
Uwe Schindler
d8f36a22b1
LUCENE-3923: Faster SVN WC checks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377991 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 06:50:46 +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
Chris M. Hostetter
69d8555ea8
be more specific: only the admin ui requires having at least on SolrCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377867 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 21:09:45 +00:00
Robert Muir
458fcb4446
LUCENE-3923: fail the build on wrong svn:eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377702 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 14:47:19 +00:00
Sami Siren
71a58d78a4
SOLR-3731: increase sleep
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377579 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 06:48:03 +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
Uwe Schindler
2317133ca2
LUCENE-3312: Merge up to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1377246 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 10:06:07 +00:00
Erik Hatcher
13fd86913c
SOLR-3288: Update reference to example conf/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376792 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 23:51:42 +00:00
Sami Siren
504b792937
SOLR-3731: disallow null CoreContainer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376432 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 10:52:37 +00:00
Robert Muir
568156b710
LUCENE-4321: Don't extend the trappy/broken FilterReader and simplify CharFilter so subclasses are correct readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376158 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 17:51:19 +00:00
Chris M. Hostetter
eaad73b6d1
SOLR-3746: fix inadvertant schema change from manual testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:20:43 +00:00
Chris M. Hostetter
0183711e22
SOLR-3746: more context to error message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375723 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:19:21 +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
Sami Siren
96767652d7
SOLR-3726 allow more flexibility in configuring solr http clients
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374964 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 10:32:52 +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
Uwe Schindler
bb6c2582d8
LUCENE-3312: Merged revision(s) 1373336-1374717 from lucene/dev/trunk:
...
test this cleaner, we don't need a nested test, just want to ensure MDW throws exception on close
........
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
........
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
........
SOLR-2981: Fixed StatsComponent to no longer return duplicated information when requesting multiple stats.facet fields
........
SOLR-3690: need to copy the license + sha1 files to be included in solr artifacts
........
LUCENE-4308: don't delete a test's files if the test fails
........
LUCENE-4308: clean up imports, move below license
........
add more missing javadocs
........
javadocs
........
add hostContext to solr.xml by default
........
SOLR-2857: restore /update/json and /update/csv
........
improve javadocs
........
use assertEquals so we will see whats going on when this fails
........
added javadocs to SortedBytesMergeUtils public inner classes
........
added javadocs to SortedBytesMergeUtils public inner classes
........
fix javadocs
........
javadocs
........
Better verbosity, also fix bug in while loop with char==0.
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?
........
javadocs
........
Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
........
Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
........
SOLR-3737: fix Stempel factory resource loading, use singleton instance
........
javadocs
........
enforce all lucene core classes have javadocs
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
LUCENE-4310: revert ... new test is failing
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
Rewrite the copying loop slightly; scratch.grow has an assert offset == 0
so moved this reset up before grow.
........
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
........
license
........
SOLR-3691: SimplePostTool: Mode for indexing a web page
........
SOLR-3707: Upgrade Solr to Tika 1.2
........
SOLR-3691: Fixed javadocs-lint errors
........
use hasNext not .next() == null to detect empty iterator
........
2nd fix: The same problem had size()
........
Solr extraction contrib should have compile time dependency on lucene, not just test.
........
Fix javadocs of Fields.size(), use FilteredIterator from StoredFields branch. Return -1 for Fields.size() in FieldFilterAtomicReader. If this breaks some test, we found a bug and have to change test to respect -1 (which is valid return value)
........
Fix javadocs
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1374718 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:35:25 +00:00
Jan Høydahl
4c057cf4bf
SOLR-3691: Fixed javadocs-lint errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374549 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 10:26:51 +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
1e2fa0ad45
license
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374490 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:05:47 +00:00
Yonik Seeley
84a8768b5d
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Uwe Schindler
5a940c12d8
Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374079 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:57:13 +00:00
Uwe Schindler
00167f1514
Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:50:41 +00:00
Uwe Schindler
a59f38a03a
Better verbosity, also fix bug in while loop with char==0.
...
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:53:45 +00:00
Robert Muir
2a83b58506
use assertEquals so we will see whats going on when this fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373994 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:31 +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
Mark Robert Miller
bb54482c00
add hostContext to solr.xml by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373900 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 16:11:15 +00:00
Chris M. Hostetter
7be3e71665
SOLR-3690: need to copy the license + sha1 files to be included in solr artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373606 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 20:04:17 +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
Uwe Schindler
86afe66472
LUCENE-3312: Merged revision(s) 1372429-1373335 from lucene/dev/trunk:
...
move class to o.a.l.index and make pkg-private, silence java7 warnings
........
SOLR-3727: improve solrcloud close/shutdown
........
LUCENE-4303 Use ResourceLoader not Class.forName
........
LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
........
LUCENE-4152: add one syllable method to enumerate subreaders
........
LUCENE-4152: use simpler sugar
........
SOLR-3670: New CountFieldValuesUpdateProcessorFactory
........
SOLR-3727: improve solrcloud close/shutdown
........
Ignore process reaper (forked subprocess on unixish systems).
........
document what IW.close is doing and how to 'actually close' if you want that
........
LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
........
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
........
solrcloud: improve some logging, improve some testing, other minor tweaks
........
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
........
SOLR-3572: Make schema-browser show custom similarities
........
better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
........
Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373337 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:23:02 +00:00
Greg Bowyer
8a5bab3e1d
SOLR-3572: Make schema-browser show custom similarities
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373117 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 21:16:17 +00:00
Robert Muir
796fb31c89
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 20:43:16 +00:00
Mark Robert Miller
c607f548bb
solrcloud: improve some logging, improve some testing, other minor tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +00:00
Uwe Schindler
2573a23996
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:54:46 +00:00
Mark Robert Miller
d4b66af3b3
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +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
Robert Muir
e64057ccd9
LUCENE-4152: use simpler sugar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:22:24 +00:00
Mark Robert Miller
2c31ae30e5
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Uwe Schindler
ac38630855
LUCENE-3312: Merged revision(s) 1371132-1372428 from lucene/dev/trunk:
...
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
........
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
........
SOLR-3715: remove sync around tlog serialization
........
fix test msg
........
add recovery strat to commented out list of log configs for tests
........
change log format - core= rather than Core:
........
add some tests mixing up payload options
........
tests: specify a seed to Random()
........
tests: use random seed of doc base
........
set the SVN variables so this task can build the unsigned release
........
Remove smoke again, this is now a new ReleaseNightly job on ASF Jenkins (without scripts, only ANT). I will later remove the artifact building from the standard nightly scripts, too. Those will now only run tests and clover.
........
Smoketester should also run with OpenJDK to be able to run on FreeBSD
........
clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
........
LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
........
SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
........
LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
........
ignore silly bugs in sun's regex impl
........
LUCENE-4187: Die, shell scripts, die, die, die!
........
LUCENE-4187: Allow disabling validation tasks and javadocs-linting from jenkins
........
nuke useless scripts - part #1
........
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
........
LUCENE-4187: Remove remaining clover reference
........
LUCENE-4187: Add jenkins clover task
........
LUCENE-4187: Nuke remaining shell scripts
........
LUCENE-4187: exclude backwards (when it comes)
........
LUCENE-4187: simplier pattern
........
LUCENE-4187: Fix title for clover
........
LUCENE-4187: Make clover configuration for jenkins fixed and faster
........
Don't allow negatives in the positions file
........
LUCENE-1888: added option to store payloads on the term vectors
........
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
........
fix test to actually compare index1 vs index2, not index1 against itself
........
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
........
fix test bug
........
re-enable test
........
Allow better debugging this test
........
fix clustering and DIH problems with conflicting servlet-api dependencies by making scope be provided in solr's test-framework POM
........
revisit payloads API in DocsAndPositionsEnum
........
maven build: reduce solr test logging output, to allow Jenkins mailer to succeed
........
disable test timeouts until nightly builds have been addressed
........
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:18:26 +00:00
Uwe Schindler
481c6d952d
LUCENE-3312: Apply lucene-3312-patch-12a.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:06:05 +00:00
Mark Robert Miller
6331d4be67
add javadoc return value
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372406 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 12:57:04 +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
Dawid Weiss
d72080551a
Add issue pointer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372316 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 08:41:40 +00:00
Robert Muir
80811d02f5
remove FieldsEnum and replace with Iterator<String>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 02:25:19 +00:00
Uwe Schindler
e1295dc3d8
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372218 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 00:01:59 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Michael McCandless
6bc248b017
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 20:51:34 +00:00
Uwe Schindler
5930b2db76
LUCENE-4187: Remove remaining clover reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371843 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:33:04 +00:00
Uwe Schindler
5259fcd0c5
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371839 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:18:18 +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
562f65020c
tests: use random seed of doc base
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371491 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 21:16:15 +00:00
Yonik Seeley
d3a2df9307
tests: specify a seed to Random()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 20:51:48 +00:00
Mark Robert Miller
bd157431b8
change log format - core= rather than Core:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371399 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:56 +00:00
Mark Robert Miller
6563915b7a
add recovery strat to commented out list of log configs for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:36 +00:00
Mark Robert Miller
f8bdd18671
fix test msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +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
Uwe Schindler
2c38158032
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
...
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371150 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:34:30 +00:00
Uwe Schindler
148d99cbbc
LUCENE-3312: Merged revision(s) 1366639-1371131 from lucene/dev/trunk:
...
SOLR-3259: default /get to json
........
minor tweaks to update script example
........
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
........
LUCENE-4268: Fix test bug
........
SOLR-3648: Fix Velocity template loading in SolrCloud mode
........
fix confusing IW infoStream message
........
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
........
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
........
Disable test failing with Java 8
........
Allow detecting of Java 8
........
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
........
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4269: deprecate BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
........
fix the monkey: connection loss and expiration cause NPE
........
upgrade checkJavaDocs.py to python3
........
LUCENE-3884: Move ElisionFilter out of .fr package
........
fix encoding in javadocs checker
........
LUCENE-2501: fix thread hazard when threads add same field with different IndexOptions at the same time
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371142 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:20:53 +00:00
Uwe Schindler
e7811cfa6c
LUCENE-3312: Apply patch lucene-3312-patch-09.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371131 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:01:56 +00:00
Mark Robert Miller
b2ab339643
add core name to some of the recovery logging
...
move getRecentUpdates into try block - we should continue with no updates if there is an exception getting them
move cancelRecovery call into recovery wait sync block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 03:20:24 +00:00
Chris M. Hostetter
90fdd55ae5
remove broken @returns from javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +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
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Robert Muir
661f5e4aa9
harden test against internet problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370605 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 00:11:15 +00:00
Mark Robert Miller
f92c848abe
fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370341 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:19:41 +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
Mark Robert Miller
904a504825
cancel recovery before trying to sync as new leader - also improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370317 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:29:51 +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
Yonik Seeley
8da8c78015
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@1370297 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:00:19 +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
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Erik Hatcher
5714f445d3
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369930 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:20:51 +00:00
Chris M. Hostetter
ee280234f4
SOLR-1725: fix test assumptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369874 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:29:37 +00:00
Robert Muir
c1f2562aff
fix more broken untested boosts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369711 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 01:59:03 +00:00
Mark Robert Miller
c826b1f040
ignore until i can look into tomorrow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369510 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 01:29:07 +00:00
Robert Muir
41d4ef2b08
fix broken, untested 0.0f boost on unindexed field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369500 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:34:29 +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
Jan Høydahl
2ba5d018e7
SOLR-3439: Fixing broken hitGrouped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369476 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:35:41 +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