Commit Graph

1458 Commits

Author SHA1 Message Date
Yonik Seeley 411bc6375c SOLR-3180: improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423275 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 05:27:14 +00:00
Mark Robert Miller e3647eaad4 raise test poll timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423244 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 01:20:56 +00:00
Mark Robert Miller 89a55d2e87 SOLR-4110: Configurable Content-Type headers for PHPResponseWriters and PHPSerializedResponseWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423121 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 20:26:39 +00:00
James Dyer 58416562b7 SOLR-4111: fix occasional failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423067 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 18:07:51 +00:00
Mark Robert Miller 6ebf9a5eb7 split out collection api tests and less atLeast usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423056 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 17:49:17 +00:00
Mark Robert Miller f2abb2184a raise test socket timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422786 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 08:13:27 +00:00
Mark Robert Miller f6f68c1e19 raise test socket timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422775 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 07:39:59 +00:00
Mark Robert Miller 0a73b63883 SOLR-4203: empty the tlog dir without instantiating an updatelog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422746 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 03:16:22 +00:00
Mark Robert Miller 099a5dcb78 raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 03:01:27 +00:00
Mark Robert Miller 6acc407fbb add remove to mock test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422742 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:52:57 +00:00
Mark Robert Miller b73fb7322e raise poll timeout to 45s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422737 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:09:07 +00:00
Mark Robert Miller 1491b57338 use poll rather than remove to avoid possible no element exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422735 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:02:09 +00:00
Mark Robert Miller f5b5d3e17f SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Mark Robert Miller 679dbf00b9 SOLR-4203: tweak how delete is handled so this test passes on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 16:08:36 +00:00
Erick Erickson 58a4155af9 Fix for SOLR-4201 (swappable cores should respect loadOnStartup)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422585 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 14:46:28 +00:00
Mark Robert Miller d26d4e05d3 SOLR-4203: don't clear the tlog when using ephemeral directory on core reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422468 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 06:14:58 +00:00
Mark Robert Miller 247858615d clear static fields in after class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422466 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 05:52:16 +00:00
Mark Robert Miller 4d32c5d6bc SOLR-4203: An ephemeral directory implementation should cause the transaction log to be ignored on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422399 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:58:01 +00:00
Mark Robert Miller 307ebd17cb SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Mark Robert Miller a6b2552873 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422384 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:16:57 +00:00
Mark Robert Miller 4714e250ea fix commented out debug code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422372 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:01:13 +00:00
Mark Robert Miller 181cad843a SOLR-4198: OverseerCollectionProcessor should implement ClosableThread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422371 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:59:10 +00:00
Uwe Schindler 6af24c8866 SOLR-4189: Fix hanging threads on FreeBSD in JettySolrRunner by making connector configureable through sysprop, listen only on 127.0.0.1 in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422127 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:19:58 +00:00
Mark Robert Miller 17569aa775 SOLR-4120: Collection API: Support for specifying a list of Solr addresses to spread a new collection across.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421999 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:53:43 +00:00
Mark Robert Miller 3ab1790be7 SOLR-4187: NPE on Directory release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421914 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:03:32 +00:00
Yonik Seeley 2d4615acdb SOLR-2592: test expected number of requests to servers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421644 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 02:51:21 +00:00
Mark Robert Miller 8295491e12 raise tests timeout to 30s from 15s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 00:22:22 +00:00
Mark Robert Miller 7486aad798 extra insurance that recovery has started or occurred in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421613 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 23:10:58 +00:00
Mark Robert Miller a3f456e378 use a temp dir for solrhome for this test - it makes a stopwords.bak file that can interfere with later tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421543 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:22:05 +00:00
Chris M. Hostetter 92176fce6e grouping tests of case where no docs match main query. written while trying to repro SOLR-4164, but something is still missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421505 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:38:52 +00:00
Chris M. Hostetter 902381a8ec SOLR-4150: tests for existing fix. includes workarround for SOLR-4181
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421451 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:50:41 +00:00
Mark Robert Miller 882c48c73b up commitWithin from 1 sec to 2 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421446 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:43:29 +00:00
Mark Robert Miller acf4f12fee SOLR-788: Distributed search support for MLT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421326 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:03:19 +00:00
Tommaso Teofili 2e2f1fd713 [SOLR-4150] - added null checks (with log warnings in case of null) to TopGroupsResultTransformer#transformToNative
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421164 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 09:24:29 +00:00
Mark Robert Miller 4fd821cdfa retry close on ThreadInterruptedException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421089 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:30 +00:00
Mark Robert Miller 02dfa0a4a8 we don't want to throw an exception on closed in release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421088 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:06 +00:00
Mark Robert Miller ce0cc401ff SOLR-4178: ReplicationHandler should abort any current pulls and wait for it's executor to stop during core close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421078 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 05:33:01 +00:00
Mark Robert Miller 38d16dc7b7 SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Mark Robert Miller 60c1022686 remove this - didn't help, not necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421061 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:36 +00:00
Mark Robert Miller 052a348d61 bump core reload test wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421060 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:14 +00:00
Mark Robert Miller f31359f5b4 change commitWithin for test to 2000 rather than 1000 - saw a fail where the commit happened faster than the 10 docs are added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420963 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:53:26 +00:00
Mark Robert Miller 63350f0a52 try a 300ms wait on startup to be sure our core(s) have loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420954 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:34:37 +00:00
Mark Robert Miller 02854d4054 SOLR-4171: add a new release(path) method that can be called after factory shutdown and have unload core use it to remove a directory after a core has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420911 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:49:00 +00:00
Mark Robert Miller c2516de262 SOLR-4171: CachingDirectoryFactory should not return any directories after it has been closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420779 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:43:03 +00:00
Mark Robert Miller 8472da6e82 SOLR-4161: add a little more protection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420500 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:38:14 +00:00
Chris M. Hostetter 50407282a7 Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Yonik Seeley 5b04be1195 SOLR-2592: avoid splitting composite router hash domains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420338 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:21:12 +00:00
Mark Robert Miller a81f749ee1 SOLR-4030: Allow rate limiting Directory IO based on the IO context.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420336 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:19:07 +00:00
Mark Robert Miller 52536c12a2 SOLR-4114: add back commented out test with 10 second wait, add Per's new test, add test to ensure no two cores use the same index directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420327 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:32:37 +00:00
Chris M. Hostetter 0b3a7900fc SOLR-4127: Added explicit error message if users attempt Atomic document updates with either updateLog or DistribUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420297 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:25:02 +00:00
Yonik Seeley c02c9dd262 SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Mark Robert Miller 932300fd3b SOLR-3911: fix properties file name misspelling and use constant for file name everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420231 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:43:12 +00:00
Shai Erera e2f54df3ca fix missing Overrides
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Shai Erera ea9bffece7 LUCENE-4605: Add FLAG_NONE to DocsEnum and DocsAndPositionsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419991 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 04:28:17 +00:00
Yonik Seeley edca562dad SOLR-4144: don't cache replicated index files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419980 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 02:58:08 +00:00
Mark Robert Miller f4371dcedf SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419959 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 01:06:59 +00:00
Mark Robert Miller 74b0f7bce3 SOLR-4071: Validate that name is pass to Collections API create, and behave the same way as on startup when collection.configName is not explicitly passed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419952 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:54:46 +00:00
Mark Robert Miller 4e439e791e SOLR-3948: Calculate/display deleted documents in admin interface.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419939 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:06:56 +00:00
Mark Robert Miller f79de4b70e SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419878 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:50:55 +00:00
Mark Robert Miller 89bddae466 SOLR-4028: When using ZK chroot, it would be nice if Solr would create the initial path when it doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419866 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:18:14 +00:00
Mark Robert Miller ef21415d6c SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419720 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:19:53 +00:00
Yonik Seeley 6f6211d310 SOLR-4118: Fix replicationFactor to align with industry usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Mark Robert Miller 81a14f54cd stop indexwriter waits on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419665 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 18:55:06 +00:00
Mark Robert Miller 8561fc877c whoops - this was supposed to be changed to 12000 rather than 120
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419191 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 03:21:30 +00:00
Yonik Seeley 4a8408ceea SOLR-2592: fix implicit router to return found slice, test querying via shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 16:54:01 +00:00
Mark Robert Miller ab00c42eff SOLR-4158: When a core is registering in ZooKeeper it may not wait long enough to find the leader due to how long the potential leader waits to see replicas.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:52:08 +00:00
Yonik Seeley 7eb16a69a5 SOLR-2592: deleteByQuery routing support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418814 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:09:24 +00:00
Mark Robert Miller 9075acd9be SOLR-4159: When we are starting a shard from rest, a potential leader should not consider it's last published state when deciding if it can be the new leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418790 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 00:16:17 +00:00
Mark Robert Miller 452a32f314 SOLR-3911: sync properties files after write so that they are written out before the directory is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418789 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 00:12:03 +00:00
Yonik Seeley 6a11fd8db6 SOLR-2592: realtime-get support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418762 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:00:15 +00:00
Mark Robert Miller dffe8d2877 SOLR-3911: write out replication stats through Directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418756 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 21:26:55 +00:00
Yonik Seeley 376cf5cd78 SOLR-2592: integration tests for routing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418755 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 21:16:57 +00:00
Mark Robert Miller 62552bd6a2 SOLR-4117: harden size of directory code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418725 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 18:14:10 +00:00
Mark Robert Miller 82d0ed529a SOLR-4033: Consistently use the solrconfig.xml lockType everywhere.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418712 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:16:04 +00:00
Yonik Seeley c82f4f61a6 SOLR-2592: fix composite id router for full-range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418337 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 14:47:34 +00:00
Yonik Seeley 49593470e3 remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418117 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 22:39:00 +00:00
Yonik Seeley c08e5eaf20 SOLR-2592: fix composite id router slice selection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418116 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 22:36:52 +00:00
Yonik Seeley 5cb909b11f SOLR-2592: fix shifting by 32 bits in compositeId router
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418100 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:51:32 +00:00
Yonik Seeley b81dc76340 SOLR-2592: add hash router tests, fix compositeId bit specification parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418093 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:32:17 +00:00
Yonik Seeley 2152cdf451 SOLR-2592: avoid distrib search if current core is active and hosting targeted shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418030 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 18:42:36 +00:00
Mark Robert Miller f13444989e try waiting up to 2 min rather than just 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417931 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 15:10:24 +00:00
Erick Erickson b85d07d0dd Attempt for fixing lazy core test failure. See SOLR-1028 and SOLR-4149
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417907 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:30:02 +00:00
Mark Robert Miller af20e0b5a6 SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417736 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 04:39:30 +00:00
Mark Robert Miller 6996e74dca SOLR-4062: The update log location in solrconfig.xml should default to ${solr.ulog.dir} rather than ${solr.data.dir:}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417702 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 00:10:19 +00:00
Mark Robert Miller efb8b8e62e remove nocommit in uncalled test method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417099 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:34:54 +00:00
Mark Robert Miller 9469102f30 SOLR-4114: Allow creating more than one shard per instance with the Collection API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417045 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 17:26:05 +00:00
Yonik Seeley e34b5ea98e SOLR-2592: delegate query-time shard selection to collection router
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 02:01:02 +00:00
Shai Erera afc68d0a52 LUCENE-4575: add IndexWriter.setCommitData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416361 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:21:49 +00:00
Yonik Seeley 91a788e871 SOLR-2592: refactor doc routers, use implicit router when implicity creating collection, use collection router to find correct shard when indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416216 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 18:00:11 +00:00
Mark Robert Miller 317931ee5f log less often than twice a second
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416058 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 21:51:20 +00:00
Yonik Seeley 1cee959d6b SOLR-2592: progress - introduce DocCollection, add properties for collections, add a router collection property, add some builtin routers, rename HashPartitioner to DocRouter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 17:13:26 +00:00
Chris M. Hostetter b229140e87 SOLR-2890: Fixed a bug that prevented omitNorms and omitTermFreqAndPositions options from being respected in some <fieldType/> declarations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1415817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 20:01:15 +00:00
Yonik Seeley 00b29b4298 SOLR-4121: fix single quoted token issue with solr qparser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414929 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 21:29:42 +00:00
Mark Robert Miller ad138e5219 SOLR-4119: Update Guava to 13.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414853 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:31:13 +00:00
Mark Robert Miller 672eeff8d2 SOLR-4087: Add MAX_DOC_FREQ option to MoreLikeThis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 17:53:06 +00:00
Mark Robert Miller 5543ee91ec SOLR-4117: Retrieving the size of the index may use the wrong index dir if you are replicating.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414773 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 15:54:11 +00:00
Mark Robert Miller 446080b6b5 SOLR-4055: clone params for create calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414744 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 15:08:47 +00:00
Mark Robert Miller 862335a772 SOLR-4032: Files larger than an internal buffer size fail to replicate.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:05:18 +00:00
Mark Robert Miller aa0958f735 only try and clear the tmp directory if it exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414238 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 16:00:15 +00:00
Chris M. Hostetter 309312aa7e SOLR-3960: Fixed a bug where Distributed Grouping ignored PostFilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413975 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 02:54:29 +00:00
Yonik Seeley eed8b5859e javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413052 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 20:46:07 +00:00
Yonik Seeley 2d4e789d00 SOLR-4093: solr specific parser + localParams syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413042 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 19:45:50 +00:00
James Dyer 3bb8a5e877 SOLR-4111: test fix for SpellCheckCollatorTest#testContextSensitiveCollate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413036 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 19:24:54 +00:00
Alan Woodward f40f9dd181 SOLR-4101: Add storeOffsetsWithPositions flag to SchemaField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412803 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:56:00 +00:00
Mark Robert Miller cb1a232def raise test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412182 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 16:36:14 +00:00
Mark Robert Miller 258baa7069 SOLR-4099: Allow the collection api work queue to make forward progress even when it's watcher is not fired for some reason.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412140 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 15:02:47 +00:00
Mark Robert Miller 105babd077 add logging around shard assignment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411801 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:04:17 +00:00
Mark Robert Miller 84cdc246f4 add to error msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411789 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 18:48:17 +00:00
Mark Robert Miller 399a2da4ee raise test zk session timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411768 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 17:58:56 +00:00
Mark Robert Miller 81c849c7e2 SOLR-4034: remove tabs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411541 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:27:37 +00:00
Mark Robert Miller 3005330649 SOLR-4034: Check if a collection already exists before trying to create a new one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411536 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:08:07 +00:00
Mark Robert Miller e4aa1e392a raise zk client timeout for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411523 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:25:42 +00:00
Chris M. Hostetter f0ee717c65 SOLR-3970: SystemInfoHandler now exposes more details about the JRE/VM/Java version in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411495 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 01:13:12 +00:00
Mark Robert Miller 9ad99fc073 raise the test zk client timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411486 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 00:30:33 +00:00
Mark Robert Miller e821c3ab6c SOLR-4088: Format code and remove tabs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411471 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 22:42:05 +00:00
Mark Robert Miller bdff3aa4a4 SOLR-4088: New and improved auto host detection strategy for SolrCloud.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 22:38:28 +00:00
Mark Robert Miller 1464045268 SOLR-4075: A logical shard that has had all of it's SolrCores unloaded should be removed from the cluster state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411450 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 22:06:16 +00:00
Mark Robert Miller c7fb9535ee raise wait timeout to a minute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411060 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 04:09:41 +00:00
Robert Muir 61851c0966 SOLR-3959: escape the internal comma separator of poly fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410917 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 16:29:02 +00:00
Robert Muir cb90f42bee SOLR-4084: add factory for FuzzySuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410908 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 15:50:01 +00:00
Yonik Seeley a7dfbe02f6 SOLR-4074: default ramBufferSizeMB to 100
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410593 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 22:03:41 +00:00
Yonik Seeley 54b8e81b1f QueryParsing.toString support for WrappedQuery, ExtendedQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1410115 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 23:56:02 +00:00
Yonik Seeley 102b0b8f61 SOLR-4076: fuzzy support for MultiTermAwareComponent in SolrQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1409517 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:58:12 +00:00
Mark Robert Miller 27181e53a0 * SOLR-4003: The SolrZKClient clean method should not try and clear zk paths that start with /zookeeper, as this can fail and stop the removal of further nodes. (Mark Miller)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408831 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:56:27 +00:00
Alan Woodward 492741333b SOLR-4022: Remove unintentional subliminal advertising from test schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408649 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 09:29:34 +00:00
Alan Woodward 0f57f8bdef SOLR-4022: Allow sorting on ExternalFileFields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408646 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 09:19:10 +00:00
Yonik Seeley ddb20fd43d SOLR-4036: field aliases in fl should not cause properties of target field to be used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408560 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 02:41:08 +00:00
Mark Robert Miller 6794693f30 SOLR-4064: When there is an unexpected exception while trying to run the new leader process, the SolrCore will not correctly rejoin the election.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:49:06 +00:00
Mark Robert Miller 3627b45e9c remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408336 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 16:01:16 +00:00
Mark Robert Miller f902314d74 SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Mark Robert Miller aaa329f061 SOLR-4055: Remove tabs and format to Lucene convention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408134 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 22:29:41 +00:00
Mark Robert Miller 99c4749d1a SOLR-4055: Fix a thread safety issue with the Collections API that could cause actions to be targeted at the wrong SolrCores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408125 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 21:54:04 +00:00
Mark Robert Miller 3c4c55aad1 SOLR-4063: remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408091 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 19:30:20 +00:00
Mark Robert Miller e92475e10e SOLR-4063: Allow CoreContainer to load multiple SolrCores in parallel rather than just serially.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 19:18:03 +00:00
Mark Robert Miller 9eb16eef21 SOLR-4060: ReplicationHandler can try and do a snappull and open a new IndexWriter after shutdown has already occurred, leaving an IndexWriter that is not closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1407817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 14:11:05 +00:00
Robert Muir 25eab66662 try to fix the worst of the class summaries so that the first sentence is parsed correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406454 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 04:29:25 +00:00
Robert Muir 857f32d508 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406444 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 04:07:59 +00:00
Robert Muir d93f599e32 SOLR-3589: Edismax parser does not honor mm parameter if analyzer splits a token
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406437 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 03:25:20 +00:00
Alan Woodward d370453c58 SOLR-1972: Ignore metrics threads in more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406075 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 09:05:53 +00:00
James Dyer f1a67f7cb0 SOLR-4019: Fix tests that are invalid due to logging change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405919 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 18:51:00 +00:00
James Dyer 5fb2789394 SOLR-4019: Ignore tests that are invalid due to logging change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405912 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 18:41:03 +00:00
James Dyer 3ea6657976 SOLR-4019: Log 503 stack traces unless from PingRequestHandler. Suppress logging some stack traces with ShowFileRequestHandler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:39:30 +00:00
Alan Woodward bebdb3707a LUCENE-4520: ValueSource.getSortField() shouldn't throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404523 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 09:53:34 +00:00
Alan Woodward cdbb28458e SOLR-1972: Ignore metrics threads in ResourceLoaderTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404047 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 09:14:39 +00:00
Erick Erickson 99a7dbb949 Fixed a test case that was broken in Java7 by SOLR-1028
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403936 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 23:54:25 +00:00
Alan Woodward 9af47143be Clean up after XMLUpdateRequestHandlerTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403803 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:50:19 +00:00
Robert Muir 87f549a1f8 LUCENE-4514: Make Scorer.freq() well defined: number of matches in doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403782 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:05:33 +00:00
Erick Erickson 472242dc8f fixes for SOLR-1028, support for rapid core opening and closing. Part of SOLR-1293
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403710 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 14:15:44 +00:00
Robert Muir 38bf19cdcf LUCENE-4514: make scorer.freq() well defined: number of matches in doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/cleanup2878@1403702 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:56:23 +00:00
Alan Woodward 03ed8213cb SOLR-1972: Add extra query stats to RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403555 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 22:13:03 +00:00