Ryan McKinley
effa52b18f
SOLR-3134: Adding test and fix from Russell Black
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294995 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 07:32:02 +00:00
Sami Siren
dcaf6be3e4
SOLR-3165: make DIH work with solrcloud
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294990 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 07:07:40 +00:00
Ryan McKinley
bb9b30bf57
LUCENE-3795: get maven build to work. Add spatial4j jar file to solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1294980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 05:43:24 +00:00
Ryan McKinley
b3f2ad655f
LUCENE-3795: move back to single project layout. Add spatial4j jar file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1294974 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 05:17:39 +00:00
Yonik Seeley
6dc05950ae
SOLR-3157: remove isTestLoggingFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294968 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:16:17 +00:00
Yonik Seeley
19652ce169
SOLR-3157: restrict changes to logging string to formatter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294967 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:12:35 +00:00
Chris M. Hostetter
29a7c260fe
LUCENE-2604: add '/' to the list of chars in the various escape functions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294965 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 03:58:41 +00:00
Mark Robert Miller
29f9a15de5
fix spelling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294963 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 03:52:08 +00:00
Yonik Seeley
b2d288d5df
SOLR-3157: improve logging, add path/params to updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294916 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 00:38:16 +00:00
Yonik Seeley
2b055c2195
SOLR-3157: improve logging, restore legacy logging if not testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 00:12:44 +00:00
Mark Robert Miller
f75eae6217
throw a good error rather than NPE when no collection is found to request against
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294894 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 23:36:53 +00:00
Mark Robert Miller
7a8db2fcff
use qt param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294862 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 22:25:29 +00:00
Mark Robert Miller
28fb9a4cbc
parallelize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 21:29:54 +00:00
Mark Robert Miller
6f40a126e6
only add a close hook for the httpshardhandlerfactory if *we* created it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294723 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 16:35:05 +00:00
James Dyer
436ba5ff34
SOLR-3033/SOLR-3168: uncomment-out tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294714 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 16:13:25 +00:00
James Dyer
390454fba6
SOLR-3168: "numberToKeep" backups doesn't ever keep more than 1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 15:53:13 +00:00
James Dyer
af77642d82
SOLR-3033: "numberToKeep" on replication handler does not work with "backupAfter"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 15:50:31 +00:00
Jan Høydahl
3e14f86161
SOLR-3172: luceneMatchVersion of solrconfig-languageidentifier.xml hardcoded to LUCENE_35
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294648 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 13:41:29 +00:00
Sami Siren
d6fa94970f
fix build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294505 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 07:52:12 +00:00
Sami Siren
af16f0da65
add more scripting to help testing different scenarios
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294489 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 07:05:37 +00:00
Yonik Seeley
0b7cf94411
improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 05:29:52 +00:00
Mark Robert Miller
9f2a64a95e
improve unused distrib core cmd action a little bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294465 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 05:26:19 +00:00
Yonik Seeley
7464d5360b
SOLR-3170: don't use default params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294400 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 23:48:22 +00:00
Mark Robert Miller
a766b67aed
we need to retry when asking for a leader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294347 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 21:43:50 +00:00
Yonik Seeley
80ed367c4b
logging improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294309 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 20:15:21 +00:00
Mark Robert Miller
742acdb15d
don't replicate conf files in solrcloud mode - we don't have access to the raw fs conf dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 19:49:30 +00:00
Yonik Seeley
d41c7651d4
fix nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 17:32:57 +00:00
Yonik Seeley
ec52a87046
SOLR-3157: improve test logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:48:19 +00:00
Sami Siren
0f502b78c2
retry reading on connection loss
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294193 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:00:27 +00:00
Mark Robert Miller
2f1622a1f6
clear the right sys prop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:39:01 +00:00
Mark Robert Miller
b51ee44c39
SOLR-3166: Allow bootstrapping multiple config sets from multi-core setups.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294169 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 14:50:01 +00:00
Mark Robert Miller
4a9fc32b05
don't turn this on quite yet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294035 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 05:29:35 +00:00
Mark Robert Miller
e3e44afef7
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:36:26 +00:00
Mark Robert Miller
74037691e6
do not hold the cores lock while calling cancel on recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294004 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 02:52:49 +00:00
Mark Robert Miller
71674efc04
add ignore to test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293987 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 01:11:35 +00:00
Mark Robert Miller
b24e035e9f
remove some api ugliness around solrcloud - we don't actually need it anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293986 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 01:09:14 +00:00
Yonik Seeley
52002c62aa
tests: don't ignore all exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293939 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 21:33:24 +00:00
Yonik Seeley
fced47d33f
zkController: try to simplify all the addresses/urls, precompute some also
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293934 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 21:02:46 +00:00
Yonik Seeley
85013ffd31
logging: fix detection of updates since startup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293866 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:34:19 +00:00
Yonik Seeley
1c84da1064
SOLR-3080: do tlog recovery for all nodes, not just leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:25:32 +00:00
Uwe Schindler
6cc374ce92
Make clover output dir consistent with Lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293778 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:40:07 +00:00
Mark Robert Miller
2e015271c5
allow splitting the data and conf locations for an embedded zk server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293525 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 02:54:54 +00:00
Yonik Seeley
20dd250457
SOLR-3080: key coreStates by core name, create coreStates up front for consistent sync
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293516 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 02:00:32 +00:00
Mark Robert Miller
3abf6717ab
allow the zk server data dir to be overridden by sys prop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293460 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 22:38:56 +00:00
Mark Robert Miller
51ca380dd8
SOLR-3137: test+fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293415 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:02:51 +00:00
Erick Erickson
b54664047d
Little cleanup of style for SOLR-3116. Thanks Stefan!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293394 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:44:06 +00:00
Yonik Seeley
1c9f467680
SOLR-3080: separate sync for publishing coreStates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293391 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:35:18 +00:00
Mark Robert Miller
b093fca69a
take care of small bug around NRT and replication
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293371 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:19:25 +00:00
Mark Robert Miller
51ae7ee512
add a retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293346 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:16:34 +00:00
Mark Robert Miller
6d2ef6a1e4
this should be volatile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293345 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:16:16 +00:00
Mark Robert Miller
54681c0cfd
fix jdom license files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293343 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:12:51 +00:00
Jan Høydahl
6b113cd170
SOLR-2901: Added jdom-1.0.jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293309 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 16:00:14 +00:00
Erick Erickson
8aecefd623
Fix for SOLR-3160. Thanks Luca Cavanna!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293270 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 14:36:40 +00:00
Simon Willnauer
f29eda768d
LUCENE-3807: Clean up Suggest API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293148 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 09:49:39 +00:00
Sami Siren
61387fe283
SOLR-3080: I saw this fail few times, increase sleep time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293116 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 07:31:08 +00:00
David Wayne Smiley
effbca10e2
SOLR-3040 The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with a '/'.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293102 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 06:47:43 +00:00
Yonik Seeley
b7fa7354fc
logging: log versions of update commands, improve toString of solr docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293055 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 01:40:10 +00:00
Yonik Seeley
d63340aa32
tests: use stderr to interleave with logging, print out what docs/versions are missing from what shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293050 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 01:07:32 +00:00
Erick Erickson
b32b52578d
Patch for SOLR-3155. Fixes JSON output format error and alphabetizes children of nodex.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293039 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 00:28:19 +00:00
Sami Siren
48bb56dea8
SOLR-3148: expose more system info
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292938 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 20:18:24 +00:00
Ryan McKinley
ebfdea6c82
SOLR-2667: use require.js to load UI dynamically
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292908 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 19:23:10 +00:00
Sami Siren
c618516338
SOLR-3080: add couple more asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292753 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 11:44:00 +00:00
Sami Siren
19b2423ced
SOLR-3080: clear system property after test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:58:37 +00:00
Sami Siren
565777a7b3
SOLR-3080: remove shard info from zk when unload is called
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292739 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:55:29 +00:00
Ryan McKinley
20d2cb9701
SOLR-318: docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292721 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:19:50 +00:00
Ryan McKinley
d1abb09612
SOLR-3134: Include shard info in distributed response when shards.info=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292717 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:07:31 +00:00
Sami Siren
6ff799d4b3
SOLR-3037: simplify method as suggested by Jörg Maier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292690 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:07:06 +00:00
Sami Siren
d47a11f077
SOLR-3080: make election cancellable through EC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 07:19:37 +00:00
Mark Robert Miller
5713824147
SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
Ryan McKinley
9f2cec662f
SOLR-2459: fix test so it does not assume logging configuration
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292642 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 03:55:31 +00:00
Yonik Seeley
42c1ca8212
logging: log versions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292619 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 02:00:10 +00:00
Ryan McKinley
a9fbb020a5
SOLR-2459: deprecate LogLevelSelection servlet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292618 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:59:35 +00:00
Ryan McKinley
198c2a8b2d
SOLR-2459: Expose LogLevel selection with a RequestHandler rather then servlet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:53:08 +00:00
Yonik Seeley
5d0f1c4f0e
tests: make sure dropped buffered docs don't interfere with new additions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:28:06 +00:00
Ryan McKinley
7568962777
SOLR-3151: moving zookeeper.jsp to a servlet, this is a direct copy nothing new yet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292429 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 18:06:40 +00:00
Yonik Seeley
2127ffa53e
distrib search: up max connections per host
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292353 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:42:07 +00:00
Mark Robert Miller
f9c34805d7
if a prospective leaders sync with replicas fails, still be leader if there are no other candidates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:34:16 +00:00
Mark Robert Miller
1d67a7dc71
expand skip recovery option a bit (used by tests)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292313 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:32:53 +00:00
Mark Robert Miller
fd993e0c11
be careful about retrying rather than NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292312 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:53 +00:00
Mark Robert Miller
baee5394c1
clear numShards at end of test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292311 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:03 +00:00
Uwe Schindler
07a44a8fa5
LUCENE-3800: "Soft-close" IndexReader (make it unuseable) once a child-reader (subreader, filter delegate, or parallel reader) is closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292293 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:57:55 +00:00
Erik Hatcher
1cb4034ed9
SOLR-2607: remove client/ directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292281 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:34:47 +00:00
Erik Hatcher
5dc9fbc849
SOLR-2607: remove client/ directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292278 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:29:51 +00:00
Sami Siren
307cf98e1f
print zk contents when failing to get leader url
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292243 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:35:08 +00:00
Sami Siren
9e1e2d40a4
fix CoreAdminRequest so that it uses correct key for shard id, use same key for shard id in CoreAdminParams and ZkStateReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:14:06 +00:00
David Wayne Smiley
3f5d66037e
LUCENE-3795 Trying more ant build.xml progress but Solr isn't working
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292167 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 07:51:53 +00:00
David Wayne Smiley
d6c583d9de
LUCENE-3795 Switch Solr over to new spatial module. Tests pass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292162 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 07:32:04 +00:00
Mark Robert Miller
075b60307e
protect access with sync
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292093 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 00:41:15 +00:00
Mark Robert Miller
2a13b648fa
fix a concurrency issue around writing hashmap to json
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292064 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:30:33 +00:00
Mark Robert Miller
2296b6d6e3
remove sys out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:55:03 +00:00
Yonik Seeley
f50e4dbf51
SOLR-3150: NPE when facetting using facet.prefix on an empty field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:52:54 +00:00
Mark Robert Miller
273f5a8b93
fix and unignore test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291971 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:50:56 +00:00
Steven Rowe
2421399023
Test fix for DIH TestScriptTransformer: Lucene-Solr-Maven-trunk build#397 produced an exception with the message "<script> can be used only in java 6 or above Processing Document # 1", while the test was only ignoring those exceptions with the exact message "<script> can be used only in java 6 or above" - switched the test for this to require the expected message as a prefix rather than exact equality.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291958 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:05:31 +00:00
Yonik Seeley
7e6c8fa33b
tests: more reorder testing in peersync
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:07:39 +00:00
Mark Robert Miller
ceb3ab3e1d
need to figure out why this started failing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291597 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 05:08:20 +00:00
Mark Robert Miller
bd31c935d1
say what state we found if we found one that is not ACTIVE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291586 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 04:01:56 +00:00
Mark Robert Miller
13956ea166
boost wait by 4 sec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 03:05:08 +00:00
Yonik Seeley
d263c5c1ab
log recoveringAfterStartup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291547 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 01:44:56 +00:00
Koji Sekiguchi
3ab34fc0d0
SOLR-2909: add support for ResourceLoaderAware tokenizerFactories in synonym filter factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291541 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 00:56:42 +00:00
Mark Robert Miller
314bce4f6e
SOLR-3126: harden peer sync recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291530 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 23:58:49 +00:00
Yonik Seeley
630addb415
SOLR-3126: get num versions from updatelog, fail sync if comm fail when retrieving updates, use starting versions if syncing aftger startup, only sync first time in recovery loop, more sync logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291350 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 16:31:18 +00:00
Robert Muir
5adeacf2aa
SOLR-3143: add SuggestQueryConverter for autosuggesters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291322 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 15:48:38 +00:00
Sami Siren
83f02d630b
SOLR-3068: add check against nulls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 10:34:06 +00:00
Mark Robert Miller
b64c42c533
cfg should be volatile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 05:09:02 +00:00
Robert Muir
d4deb86459
SOLR-3142: don't auto-optimize in dataimports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291115 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 01:45:09 +00:00
Yonik Seeley
ecc836d028
tests: improve SolrInputDocument.toString for debugging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291066 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 21:39:37 +00:00
Robert Muir
a519b630ee
LUCENE-3714: add weighted FST suggester impl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291020 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 16:23:05 +00:00
Yonik Seeley
2e07171d1f
SOLR-3126: test changes to handle deletes surviving restart
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291003 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 14:13:45 +00:00
Yonik Seeley
e2ebd116a1
SOLR-3126: restore old deletes via tlog so peersync won't reorder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290941 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 04:10:03 +00:00
Yonik Seeley
3bbd90ebd5
SOLR-3126: restore old deletes via tlog so peersync won't reorder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290938 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 03:57:43 +00:00
Yonik Seeley
777a357934
tests: throw some get-lastest-version requests into the mix during buffering
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290886 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 21:40:43 +00:00
Mark Robert Miller
6d5e0efac4
SOLR-3137: check for null orig solr.xml name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290829 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 17:50:05 +00:00
Robert Muir
28c3923ceb
LUCENE-3796: throw an exception if you set an index-time boost on a field that omits norms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245947 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 15:48:20 +00:00
Mark Robert Miller
b430734e31
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245930 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:46:52 +00:00
Mark Robert Miller
1cf9bc4e28
add null check
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:26:23 +00:00
Mark Robert Miller
a668cc9a5e
dont ignore this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245925 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:15:57 +00:00
Uwe Schindler
88f7c8bd77
import missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:35:41 +00:00
Uwe Schindler
9e98ce6ed5
Stop cruelty to monkeys and other animals
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245902 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:31:25 +00:00
Uwe Schindler
78640d58cf
Fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245899 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:24:22 +00:00
Mark Robert Miller
458ff3ead7
SOLR-3126: hardening around peer sync and tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245836 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 02:00:03 +00:00
Mark Robert Miller
d15af1ccbd
fail if we don't see recovering shard flip to active and correct doc count checks (distrib=false)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245835 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 01:31:11 +00:00
Mark Robert Miller
18fbe0ef3e
pass numshards on each start call to avoid races
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245744 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 20:23:16 +00:00
Michael McCandless
854c9ac452
LUCENE-3777: separate out Int/Long/Float/DoubleField to reduce traps
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245583 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:46:35 +00:00
Mark Robert Miller
297f09d818
dont pass around confusing solrcore param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245244 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:16:03 +00:00
Mark Robert Miller
c5f84d4dcf
get core first thing before try
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245242 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:04:40 +00:00
Mark Robert Miller
efa20a5149
SOLR-3131: "details" command fails when a replication is forced with a "fetchIndex" command on a non-slave server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:46:15 +00:00
Mark Robert Miller
851f4f647b
script to start a small cluster easily with an external zk setup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245219 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:31:42 +00:00
Mark Robert Miller
91dc7befa4
SOLR-3137: When solr.xml is persisted, you lose all system property substitution that was used.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245217 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:24:04 +00:00
Mark Robert Miller
8a2bc76e2f
somehow didn't make it in the previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245213 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:20:18 +00:00
Mark Robert Miller
9897a0e792
SOLR-3138: Add node roles to core admin handler 'create core' and solrj.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245202 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:02:39 +00:00
James Dyer
fd6c1e657a
SOLR-2947: fix 'where' clause bug on CachedSqlEntityProcessor (introduced w/SOLR-2382)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245109 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 18:09:01 +00:00
James Dyer
59b7673a18
SOLR-2947: add license headers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245018 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 15:13:32 +00:00
James Dyer
37bb87e70d
SOLR-2947: fix multi-threaded DIH bug (introduced w/SOLR-2382)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245014 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 15:09:13 +00:00
Mark Robert Miller
c2eb461acc
SOLR-3126: tweaks on this + reenable test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245004 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:51:14 +00:00
Yonik Seeley
9b7945f981
SOLR-3126: adjust peersync to avoid false positive syncs during updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244806 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:16 +00:00
Erick Erickson
783404c19b
Took out license information when the file was already licensed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 21:27:50 +00:00
James Dyer
264eb5690a
SOLR-2847
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:52:32 +00:00
Steven Rowe
d47f01c350
LUCENE-3754: Store generated archive manifests in per-module output directories - each artifact gets its own manifest file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244536 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:30:53 +00:00
Mark Robert Miller
4fc57a39f8
ignore until SOLR-3126 is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244281 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 23:50:43 +00:00
Mark Robert Miller
56f12201b7
SOLR-3122: allow interrupting zkcmdoperations and some test work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:58:16 +00:00
Mark Robert Miller
fe0c6ae0ae
add shardId to create cmd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:19:32 +00:00
Mark Robert Miller
0a02750074
SOLR-3126: We should try to do a quick sync on std start up recovery before trying to do a full blown replication.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244177 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 19:15:54 +00:00
Mark Robert Miller
82a81271f0
dont run example dist
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244176 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 19:15:01 +00:00
Mark Robert Miller
cf0fe3e58c
ignore again - still failing too often on jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:50:11 +00:00
Erick Erickson
78a5be5e28
Added Apache license information to the new UI pages files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243925 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 14:07:22 +00:00
Christopher John Male
e36f317d7b
SOLR-3005: Fixed JSONResponseWriter content type disappearing when only default writers used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243870 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 10:58:43 +00:00
Dawid Weiss
213ad3290a
LUCENE-3762: Upgrade JUnit to 4.10, refactor state-machine of detecting
...
setUp/tearDown call chaining.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 10:27:16 +00:00
Dawid Weiss
124a1c0d5a
Moving solr/example/work license check exclusion to solr-specific validation section.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243821 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 08:25:28 +00:00
Yonik Seeley
48c78f2542
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243779 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 04:18:56 +00:00
Erick Erickson
6bb4ea097f
Fix for SOLR-3132
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 03:09:02 +00:00
Yonik Seeley
26de35a65c
dbq: fix param rename
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243773 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 03:00:22 +00:00
Yonik Seeley
27f5a8b290
solrcloud: send deleteByQuery to all shard leaders to version and forward to replicas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243768 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 02:45:41 +00:00
Yonik Seeley
ff49481d93
debug: add useful toString for SolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243666 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 19:41:47 +00:00
Dawid Weiss
087f1e3126
LUCENE-3774: Optimized and streamlined license and notice file validation
...
by refactoring the build task into an ANT task and modifying build scripts
to perform top-level checks. (Dawid Weiss, Steve Rowe, Robert Muir)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243527 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:12:59 +00:00
Mark Robert Miller
6f186b0dd4
ignore again for the moment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243413 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 04:21:31 +00:00
Mark Robert Miller
06fae9dfbb
SOLR-3117: CoreDescriptor attempts to use the name before checking if it is null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243390 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 01:39:11 +00:00
Martijn van Groningen
03c278ce04
SOLR-3052: Added entry to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243376 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 00:25:22 +00:00
Martijn van Groningen
d6cb99523a
SOLR-3109: Fixed numerous redundant shard requests when using distributed grouping.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243375 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 00:13:32 +00:00
Steven Rowe
463a6bd527
SOLR-3123: Add licenses for solr/example/lib/**/*.jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243278 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 17:12:40 +00:00
Mark Robert Miller
f68149b978
turn these two tests on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243200 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 05:53:56 +00:00
Mark Robert Miller
83fa9d80fa
SOLR-3125: When a SolrCore registers in zk there may be stale leader state in the clusterstate.json.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243195 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:45:06 +00:00
Mark Robert Miller
4cffbd71b5
more specific logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243194 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:44:30 +00:00
Mark Robert Miller
1825356d26
use a connection timeout as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 01:14:05 +00:00
Mark Robert Miller
0f1b765c28
add start existing solrcloud script and remove data dir in init start script
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243179 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 23:14:55 +00:00
Mark Robert Miller
2fc6800bdf
SOLR-3122: do not interrupt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243154 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 21:03:46 +00:00
Mark Robert Miller
5c50bf4c65
only print to stdout if test did not finish
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243135 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 19:40:17 +00:00
Uwe Schindler
d17d600da5
LUCENE-3770: FilterIndexReader was renamed to FilterAtomicReader and now extends AtomicReader. If you want to filter composite readers like DirectoryReader or MultiReader, filter their atomic leaves and build a new CompositeReader (e.g. MultiReader) around them.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243051 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:06:39 +00:00
Ryan McKinley
7e3a10e107
SOLR-3121: (admin UI) load term info dynamically for each field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 02:55:45 +00:00
Mark Robert Miller
17ac9321a9
unignore this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:15:18 +00:00
Robert Muir
590741dcfe
LUCENE-3766: Remove Tokenizer's default ctor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:12:35 +00:00
Mark Robert Miller
18a1d40283
SOLR-2957: fix default core behavior when in zk mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:42:57 +00:00
Yonik Seeley
e138de254f
SOLR-3120: spatial post-filter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242832 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:00:26 +00:00
Mark Robert Miller
e9380c5370
if we cannot find a collection, return null rather than NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242830 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:57:00 +00:00
Mark Robert Miller
7728dcc5f2
do not put num_shards in the cluster state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242828 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:56:19 +00:00
Mark Robert Miller
76f0587508
SOLR-2957: collection URLs in a cluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242800 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:52:44 +00:00
Robert Muir
8a50cefc6b
LUCENE-3748: EnglishPossessiveFilter did not work with a proper right quotation mark
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:01:11 +00:00
Mark Robert Miller
559f7e7923
remove unnecessary numShards params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242650 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 03:40:31 +00:00
Mark Robert Miller
9332f2e027
SOLR-3088: create shard placeholders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242639 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 02:24:25 +00:00
Chris M. Hostetter
7c51126b86
SOLR-2802: change min/max processors to fail hard if values are not comparable, also imrpvoe error handling/logging in FieldMutatingUpdateProcessor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:43:54 +00:00
Yonik Seeley
6c4139a62b
tests: add testfunc to ensure weighting occurs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:22:01 +00:00
Robert Muir
d06fe21f88
SOLR-3056: remove unpaired xml comment/typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:59:34 +00:00
Robert Muir
8c2e20bb2d
SOLR-3056: add example japanese field type, lazy-load kuromoji resources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:35:24 +00:00
Robert Muir
9f783ead67
SOLR-3115: improve japanese stopwords.txt description
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242557 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:17:44 +00:00
Chris M. Hostetter
343fead2bc
SOLR-2802: fix compilation problem rmuir was seeing in his IDE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:20:47 +00:00
Chris M. Hostetter
4906b8a614
SOLR-2802: several new UpdateProcessorFactories for modifing fields of documents, along with base classes to make writing these types of classes easier for users
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242514 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:41:21 +00:00
Robert Muir
72ae3171be
LUCENE-3765: Trappy behavior with StopFilter/ignoreCase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242497 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 19:59:50 +00:00
Mark Robert Miller
ef65f76824
clean up this Changes entry - no need to list extra issues where the contributor is already credited for the overall feature listing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242428 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 18:09:51 +00:00
Mark Robert Miller
3c5d8633d9
SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (test)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:59:11 +00:00
Uwe Schindler
25cfcfb61e
LUCENE-3757: Change AtomicReaderContext.leaves() to return itsself as only leave to simplify code and remove an otherwise unneeded ReaderUtil method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:14:19 +00:00
Mark Robert Miller
dfdd1b7363
SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (fix only)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 03:15:44 +00:00
Erick Erickson
3f9389b3ea
Fix for SOLR-3111 - fl param not working when more than one field was specified. Also honors * for "all fields"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242150 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:30:50 +00:00
Robert Muir
c0319d5928
SOLR-3056: document expectations in these files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241960 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 16:27:47 +00:00
Robert Muir
dac1b58277
SOLR-3097, SOLR-3105: add fieldtypes for different languages to the example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:07:52 +00:00
Steven Rowe
eb0ab3d392
LUCENE-3753: Restructure the Lucene build system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Robert Muir
8b939cb7d2
SOLR-3107: hardwire seed in langdetect langid impl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241550 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:58:43 +00:00
Yonik Seeley
a26d3d1d4c
SOLR-3104: get sortfield values for fsv in docid order
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:01:54 +00:00
Mark Robert Miller
d98d63d83e
set timeout on sync request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241059 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:18:41 +00:00
Erick Erickson
de88978db0
Added types to javadoc
...
used // rather than /** */ to keep IntelliJ from making a stupid complaint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 13:50:53 +00:00
Robert Muir
4710d32447
LUCENE-3749: replace SimilarityProvider with PerFieldSimilarityWrapper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241001 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 12:48:01 +00:00
Simon Willnauer
dfce8dd760
Retrieve CoreContainer from EmbeddedSolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 11:23:33 +00:00
Robert Muir
c880ef0647
SOLR-1860: support snowball format in stoplists
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240784 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 19:33:56 +00:00
Robert Muir
bef6e3664d
LUCENE-3726: additional tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240760 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 16:16:02 +00:00
Robert Muir
009608d9f2
LUCENE-3726: default Kuromoji to search mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240710 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 12:41:13 +00:00
Koji Sekiguchi
0e73d06216
SOLR-3054: add a period at the end of the first sentence in javadoc in order to avoid displaying the sample definition of schema.xml in o.a.s.analysis package table, and add indent to the sample for readability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240655 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 02:38:18 +00:00
Jan Høydahl
3442587f45
SOLR-3059: Example XSL stylesheet for indexing query result XML (merged from 3x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240427 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 01:13:56 +00:00
Yonik Seeley
42bec45143
SOLR-3017: make StopFilterFactory return TokenStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240371 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 22:08:13 +00:00
Mark Robert Miller
047b368b59
SOLR-3091: When running in SolrCloud mode, whether a instance is supposed to be part of the quorum or not, it tries to start a local Solr ZK server.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240239 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:41:32 +00:00
Mark Robert Miller
ce3f9caf86
SOLR-3082: If you use a lazy replication request handler, the commit listener will not be registered right away, and might miss tracking the last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:26:20 +00:00
Tommaso Teofili
1b4c60816c
[SOLR-3092] - updated TypeTokenFilterFactory to handle useWhiteList parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240081 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 11:11:25 +00:00
Mark Robert Miller
8a70316f46
move where the wait is in this script
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239997 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 04:23:48 +00:00
Mark Robert Miller
80db6d38c2
try turning indexsearcher open/close check back on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 03:25:49 +00:00
Robert Muir
d80355fd21
LUCENE-3566: parameterize H1 and H2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 15:46:43 +00:00
Yonik Seeley
26cc705354
recovery: don't replay log file on clean shutdown + startup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239465 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 05:59:55 +00:00
Yonik Seeley
0456daf3bb
return useful messages for wrapped exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239453 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 03:13:32 +00:00
Yonik Seeley
f6e4fceda2
SOLR-3078: only return update versions on request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Yonik Seeley
49799e031f
LUCENE-1536: avoid needless checking of livedocs for solr DocSets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239432 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 01:37:50 +00:00
Yonik Seeley
fa11c89517
SOLR-3062: join was ignoring acceptDocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239355 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 22:02:07 +00:00
Yonik Seeley
8eca88f9d4
SOLR-1726: disable deep paging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239326 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 21:15:24 +00:00
Chris M. Hostetter
07d334be9b
SOLR-3084: Fixed initialiazation error when using <queryResponseWriter default="true" ... />
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239316 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:55:18 +00:00
Yonik Seeley
fca632d48b
tests: fix failure due to other methods using same id space
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239284 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 19:37:36 +00:00
Mark Robert Miller
c48c0d7462
add solrcloud credits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:04:25 +00:00
Grant Ingersoll
b912f6da98
SOLR-1726: add deep paging support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:01:34 +00:00
Mark Robert Miller
5d2de95e35
SOLR-3065: clean up exception handling / logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 15:52:10 +00:00
Yonik Seeley
8e357cac55
SOLR-3062: implement openSearcher=false, make commitWithin soft, refactor commit param parsing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239155 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 14:51:07 +00:00
Robert Muir
3d55e144ac
SOLR-3056: support kuromoji in core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Uwe Schindler
5f38919e81
LUCENE-3734: Allow customizing/subclassing of DirectoryReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239043 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:41:54 +00:00
Mark Robert Miller
440b514452
revert these config changes - see SOLR-3082 - we should solve this another way
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238838 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 22:36:50 +00:00
Mark Robert Miller
942b41c004
don't lazy load the replication handler - you can miss replicating commits that happen before the handler is loaded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238814 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:05:42 +00:00
Mark Robert Miller
a4591b1f05
SOLR-3081: default warming queries to distrib=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238744 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 18:54:56 +00:00
Mark Robert Miller
f733000e0f
better error msg than NPE when collection cannot be found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 17:24:05 +00:00
Mark Robert Miller
0d8d2f48e4
allow for over closing SolrZkClient as we do with SolrCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:58:18 +00:00
Martijn van Groningen
cf538e6f74
SOLR-3073: Fixed 'Invalid UUID string' error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238678 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:38 +00:00
Mark Robert Miller
d3e50cad5f
don't do an extra close - this will happen at shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238677 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:32 +00:00
Uwe Schindler
18533af348
LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:45:08 +00:00
Robert Muir
3ea54b5401
merge trunk (1237715:1238015)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:19:54 +00:00
Uwe Schindler
10614f9b26
LUCENE-2858: Port Java to new API, share slow reader as SolrIndexSearcher.getAtomicReader()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237812 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:29:22 +00:00
Mark Robert Miller
76fc82a199
SOLR-3075: Overseer does not check cloudstate for previously assigned shardId but generates a new one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237803 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:16:54 +00:00
Uwe Schindler
0d7055bf3d
LUCENE-2858: Reverse merged revision(s) from lucene/dev/trunk up to 1237714
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237716 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:27:25 +00:00
Uwe Schindler
bfa1dec595
LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Mark Robert Miller
e1cb522921
SOLR-3066: check if waiting twice as long for solrindexsearchers to be returned changes anything with searcher cnt mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237536 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:57:42 +00:00
Mark Robert Miller
8ea1719aef
when aggressively killing leaders in tests, don't go after any leader, go after the leader for the given slice
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:41:39 +00:00
Michael McCandless
2e5be2f75c
LUCENE-3672: reduce reliance on timestamps
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237497 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:38:32 +00:00
Mark Robert Miller
1aef3f9fef
revert - did not help
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:51:28 +00:00
Mark Robert Miller
1b2f952ecc
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237308 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:02:53 +00:00
Mark Robert Miller
6b2b5c5cab
set a timeout on this solrserver as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237297 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:27:58 +00:00
Mark Robert Miller
50534a52b2
ignore test until we figure out why we get a read time out on an up server on jenkins in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237293 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:06:42 +00:00
Mark Robert Miller
9d8a62ce96
if there is an exception when closing the writer, log it and keep closing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237200 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 03:41:37 +00:00
Mark Robert Miller
210301b424
SOLR-3065: Let overseer process cluster state changes asynchronously
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237194 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:22:55 +00:00
Mark Robert Miller
9a1222efc5
SOLR-3063: Bug in LeaderElectionIntgrationTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237193 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:12:00 +00:00
Mark Robert Miller
23e845d479
enable this test again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237191 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:55:30 +00:00
Mark Robert Miller
6d5e8df1da
raise the timeout on this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237190 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:53:55 +00:00
Yonik Seeley
817b1e3fe0
SOLR-3066: don't fail for searcher open/close mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237140 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 19:02:39 +00:00
Mark Robert Miller
7a0a470401
tweak test and pull atLeast() out of for loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236968 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 03:03:46 +00:00
Mark Robert Miller
ece30470f2
try making sure we wait for any recovery to stop for each core in core container shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236959 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:19:42 +00:00
Mark Robert Miller
1c24188e0b
don't add to the num open count until the constructor is finished
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236958 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:17:37 +00:00
Mark Robert Miller
5a020a48d2
change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236956 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:03:29 +00:00
Mark Robert Miller
d3fa5ea86e
try raising how long we will wait for balanced open/close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Yonik Seeley
f6e22fd4fa
SOLR-3035: make text response writers work with byte, short, and byte[] values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:27:57 +00:00
Mark Robert Miller
cc93925b9f
don't allow registering a new SolrCore if the CoreContainer has been shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:19:08 +00:00
Mark Robert Miller
af77591d7a
remove this isClosed check that we didn't have before and shouldn't need now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:02:31 +00:00
Mark Robert Miller
ac664ba310
fix bad javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 20:53:15 +00:00
Yonik Seeley
7784c42dd1
refactor: make javabin use ByteUtils for encoding/decoding
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:45:26 +00:00
Steven Rowe
02d4bd91df
SOLR-2358: Add new solrj dependency apache-solr-noggit-*.jar to solrj-lib/ when producing a distribution.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236859 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:44:42 +00:00
Mark Robert Miller
2bc0007244
try ignoring this test for now so we can isolate which tests are involved in the indexsearcher open/close imbalance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236830 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:53 +00:00
Yonik Seeley
0545651342
revive ByteUtils to remove lucene dependency in solrj, refactor JavaBinCodec to reuse UTF8 encoding function
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:06 +00:00
Yonik Seeley
b141bbb52e
tests:remove tracing exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Yonik Seeley
f7e8a4abd4
tests: dial logging back down
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236777 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:40:20 +00:00
Mark Robert Miller
924857fc44
remove this check and use of lucene core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236774 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:34:54 +00:00
Yonik Seeley
a557fb9f24
tests: don't make it an error if counts aren't reset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Mark Robert Miller
440a7991d3
try to be more aggressive shutting down the search executor in the face of interruption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:40:49 +00:00
Mark Robert Miller
6d1e24554a
be more aggressive about trying to shut down executors in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:31:47 +00:00
Robert Muir
a7d6e5237c
fix javadocs error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236673 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:11:10 +00:00
Mark Robert Miller
17a5d3e5cb
we don't care if commit fails while we wait for things to settle down in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236525 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:38:02 +00:00
Mark Robert Miller
21e0d0c909
must have lost this: when force=true, do not trust comparing version and generation - this is not a strong enough check
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:12:20 +00:00
Mark Robert Miller
ccee2bca8f
ensure that a newly opened searcher has a non null newIndexDir to work from
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:49:51 +00:00
Mark Robert Miller
d2a21994e9
fix how we poll for the leader in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236488 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:40:52 +00:00
Mark Robert Miller
e679634db6
boost timeout on test for the really slow system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:24:39 +00:00
Yonik Seeley
6279c500a2
tlog: nuke unwanted localization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236480 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:12:36 +00:00
Mark Robert Miller
4d9a1d0862
set the name of the recovery thread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236463 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:23:21 +00:00
Yonik Seeley
d405c74084
tests: reset counts at start of test also
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Michael McCandless
c56e845c68
DocTermOrds requires atomic reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:20:10 +00:00
Mark Robert Miller
9469e0e0a7
ensure that we have shard leaders before the tests begin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:05:21 +00:00
Mark Robert Miller
231445f166
raise the length of time that we are willing to wait for searchers to be closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Yonik Seeley
9db16cd23b
tests: try to track down the tlog-already-exists issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236410 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:09:08 +00:00
Mark Robert Miller
b0ea2de37d
boost this test poll timeout just a bit more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:01:34 +00:00
Mark Robert Miller
0d578c8c8c
add a bit of javadoc and be sure we don't register as active unless a recovery was *not* started
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 20:38:04 +00:00
Mark Robert Miller
790045ae03
add a check that ensures we see the number of shards that we would expect in the cluster state before the test starts and retry after a pause if we do not
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:46:42 +00:00
Mark Robert Miller
51c97efbe8
fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:20:07 +00:00
Yonik Seeley
5293942927
don't reset counts until after we are done retrying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Mark Robert Miller
3281e5b3a3
show the base url when reporting exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236324 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:52:50 +00:00
Mark Robert Miller
86dd14bab9
ignore test until i can figure out why a request times out on a live jetty instance regularly on jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:46:37 +00:00
Mark Robert Miller
de94013750
try raising tests so timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236272 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:23:45 +00:00
Mark Robert Miller
2da5fdc636
clean up javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236271 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:17:23 +00:00
Mark Robert Miller
2caf23ebf0
boost this test timeout as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:08:52 +00:00
Mark Robert Miller
9415095fc7
also raise this test timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236254 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:54:10 +00:00
Mark Robert Miller
228a324062
raise timeout and try to un-ignore this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236250 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:45:49 +00:00
Mark Robert Miller
6c3b8b5b02
cleanup/fix logic around setting active state on startup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236240 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:29:04 +00:00
Dawid Weiss
5f9209aff2
Corrected ant clean for git and svn, removed extra examples prefix as pointed out by Uwe.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236187 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 14:25:27 +00:00
Dawid Weiss
5eb872cdf2
Revert "Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern."
...
This reverts commit c4a413eb69f8be46664b1ddcbf24af4be44e933c.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236185 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 14:19:14 +00:00
Dawid Weiss
2c3fa2e3db
Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236178 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 13:56:50 +00:00
Mark Robert Miller
19f8d0f623
if test fails, print zk layout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236037 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:58:52 +00:00
Mark Robert Miller
11396fff5b
unignore this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236036 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:43:37 +00:00
Mark Robert Miller
7f31bb4974
try to avoid seeing stale state when deciding if we can kill or not by updating the state in the loop rather than just at the start
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:41:51 +00:00
Mark Robert Miller
8c0102e11a
boost how long we poll for this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236034 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:36:45 +00:00
Mark Robert Miller
9072e892f2
print zk state if test is not succesful
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 02:22:31 +00:00
Mark Robert Miller
c6d69c632f
dont advertise sync state yet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236009 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:55:45 +00:00
Mark Robert Miller
37b596b450
if the test fails, print out the zk state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235995 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:06:25 +00:00
Mark Robert Miller
b87045f8f1
comment out debug sys out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235988 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 23:26:37 +00:00
Mark Robert Miller
e4cc1d009c
bump up wait fudge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:38:06 +00:00
Mark Robert Miller
f81f7f60cd
ignore these tests for a bit while i look into hardening them against hudson fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235949 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:10:51 +00:00
Mark Robert Miller
9fed484fb1
SOLR-2358: merge in solrcloud branch (watch out hudson!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Yonik Seeley
1e79c3b98e
LUCENE-3721: CharFilters were not being invoked in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235810 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 16:21:33 +00:00
Jan Høydahl
8f550126f7
SOLR-2901: Upgrade Solr to Tika 1.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235753 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:18:06 +00:00
Jan Høydahl
d0e4e731d9
SOLR-2280: commitWithin ignored for a delete query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Steven Rowe
9157338066
LUCENE-3690: Added info about changes in HTMLStripCharFilter surrogate handling to solr/CHANGES.txt.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234867 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 15:56:06 +00:00
Robert Muir
7fafdd3576
LUCENE-3717: add checkRandomData to more analyzers and fix more offsets bugs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234850 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 15:19:58 +00:00
Uwe Schindler
f7a474d603
LUCENE-3671: Fix wrong issue number!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234598 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 20:35:22 +00:00
Uwe Schindler
6b5ef1dead
SOLR-3054, LUCENE-3671: Remove useless assureMatchVersion check
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234579 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:57:24 +00:00
Uwe Schindler
366e1a2cd2
SOLR-3054, LUCENE-3671: Add TypeTokenFilterFactory that creates TypeTokenFilter that filters tokens based on their TypeAttribute
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:50:10 +00:00
Steven Rowe
f3a363708f
LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Steven Rowe
fb1884358d
SOLR-2718: Move CHANGES entry under 3.6.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233199 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 06:31:46 +00:00
Yonik Seeley
4c078d97c9
build: make property for javac args
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233010 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:28:39 +00:00
Jan Høydahl
374f6fc6c1
SOLR-2970: CSV ResponseWriter returns fields defined as stored=false in schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:55:57 +00:00
Simon Willnauer
e58eadc95b
LUCENE-3697: fix solr testcase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 10:31:46 +00:00
Steven Rowe
961cc111a8
SOLR-3042: Fixed Maven Jetty plugin configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232527 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 18:35:50 +00:00
Koji Sekiguchi
88dee37bb0
LUCENE-3698: forgot to modify test in solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232491 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 17:15:36 +00:00
Yonik Seeley
3e4fc88708
SOLR-3037: missed test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:18:07 +00:00
Robert Muir
dea4b911da
LUCENE-3646: throw exception for fieldcache on non-atomic reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:34:43 +00:00
Jan Høydahl
37e03cbfa5
SOLR-2105: Discontinue deprecated parameter "update.processor"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232363 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 09:41:33 +00:00
Simon Willnauer
0ffcdcb595
SOLR-1709: cleanup trunk CHANGES.TXT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232360 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 09:35:46 +00:00
Simon Willnauer
813285cca1
SOLR-1729: cleanup trunk CHANGES.TXT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232344 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 08:57:19 +00:00
Robert Muir
50363201f4
LUCENE-3305: remove out of date todo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232297 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 04:39:58 +00:00
Robert Muir
89a694fc31
SOLR-2888: merge CHANGES from backport
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232290 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 04:02:17 +00:00
Erick Erickson
23bd21c968
Fixes for SOLR-3032. Removed all the conditional logging for exceptions, we'll rely on the top levels to log the errors appropriately.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232192 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:07:13 +00:00
Simon Willnauer
98e59fceee
LUCENE-3687: Allow similarity to encode norms other than a single byte
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232014 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:57:15 +00:00
Jan Høydahl
49d3605946
SOLR-2487: Do not include slf4j-jdk14 jar in WAR
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231982 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 12:54:01 +00:00
Michael McCandless
11f33ee521
LUCENE-3684: add offsets to postings APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231794 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:17:45 +00:00
Michael McCandless
9de01b56eb
LUCENE-3453: simplify DocValues/Field API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231791 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:05:13 +00:00
Koji Sekiguchi
2125313a90
SOLR-2603: Encoding of alternate fields in highlighting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231665 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 13:50:55 +00:00
Yonik Seeley
2911bce99b
fix thread safety
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231606 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 01:30:35 +00:00
Yonik Seeley
f090ac33b0
SOLR-3037: When using binary format in solrj the codec screws up parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231564 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 19:09:52 +00:00
Robert Muir
fbd34b4390
cleanups to 4.x CHANGES
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231552 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 18:24:48 +00:00
Yonik Seeley
2504985445
SOLR-3036: Ability to specify overwrite=false on the URL for XML updates.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231514 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 15:21:42 +00:00
Chris M. Hostetter
b2de49f606
SOLR-2542: Fixed DIH Context variables which were broken for all scopes other then SCOPE_ENTITY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231367 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 22:56:02 +00:00
Erick Erickson
2492bd2790
Fixing up where I messed up on previous checkin for SOLR-2906
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230790 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:18:50 +00:00
Robert Muir
cd372bdc83
LUCENE-3305: add Kuromoji Japanese morphological analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:10:48 +00:00
Erick Erickson
ec071905fb
Fixes for SOLR-2906. Many thanks to Shawn Heisey
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230745 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:07:03 +00:00
Erick Erickson
003ddcb809
Fix for SOLR-3022 (Plugin Loader doesn't log exceptions). See SOLR-2191 and SOLR-3032 as well.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:56:13 +00:00
Erick Erickson
7de1e259f1
Fix for SOLR-2987 (numeric keys in external file field stopped processing the rest of the file)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229783 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 22:51:17 +00:00
Chris M. Hostetter
ef4e44f30b
SOLR-3024: Fixed JSONTestUtil.matchObj to respect delta param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 20:34:09 +00:00
Koji Sekiguchi
6a085c2fa9
SOLR-3012: Move System.getProperty(type) in postData() to main()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229602 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 15:35:31 +00:00
Koji Sekiguchi
56a28c69f8
SOLR-2682: move the change note to correct place
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229409 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 22:52:30 +00:00
Michael McCandless
cdb2ee8a7b
LUCENE-3679: replace IR.getFieldNames with IR.getFieldInfos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 22:29:40 +00:00
Grant Ingersoll
e855df6879
add google analytics and privacy policy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 17:07:21 +00:00
Michael McCandless
ed9f0fd5ef
LUCENE-3668: if there's only 1 output for a synonym rule then set start/endOffset to match the full span of the input tokens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:26:15 +00:00
Erick Erickson
c957cbea88
Added notes for SOLR-1931, speeding up the LukeRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227934 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 02:15:26 +00:00
Erick Erickson
c0959adbfc
SOLR-1931, speeding up the LukeRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227924 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 01:25:12 +00:00
Chris M. Hostetter
5fc8181c59
SOLR-1843: moving changes entry for 3x backport
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227439 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 02:06:49 +00:00
Yonik Seeley
3fbe085a11
LUCENE-3667: re-enable replication test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227201 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 16:00:27 +00:00
Yonik Seeley
29fc70c15d
tests: fix prepareCommit test - optimize to ensure a single segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226198 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 22:33:47 +00:00
Yonik Seeley
c0600cc6dc
fix javadoc tag
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226000 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 00:50:52 +00:00
Yonik Seeley
52a47d09ba
SOLR-2992: Add support for IndexWriter.prepareCommit()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 22:41:50 +00:00
Robert Muir
f5d1e967db
LUCENE-3667: make tests reasonable if you dont have a supercomputer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Robert Muir
b2970db4bc
LUCENE-2906: filter to process output of Standard/ICUTokenizer and create overlapping bigrams for CJK
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225433 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 05:04:49 +00:00
Robert Muir
b685c0baaa
SOLR-2982: add CHANGES.txt entries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225231 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:55:15 +00:00
Robert Muir
f3869ef3ce
SOLR-2982: add Beider-Morse phonetic filter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225211 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:00:52 +00:00
Koji Sekiguchi
21822811a9
SOLR-2346: Add a chance to set content encoding explicitly via content type of stream.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:17:55 +00:00
Grant Ingersoll
6a6d33257e
SOLR-2977: add 'fake' excludes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222234 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:59:11 +00:00
Yonik Seeley
b323c54f6a
SOLR-2950: QEC comparator bug fixes, including deleted docs handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:05:52 +00:00
Grant Ingersoll
f42b2ffd63
SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Uwe Schindler
3ccd4f4e03
LUCENE-3653: Improve the sophisticated™ backwards layers (VirtualMethod) and instantiation cost in AttributeSource/AttributeFactory (new reflection cache using ConcurrentHashMap has lockless get)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220458 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:11:06 +00:00
Erick Erickson
1ff2096aef
Fixes for SOLR-2971, valType now optional for
...
ExternalFileFields and, if present, types float, pfloat, tfloat
all accepable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:53:36 +00:00
Erick Erickson
2208b499fa
Fix for SOLR-2975, fix tests that failed occasionally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215487 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 13:46:35 +00:00
Grant Ingersoll
39f7791817
SOLR-1520: support trie types, fix issues with failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215352 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 23:51:12 +00:00
Robert Muir
a55f511a77
LUCENE-3650: move o.a.l.index.codecs to o.a.l.codecs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215245 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:03:12 +00:00
Chris M. Hostetter
b3d2c99128
SOLR-2972: Fix JoinQParser so it doesn't force the 'lucene' parser to be used for the sub query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215001 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:25:13 +00:00
Chris M. Hostetter
4d75ef3d42
SOLR-1520: revert r1214937 as it breaks several tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214997 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:01:38 +00:00
Grant Ingersoll
fde5bdc871
SOLR-1520: support trie types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214937 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 19:55:51 +00:00
Uwe Schindler
51a8ec6037
LUCENE-3531: remove NOTICE.txt entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214555 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:44:36 +00:00
Chris M. Hostetter
03762c4be5
SOLR-2956: Fixed inconsistencies in the flags (and flag key) reported by the LukeRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214540 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:21:56 +00:00
Steven Rowe
60929a5adb
LUCENE-3645: Remove unnecessary array wrapping when calling varargs methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214413 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:15:47 +00:00
Uwe Schindler
a2d8c13021
LUCENE-3531: Fix cache lookup with a new WeakIdentityHashMap, also add ReaderClosedListeners.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214274 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 14:52:39 +00:00
Robert Muir
8d7749ea4f
LUCENE-3622: separate IndexDocValues interface from implementation (phase 1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:39:06 +00:00
Grant Ingersoll
9bc28fe55d
SOLR-1520: changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:24:26 +00:00
Robert Muir
eb173852ba
LUCENE-3622: merge trunk (1213324:1213812)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213825 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:23:22 +00:00
Grant Ingersoll
7efb166240
SOLR-1520: added tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213824 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:22:39 +00:00
Grant Ingersoll
d66ae61193
SOLR-1730: fix logging in exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:41 +00:00
Grant Ingersoll
7c0069cbb7
SOLR-1730: check the cause exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213704 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:30 +00:00
Chris M. Hostetter
4da73b1f9e
SOLR-2920: Refactor frequent conditional use of DefaultSolrParams and AppendedSolrParams into factory methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213474 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:31:51 +00:00
Robert Muir
701000cf27
LUCENE-3622: function DocValues -> FunctionValues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:33:26 +00:00
Robert Muir
3899e18ca3
LUCENE-3640: Remove IndexSearcher.close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Uwe Schindler
764059147f
LUCENE-3633: Remove code duplication in MultiReader and DirectoryReader; make everything finally final :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:00:13 +00:00
Yonik Seeley
fd468d4e6b
SOLR-2481: docs - move to 4.0 CHANGES section
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212735 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 05:38:01 +00:00
Yonik Seeley
55be28de90
SOLR-2481: Add support for commitWithin in DataImportHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212731 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 05:33:30 +00:00
Stanisław Osiński
cefa85954d
SOLR-2942: ClassCastException when passing non-textual field for clustering
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212495 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:04:58 +00:00
Stanisław Osiński
97777fc0ec
Adding newly supported fields to the list of fields to load.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212494 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:04:17 +00:00
Stanisław Osiński
011c812804
SOLR-2941: NullPointerException on clustering component initialization when schema does not have a unique key field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212493 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:03:42 +00:00
Stanisław Osiński
72637d6c1c
SOLR-2940: Passing values for custom Carrot2 fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212492 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:02:09 +00:00
Stanisław Osiński
4d56384744
SOLR-2939: Clustering of multilingual search results
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212490 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:00:40 +00:00
Stanisław Osiński
4004e2abee
SOLR-2938: Clustering on multiple fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212489 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 15:58:42 +00:00