Robert Muir
4886491909
LUCENE-4359: allow docvalues to be unstored
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 19:33:37 +00:00
Robert Muir
8ff108e41d
LUCENE-4218: restore stringValue for numeric fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380812 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 19:01:04 +00:00
Michael McCandless
ea8ecb15a4
fix test/test-framework/real bug causing OOME in TestPostingsFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380808 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 18:52:19 +00:00
David Wayne Smiley
635699a563
LUCENE-4342 errant +1 in spatial prefix tree factory getLevelForDistance()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380739 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 16:59:27 +00:00
Robert Muir
a3ae43c515
LUCENE-4356: add missing eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380735 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 16:25:27 +00:00
Steven Rowe
4cec18130d
LUCENE-4358: Remove Apache snapshot repo from the grandparent POM
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380725 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 16:12:43 +00:00
Uwe Schindler
e053eb2a16
Fix broken maven repository URL on filesystems with spaces and backslash...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380706 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 15:59:58 +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
Robert Muir
7801531900
LUCENE-4356: settle on one version of commons-compress
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380683 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 15:39:55 +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
Uwe Schindler
1d2096c17a
LUCENE-4352: Only the test runner should be able to System.exit()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380391 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 22:46:04 +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
6bdf95f9b6
svn:eol=native
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380300 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:20:35 +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
Steven Rowe
09c824ce4c
Maven configuration: solr-core test resources are no longer needed by contribs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379989 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 14:51:14 +00:00
Uwe Schindler
bde79d433c
LUCENE-3312: The API of oal.document was restructured to differentiate between stored documents and indexed documents
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379982 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 14:35:35 +00:00
Uwe Schindler
ddf54938ee
Lucene 5.0 currently needs no migration guide. A new one will start with LUCENE-3312.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379946 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 11:36:22 +00:00
Uwe Schindler
0b3b1fa69e
LUCENE-3312: Add Robert's warning back.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379945 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 11:26:32 +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
David Wayne Smiley
8f0a8f4cb0
LUCENE-4208 woops; meant {@code } not {@link }
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379685 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 02:30:26 +00:00
David Wayne Smiley
7164584523
LUCENE-4342 fix distance precision lookup for prefix trees, and modify the default algorithm.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379530 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 17:53:05 +00:00
Adrien Grand
487c3306d8
Make it harder for people to re-introduce specializations of BulkOperationPackedSingleBlock. :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379489 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 15:58:49 +00:00
Adrien Grand
fd6d0f1566
LUCENE-4322: Reduce lucene-core JAR size by unspecializing BulkOperationPackedSingleBlock and rolling back some loops.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379479 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 15:32:29 +00:00
Uwe Schindler
a9071632c0
Don't fail on unknown IOContexts - TODO: Move the default buffer size into the Context enum as getter?
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379459 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:06:08 +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
Uwe Schindler
8f88aa6497
Turn some "assert false" in switch and switch-like statements into AssertionErrors. If we get into the default block we are wrong and we can also throw Ex, because then there is logic error (e.g. after new enum constant was added)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379450 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 13:55:25 +00:00
Robert Muir
63a95f1175
LUCENE-4196: add missing checks when reading up-front metadata
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379443 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 13:18:22 +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
9e19c17094
LUCENE-3312: Fix incorrect JavaDocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:58:33 +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
cfef80af55
LUCENE-4339: merge changes entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379176 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 21:52:20 +00:00
Uwe Schindler
856974ca39
Add some link to the explanation of the FreeBSD Jail issue workaround
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379141 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 20:55:30 +00:00
Robert Muir
1b85d60d02
allow tests to write to clover db
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379118 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 20:25:26 +00:00
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