Uwe Schindler
4b3df5d661
LUCENE-4337: Add a workaround for lucene.zones.apache.org's broken network configuration, also fix other possible misconfigurations of /etc/hosts: Solr sometimes connects to localhost, sometimes to 127.0.0.1, which may be different addresses.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379039 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 17:56:15 +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
Uwe Schindler
9b31cfe6ad
LUCENE-4337: For now (hopefully) fix problem on FreeBSD. The whole listen to 127.0.0.1 does not work alltogether, because Java allows binding to every port, just not accepting! See issue for details.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378991 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 15:39:27 +00:00
Robert Muir
a4702d3711
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378959 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:33:44 +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
Uwe Schindler
72d18af4a0
LUCENE-4337: Add missing EOL-Style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378936 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:38:29 +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
Robert Muir
b2ca2895b7
full javadocs for .analysis, give Analyzer its Closeable back, remove duplicate javadocs that are inherited anyway
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378797 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 03:59:32 +00:00
Michael McCandless
d77cde0c61
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378682 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 18:53:30 +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
Robert Muir
71dd31de24
Add an example that builds a CharFilter chain in Analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378593 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 14:56:28 +00:00
Martijn van Groningen
d447b1ae51
LUCENE-4333: Fixed bug caused by previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378568 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 14:07:31 +00:00
Robert Muir
660e880347
add information about Payload->BytesRef
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:51:43 +00:00
Robert Muir
45d6f0edc0
LUCENE-4324: enable broken html detection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378541 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:29:48 +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
Michael McCandless
61385c2817
don't assert forceMerge works since this test uses NoMergePolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378493 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 10:24:09 +00:00
Adrien Grand
ebde32f31f
LUCENE-4322: Start reducing the JAR size by only specializing decode for bitsPerValue in [1-24].
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378492 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 10:22: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
Uwe Schindler
223b127eae
LUCENE-4336: Finally I found a solution with IVY patterns. Sorry for repeated commits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 00:16:55 +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
Uwe Schindler
e70e2c6439
LUCENE-4336: Remove useless and conflicting attribute!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378385 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 23:42:59 +00:00
Uwe Schindler
44410bc9a9
LUCENE-4336: JavaCC tasks should use IVY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378381 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 23:29:44 +00:00
Dawid Weiss
0cd9b42034
LUCENE-4338: Redirect java.io.tmpdir so that each JVM gets their own tmpdir under a build/test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378352 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 21:16:51 +00:00
Robert Muir
0d707bd8c7
fix broken javadocs (javacc bug) by regenerating with latest version, fix broken links in .javacc (reintroduced if you regenerate)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378274 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 19:19:20 +00:00
Michael McCandless
1fb282a4cb
fix MemoryIndex false positive failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378271 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 19:03:42 +00:00
Michael McCandless
18fe854d86
detect broken HTML in the detailed class javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378252 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 18:14:07 +00:00
Michael McCandless
16692d69f4
javadocs: fix broken HTML
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378250 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 18:11:14 +00:00
Michael McCandless
6382ff2607
move imports down
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 16:24:31 +00:00
Michael McCandless
6722080cfc
use {@code ...}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378203 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 16:16:38 +00:00
Robert Muir
005fe165dc
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378183 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 15:44:31 +00:00
Robert Muir
15abfb83be
fix broken html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378152 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 14:37:46 +00:00
Michael McCandless
2684ba035e
try to catch mis-matched tags in the desc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378143 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 14:08:01 +00:00
Michael McCandless
a8ba6a23be
escape generics to HTML
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378140 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 14:02:19 +00:00
Uwe Schindler
86eb842ab3
Add javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378119 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 13:04:58 +00:00
Robert Muir
d3a9eeee06
clean up regexps
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378107 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:36:00 +00:00
Robert Muir
59637e32ee
fix end tag, otherwise half of Directory javadocs are in italics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378094 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:01:18 +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
Martijn van Groningen
31c9cede9a
LUCENE-4333: Fixed NPE in TermGroupFacetCollector when faceting on mv fields.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378077 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:03:46 +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
Robert Muir
d3e059b5e7
add missing javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377972 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 04:14:50 +00:00