Commit Graph

1312 Commits

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