Commit Graph

3018 Commits

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