Commit Graph

1838 Commits

Author SHA1 Message Date
Mark Robert Miller dd9ffb9bc5 SOLR-3911: Replicate after startup option would not replicate until the IndexWriter was lazily opened.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440508 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:29:05 +00:00
Chris M. Hostetter 4ec7239ce8 SOLR-3904: package.html for all packages in solr-core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440263 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 03:42:59 +00:00
Mark Robert Miller 529af9a0bb tests: remove these annoying svn sub properties from config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440069 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 19:23:45 +00:00
Robert Muir ad8934b205 clear up some nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439232 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 02:48:46 +00:00
Robert Muir a02bffb253 Merged /lucene/dev/trunk:r1438171-1439161
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439164 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 20:01:52 +00:00
Mark Robert Miller 5cb1a812f0 SOLR-4359: The RecentUpdates#update method should treat a problem reading the next record the same as a problem parsing the record - log the exception and break.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438655 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 19:17:31 +00:00
Mark Robert Miller 7d70f6190a SOLR-4043: Add ability to get success/failure responses from Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438550 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:14:51 +00:00
Yonik Seeley 533fd2eeba LUCENE-4690: Performance improvements and non-hashing versions of NumericUtils.*ToPrefixCoded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438242 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 22:41:59 +00:00
Robert Muir 9afeea3296 Merged /lucene/dev/trunk:r1437978-1438170
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1438183 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 20:51:17 +00:00
Mark Robert Miller e6dbf827db SOLR-4321: Collections API will sometimes use a node more than once, even when more unused nodes are available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438043 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 15:16:30 +00:00
Robert Muir fd6003fed3 Merged /lucene/dev/trunk:r1436566-1437977
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1437982 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 12:43:34 +00:00
Koji Sekiguchi ae76248870 SOLR-4330: group.sort is ignored when using group.truncate and ex/tag local params together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1436837 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 11:26:37 +00:00
Robert Muir 24d701180e 4.1 -> 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436544 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:45:43 +00:00
Michael McCandless c67ef8657f move the TermsEnum up from SortedDV
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436498 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 17:25:55 +00:00
Robert Muir 619d43122a Merged /lucene/dev/trunk:r1433031-1435376
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435384 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 22:38:56 +00:00
Robert Muir 69c6779625 fix naming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435177 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:09:50 +00:00
Tommaso Teofili 47a03b99b0 [SOLR-4315] - removed useless shardId param from doDefensiveChecks method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1435097 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 11:37:43 +00:00
Steven Rowe 70fd1bcb2b SOLR-4300: In TestLazyCores, convert static field into local variable to avoid post-test memory retention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433823 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 05:00:52 +00:00
Erick Erickson d234d7f650 Fix for SOLR-4300, possible race condition when loading lazy cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433778 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 00:48:09 +00:00
Robert Muir 8ef9811938 progress towards full cutover to 2.0 apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433646 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 21:00:39 +00:00
Robert Muir b6c9791358 Merged /lucene/dev/trunk:r1432062-1433030
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433035 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 18:54:22 +00:00
Shalin Shekhar Mangar 75b574abca SOLR-4016: Deduplication does not work with atomic/partial updates so disallow atomic update requests which change signature generating fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433013 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:59:32 +00:00
Mark Robert Miller 64dee0264b SOLR-4303: On replication, if the generation of the master is lower than the slave we need to force a full copy of the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432993 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:08:50 +00:00
Erik Hatcher 5d198628bb fix misspelling in warning output text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432936 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 14:57:05 +00:00
Shalin Shekhar Mangar 55484336a6 SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432901 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 12:44:45 +00:00
Erik Hatcher 3552167217 SOLR-4127: post.jar ignores -Dparams when -Durl is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432794 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 03:31:10 +00:00
Mark Robert Miller 708d5890c5 add collection core attribute to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432774 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 00:52:16 +00:00
Mark Robert Miller 7b24c2b602 add more core attributes to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432747 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 21:21:27 +00:00
Mark Robert Miller 7f2353defd SOLR-3911: pass a context flag so that impls can use different strategies for index directories vs meta data file directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:38:26 +00:00
Mark Robert Miller 83fe02894f SOLR-4291: Harden the Overseer work queue thread loop.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432256 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 20:04:44 +00:00
Robert Muir f7c90c50f3 Merged /lucene/dev/trunk:r1430124-1432061
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1432065 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 14:39:45 +00:00
Erik Hatcher 7f0c52b066 fix typos in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430798 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 11:38:08 +00:00
Erik Hatcher 27b84461c4 fix spelling in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430781 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 10:56:18 +00:00
Chris M. Hostetter 76f5a8bada SOLR-4208: ExtendedDismaxQParserPlugin has been refactored to make subclassing easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:33:19 +00:00
Uwe Schindler 9ee4b4d5fa SOLR-4283: Improvements for URL-Decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430396 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:22:14 +00:00
Mark Robert Miller 292a8d4c16 boost a timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430290 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 14:10:36 +00:00
Robert Muir 61e368a46f Merged /lucene/dev/trunk:r1419558-1430123
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1430130 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 03:40:16 +00:00
Chris M. Hostetter ffcaecb4d3 SOLR-4272: doc sample xml tweaks to reduce confusion if people cut/paste
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430116 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:37:01 +00:00
Mark Robert Miller bccdc6aeb5 SOLR-4170: The 'backup' ReplicationHandler command can sometimes use a stale index directory rather than the current one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430111 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:01:54 +00:00
Uwe Schindler 630409a316 SOLR-4265: Fix charset bug... :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429958 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:55:36 +00:00
Robert Muir 04c86005cc SOLR-4226: Extract fl parsing code out of ReturnFields constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429935 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:33:12 +00:00
Robert Muir 2d1c5560d5 LUCENE-4663: IndexSearcher.document should not be final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429927 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:03:54 +00:00
Shalin Shekhar Mangar c446098665 SOLR-4279: Wrong exception message if _version_ field is multivalued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429804 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:19:28 +00:00
Uwe Schindler cf8a0ca50b SOLR-4265: Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing (Tomcat)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429534 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 14:55:11 +00:00
David Wayne Smiley 9c5d4ff5cb SOLR-4255: add spatial filter=false local-param option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 06:01:58 +00:00
Uwe Schindler 643fab0b82 SOLR-4275: Fix test. Sorry, the Solr build system did not recognize the test change without ant clean!?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429419 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 23:03:51 +00:00
Robert Muir 64e18dc0f6 SOLR-4271: add support for PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429413 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:51:30 +00:00
Uwe Schindler 8e49b54fde SOLR-4275: Add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429410 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:44:18 +00:00
Uwe Schindler 981694a910 SOLR-4275: Fix TrieTokenizer to no longer throw StringIndexOutOfBoundsException in admin UI / AnalysisRequestHandler when you enter no number to tokenize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429401 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:19:14 +00:00
Yonik Seeley 38610f9b09 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429188 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:53:15 +00:00
Yonik Seeley 68f9994ae8 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429181 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:29:57 +00:00
Mark Robert Miller eeab864233 tests: update to not check cloud client fails = 0 for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429075 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:59:33 +00:00
Mark Robert Miller 3690e29cfb SOLR-3180: tests: timeouts from 30 sec to 60 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429027 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 18:44:08 +00:00
Mark Robert Miller 2389d5a354 fix reversed conn and so timeouts - currently used for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428963 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 16:40:52 +00:00
Yonik Seeley 7e57636e39 improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428695 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 01:15:17 +00:00
Yonik Seeley c7d8852051 SOLR-4257: PeerSync updates and Log Replay updates should not wait for ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428677 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 00:01:16 +00:00
Alan Woodward 84aa901490 SOLR-1972: Add extra query stats to RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428372 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 14:52:55 +00:00
Yonik Seeley 5c06a17708 tests: add test hook for SolrCmdDistributor error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428156 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 03:48:02 +00:00
Yonik Seeley b85bf15d38 tests: improve stack traces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428138 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 02:04:46 +00:00
David Wayne Smiley 35caf2c6bd SOLR-4230 geofilt and bbox support for Solr 4 spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428063 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 21:27:03 +00:00
Mark Robert Miller 463d10dc4a SOLR-4254: Harden the 'leader requests replica to recover' code path.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427872 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:23:56 +00:00
David Wayne Smiley f244940a4b SOLR-4231: AbstractSpatialFieldType extensibility, and throw 400 code for invalid shapes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427793 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 14:03:13 +00:00
Mark Robert Miller 768728834f SOLR-3180: update node props for retry node, not just url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427657 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 05:23:11 +00:00
Yonik Seeley 9fb47ac8ed tests: start ids higher so it's easier to find them in logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427620 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:33:56 +00:00
Mark Robert Miller 87a6af1acf tests: reenable assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427598 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 00:23:16 +00:00
Mark Robert Miller 0446589f43 tests: use fs factory for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427593 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:59:30 +00:00
Mark Robert Miller 0268e3807b tests: allow control of chaosmonkey nothing is safe test by sys prop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427591 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:39:19 +00:00
Mark Robert Miller 2df5efcbad SOLR-3180: remove bad method call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427589 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:22:21 +00:00
Robert Muir 14d08c75c0 SOLR-4251: commit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 13:31:02 +00:00
Mark Robert Miller 5feeb36d46 SOLR-788: set mlt.count back to 5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427218 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 18:42:14 +00:00
Mark Robert Miller ecb8438e4c SOLR-4124: persistence support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427213 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 18:26:36 +00:00
Yonik Seeley 9e82c2409d SOLR-4246: log forwarded updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427037 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 03:05:56 +00:00
Mark Robert Miller ffd693605a SOLR-4244: When coming back from session expiration we should not wait for the leader to see us in the down state if we are the node that must become the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426892 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 05:54:59 +00:00
Mark Robert Miller 88ce4ab029 check shutdown for early termination in 'wait for state'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426840 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 21:29:11 +00:00
Erick Erickson b6d4d6e907 Fix for SOLR-4229, changing "swappable" to "transient"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426826 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 20:30:42 +00:00
Mark Robert Miller cb8065c947 ease timings a bit for large clusters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426795 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:59:53 +00:00
Mark Robert Miller 5065cdebd3 bring back interruptions on executor shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426791 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:42:23 +00:00
Robert Muir f88d2ee6a7 SOLR-4175: add license headers and eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426614 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 20:12:18 +00:00
Erik Hatcher 11c4ce617c SOLR-4175: SearchComponent chain can't contain two components of the same class and use debugQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426569 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 16:29:37 +00:00
Shalin Shekhar Mangar e32fe689fa SOLR-4134 -- Use List as value type only when multiple values are present in atomic updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426537 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 15:03:43 +00:00
Yonik Seeley 2c51c55a28 tests: more cloud atomic update tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 01:19:29 +00:00
Mark Robert Miller 7e51f75561 SOLR-4114: tests: make happy with git - source attrib counts on svn substitution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426329 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 21:08:54 +00:00
Uwe Schindler ba52cd4e03 Revert SOLR-1972
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Mark Robert Miller 5772204892 tests: attempt to harden for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426002 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 19:52:34 +00:00
Robert Muir aa00eb2e70 SOLR-4088: when host is null, fall back to interface iteration (heuristic 2) if resolving the system hostname (heuristic 1) fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425971 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 17:18:46 +00:00
Robert Muir 0c86e24407 SOLR-4233: throw assumption for this test on OS X: it fails due to AWT engine startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425969 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 17:16:22 +00:00
Mark Robert Miller a3d1252e7d tests: parameterize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425815 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:39:12 +00:00
Mark Robert Miller 1652b2649f LUCENE-4638, SOLR-3180: revert for now (try using the IW's writeLock to unlock)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425574 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 02:10:25 +00:00
Mark Robert Miller dfb17d3cdc LUCENE-4638, SOLR-3180: try using the IW's writeLock to unlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425561 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 00:15:16 +00:00
Mark Robert Miller a0676b3b0b SOLR-3180: remove bad assumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425554 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 22:58:30 +00:00
Shai Erera d64cfed291 LUCENE-4639: improve _TestUtil.getTempDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425439 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 08:15:02 +00:00
Mark Robert Miller c8f34f9f78 SOLR-3180: wait for leader to see our recovering state before peer sync as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425342 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 21:06:04 +00:00
Mark Robert Miller 3340abc8dd attempt to close the indexwriter correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425306 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 16:46:10 +00:00
Chris M. Hostetter 9fd744d160 SOLR-3972: Fix ShowFileRequestHandler to not log a warning in the (expected) situation of a file not found.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425207 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 00:07:35 +00:00
Mark Robert Miller 1088f1a4d4 tests: attempt to harden more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425090 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 19:00:28 +00:00
Mark Robert Miller db517c4bb8 tests: more fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425004 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 16:27:40 +00:00
Mark Robert Miller 8c40304671 tests: boost timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:18:17 +00:00
Mark Robert Miller 1ec855c560 tests: wait longer for inconsistency if necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424943 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:05:53 +00:00
Shalin Shekhar Mangar f4547f6a3b SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424906 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:01:08 +00:00
Mark Robert Miller 4bd6402d16 raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 11:23:29 +00:00
Mark Robert Miller 2d3b44c0e7 save the original index dir path, don't try to get it from the directory - it may be too late
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424783 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 01:34:15 +00:00
Chris M. Hostetter d34e50995a SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using the root context, and harden generateNodeName to not trust the caller as far as leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424755 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:26:08 +00:00
Mark Robert Miller 7a354cb5d0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:41:36 +00:00
Mark Robert Miller 430b975221 clean up and expand distrib mlt tests - still ignored until I can test on freebsd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424555 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:04:23 +00:00
Yonik Seeley d475d822d0 tests: grouping doesn't guarantee order of top level group commands
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424516 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:17:48 +00:00
Mark Robert Miller 257219ca36 ignore distrib mlt test until its sorted out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424272 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 02:54:20 +00:00
Yonik Seeley 28f1884ab5 SOLR-4221: pick correct router for collection props
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424263 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 01:37:28 +00:00
Mark Robert Miller 8c91459f5b raise timeouts for wait to see state and get assigned shard id
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423993 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 18:12:36 +00:00
Yonik Seeley a9356fc3ea SOLR-4063: simplify core loading executor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423963 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:15:34 +00:00
Mark Robert Miller 0cc46b3cae attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:04:47 +00:00
Mark Robert Miller 6f875e270f attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423945 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:53:57 +00:00
Mark Robert Miller 232aaa42ed SOLR-4218: SolrTestCaseJ4 throws NPE when closing the core (on the afterClass method)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423932 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:41:18 +00:00
Mark Robert Miller 7a5097d8f6 try / catch around pre and post close listeners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423918 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:19:37 +00:00
Yonik Seeley ad7c665177 tests: start single jetty in cloud mode w/ manual shard assignment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423753 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:44:29 +00:00
Mark Robert Miller a8bc1ef02a don't interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423748 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:22:07 +00:00
Mark Robert Miller e40696cd81 SOLR-4213: Directories that are not shutdown until DirectoryFactory#close do not have close listeners called on them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423738 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 02:56:15 +00:00
Yonik Seeley 2b800b3c0e tests: don't start up default collection if numSlices<=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423729 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 01:00:58 +00:00
Mark Robert Miller 1389f64fbe SOLR-4203: whoops - fix npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:30:09 +00:00
Mark Robert Miller bef4454e2f SOLR-4203: dont check if ulog is set to delete tlogs files on startup - check if the tlog dir exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:00:15 +00:00
Yonik Seeley 5f502ec003 SOLR-3180: improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:30:39 +00:00
Mark Robert Miller 1255ff3338 test should retry on connectionloss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423534 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:09:34 +00:00
Mark Robert Miller 0a33ab46f7 better fail msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423532 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:06:10 +00:00
Mark Robert Miller 68637790e0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 16:11:18 +00:00
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
Robert Muir 15e2ecd241 merge trunk (1407149:1419557)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1419570 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:36:47 +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
Robert Muir 9f1bf61115 fix compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1416686 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 21:44:55 +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
Robert Muir c4a28360fc add per-field docvalues format. lucene41 (and maybe simpletext) are currently broken because they dont respect segment suffixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1415208 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 15:28:02 +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
Michael McCandless 30eda3c474 merge DocTermsIndex into SortedDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1413182 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 13:13:51 +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
Michael McCandless 041ff1140f make DV strongly typed; fix solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1412906 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 14:56:07 +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
Michael McCandless f9bfb920c6 pull from DV under FC.getXXX if possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1410878 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 12:00:04 +00:00
Michael McCandless 6735e95b1f fix compilation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1410865 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 10:46: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
Mark Robert Miller 7e65097905 raise test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403490 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:42:03 +00:00
Mark Robert Miller 6c5fb54052 SOLR-4009: OverseerCollectionProcessor is not resiliant to many error conditions and can stop running on errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403480 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:25:22 +00:00
Mark Robert Miller 9370f3584f SOLR-4005: If CoreContainer fails to register a created core, it should close it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403396 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:10:39 +00:00
Mark Robert Miller 7047994203 SOLR-4012 LeaderIntegrationTest sometimes hangs - ensure unique zk data dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403353 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 15:13:19 +00:00
Mark Robert Miller 72f44f7b16 lower this timeout to something more reasonable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402831 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 18:13:30 +00:00
Mark Robert Miller a00e1ab23d SOLR-4001: In CachingDirectoryFactory#close, if there are still refs for a Directory outstanding, we need to wait for them to be released before closing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402822 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 17:04:19 +00:00
Mark Robert Miller bc3f15a08b raise wait from 30 to 45 - my freebsd vm still trips 30 sometimes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402818 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 16:26:36 +00:00
Mark Robert Miller a61c23fb95 wait 30 seconds rather than 15 in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402813 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:54:23 +00:00
Yonik Seeley e4fc1282ab SOLR-3998: Atomic update on uniqueKey field itself causes duplicate document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402742 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 05:29:53 +00:00
Mark Robert Miller 42f27adc1a SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Alan Woodward 1be0d9bb68 SOLR-3985: Allow ExternalFileField caches to be reloaded on newSearcher/firstSearcher events
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402463 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 10:49:33 +00:00
Mark Robert Miller 80b39a3ba7 SOLR-3995: Recovery may never finish on SolrCore shutdown if the last reference to a SolrCore is closed by the recovery process
SOLR-3994:Create more extensive tests around unloading cores.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402393 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:18:51 +00:00
Yonik Seeley 78b1e07dc9 SOLR-3992: QuerySenderListener doesn't populate document cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402389 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:08:25 +00:00
Yonik Seeley a6ea83ac30 SOLR-3938: prepareCommit command omits commitData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402373 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 02:00:44 +00:00
Yonik Seeley 1a9d39470e spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 01:25:21 +00:00
Erick Erickson b8c727af8d Fix for SOLR-3984, unloading core with deleteInstanceDir not working unless path absolute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402254 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 18:25:43 +00:00
Robert Muir 9a1ef9299d fix a bunch of unbalanced tags (cannot yet commit checker, java6 makes all kinds of bogus html)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401963 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 03:11:40 +00:00
Robert Muir feddbabf80 fix and detect invalid html tags in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401947 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 01:57:46 +00:00
Chris M. Hostetter d4108c2b80 SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect field and document boosts
SOLR-3981: Fixed bug that resulted in document boosts being compounded in <copyField/> destination fields




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:22:23 +00:00
Mark Robert Miller e1b693ddb2 SOLR-3933: Distributed commits are not guaranteed to be ordered within a request.
SOLR-3939: An empty or just replicated index cannot become the leader of a shard after a leader goes down.
  
SOLR-3971: A collection that is created with numShards=1 turns into a numShards=2 collection after starting up a second core and not specifying numShards.

SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 17:52:15 +00:00
Robert Muir 017e6d8324 fix unclosed tag that makes the whole javadocs page have a huge font
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 16:52:18 +00:00
Michael McCandless 59fe6f6a21 throw IAE from suggesters that ignore onlyMorePopular arg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401024 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 19:23:18 +00:00
Robert Muir 49a4f8b07c SOLR-3906: add factory for AnalyzingSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1400565 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 03:31:29 +00:00
Alan Woodward 61d9cc7c99 LUCENE-4479: Fix highlighter on index w/ positions but no offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1400504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 19:36:02 +00:00
Chris M. Hostetter dd93b85321 SOLR-3961: Fixed error using LimitTokenCountFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399474 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 22:56:28 +00:00
Robert Muir d2be37f187 merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397893 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 16:54:02 +00:00
Robert Muir 2ea2adcf6b LUCENE-4446: wrap up cutover to blockpostingsformat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397858 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:27:24 +00:00
Mark Robert Miller 25afdaf65b SOLR-3941: The "commitOnLeader" part of distributed recovery can use openSearcher=false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397698 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:31:13 +00:00
Mark Robert Miller 28fe93b39b SOLR-3939: Consider a sync attempt from leader to replica that fails due to 404 a success.
SOLR-3940: Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397665 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 18:25:44 +00:00
Mark Robert Miller 1cadf9c5bb SOLR-3929: support configuring IndexWriter max thread count in solrconfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1397589 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:45:56 +00:00
Robert Muir b1a58d9a9c LUCENE-4446: cut over remaining tests etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4446@1397418 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 02:17:48 +00:00
Yonik Seeley 09a14bb6e3 SOLR-3897: return a snippet for every value when preserveMulti=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1396317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 21:03:28 +00:00
Chris M. Hostetter 06ab425ddc SOLR-3916: Fixed whitespace bug in parsing the fl param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394836 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 22:00:19 +00:00
Dawid Weiss 690a6a0e13 Clean up the executor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393954 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 08:28:23 +00:00
Yonik Seeley c98f935688 SOLR-3897: hl.preserveMulti to preserve all multiValued field values when highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:45:54 +00:00
Mark Robert Miller f89cc61c55 SOLR-3861: Refactor SolrCoreState so that it's managed by SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392360 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 14:42:44 +00:00
Mark Robert Miller 4265df1368 SOLR-3899: SolrCore should not log at warning level when the index directory changes - it's an info event.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391023 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 14:18:47 +00:00
Uwe Schindler 0d21b90097 SOLR-3895, SOLR-3614: Fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390991 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:15:24 +00:00
Uwe Schindler f230486ce6 SOLR-3895, SOLR-3614: XML and XSLT UpdateRequestHandler should not try to resolve external entities; fix XML parsing in XPathEntityProcessor to correctly expand named entities, but ignore external entities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390921 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 10:10:42 +00:00
Robert Muir 65d22acbbb LUCENE-4425: Unclear documentation of StoredFieldVisitor.binaryValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390683 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:16:37 +00:00
Mark Robert Miller 7fa1551efb SOLR-3883: Distributed indexing forwards non-applicable request params.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390272 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 03:51:41 +00:00
Robert Muir e222601b94 LUCENE-4425: respect offset/length for binary field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390261 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 02:36:34 +00:00
Uwe Schindler b36bfbf733 Delete also corresponding files, no more analyzer factories...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390251 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 01:11:52 +00:00
Mark Robert Miller d503f4a31f SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory from RAMDirectoryFactory and MockDirectoryFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 23:02:14 +00:00
Mark Robert Miller ea85a78ced SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390197 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:29:20 +00:00
David Wayne Smiley 15076ecf28 SOLR-2255 local-param support for pivot faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389680 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:56:33 +00:00
Jan Høydahl 11b4d43627 SOLR-3878: NPE in CurrencyValue.parse() while issuing wildcard range query on a CurrencyField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389659 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 00:03:27 +00:00
Chris M. Hostetter 3f35d9be82 SOLR-3875: Fixed index boosts on multi-valued fields when docBoost is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389628 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 22:19:43 +00:00
Mark Robert Miller 72f7c4f9dc SOLR-3871: SyncStrategy should use an executor for the threads it creates to request recoveries.
SOLR-3870: SyncStrategy should have a close so it can abort earlier on  shutdown. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 00:29:43 +00:00
Mark Robert Miller c656ba11bf SOLR-3869: A PeerSync attempt to it's replicas by a candidate leader should not fail on o.a.http.conn.ConnectTimeoutException.
Also turn on the use of jetty test mode with sys prop that was no longer being used - this improves the situation when we restart jetty. Both of these fixes should help our FreeBSD continuous build.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389160 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 22:58:40 +00:00
Robert Muir f025322f81 fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
David Wayne Smiley ec184ba906 Enhance documentation for spatial. Still need to properly document the Strategy subclasses thoroughly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388955 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 05:24:37 +00:00
David Wayne Smiley 5be591e97a LUCENE-4374 pointVector -> pointvector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388903 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:37:36 +00:00
David Wayne Smiley e9cffebf96 LUCENE-4374 Rename TwoDoubles to PointVector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388900 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:15:31 +00:00
David Wayne Smiley 255e8f1aa8 SOLR-3864 maxDetailDist -> maxDistErr and make units='degrees' mandatory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388864 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 18:27:44 +00:00
Sami Siren b8f9525142 do not write to test-files dir, use dirs that are less likely to collide for jettys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Robert Muir 2aa725773f SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +00:00
Uwe Schindler 7405b9772b SOLR-3733: First version of patch (without Robert's changes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Chris M. Hostetter 52d9fdb780 SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Robert Muir c529308734 fix javadocs bugs found by my IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +00:00
Chris M. Hostetter f5b5835dee SOLR-3087: Fixed DOMUtil so that code doing attribute validation will automaticly ignore nodes in the resserved "xml" prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387778 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 21:34:10 +00:00
Yonik Seeley 9be371a198 SOLR-3815: preserve shard properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
Adrien Grand 2c481a3c59 Fix typo in CopyField javadocs, thanks to Jack Krupansky for pointing it out.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387666 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 16:22:03 +00:00
Yonik Seeley 7ae776e2d1 SOLR-3815: fix overseer.setShardLeader to not modify existing state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +00:00
Grant Ingersoll 4577c1696c SOLR-3825: use unique key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387259 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 17:04:31 +00:00
Erick Erickson 580b53efdd Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Dawid Weiss fa9182cfb6 Clean up static fields after the suite is over. Cleaned up generics too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387044 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 08:30:56 +00:00
Chris M. Hostetter 562f150e17 SOLR-3519: verbose_option URL param in analysis UI, and updated tutorial links to use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386924 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 00:17:04 +00:00
Yonik Seeley 8c5fc86a38 SOLR-3815: change clusterstate structure to add properties to slices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson ded01621a4 Fix for LUCENE-4362, ban tabs-indent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +00:00
Robert Muir 310eb39792 LUCENE-3720: fix BeiderMorseFilter OOM issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386662 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 15:32:46 +00:00
Mark Robert Miller 4214846719 switch some of the localhost usage to 127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Grant Ingersoll b7297c7f8d SOLR-3825: added in optional logging of documents in a response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386613 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 13:46:59 +00:00
David Wayne Smiley e53321b1c6 commit after clear index in setUp()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386471 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 05:02:05 +00:00
David Wayne Smiley f2b73851a8 SOLR-3304 use Field as covariant return type from createFields() to ease merging to 4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386464 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:52:28 +00:00
David Wayne Smiley bf05f70a0b SOLR-3304 Solr adapters for the new Lucene 4 spatial module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386457 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:17:02 +00:00
Mark Robert Miller 5539754a7d add javadoc return statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385206 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 01:55:45 +00:00
Uwe Schindler 6b54b1a712 Fix violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 20:47:25 +00:00
Mark Robert Miller 95fea9de64 SOLR-3845: Rename numReplicas to replicationFactor in Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385154 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:59:16 +00:00
Mark Robert Miller 9a7f34fc24 SOLR-3749: Allow default UpdateLog syncLevel to be configured by solrconfig.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:47:35 +00:00
Mark Robert Miller f769169177 SOLR-3465: Replication causes two searcher warmups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385145 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:14:31 +00:00
Mark Robert Miller eb275c2b43 SOLR-3831: Atomic updates do not distribute correctly to other nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller d8385729c2 SOLR-3844: SolrCore reload can fail because it tries to remove the index write lock while already holding it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385135 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:37:15 +00:00
Michael McCandless 2cef8b7825 fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385049 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:28:18 +00:00
Mark Robert Miller 8ca9758dc4 if a task is rejected, decrement semaphore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385012 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 04:51:18 +00:00
Mark Robert Miller a215370b3a test fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385005 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 03:28:44 +00:00
Mark Robert Miller 1ff0eaec90 SOLR-3527: SolrCmdDistributor drops some of the important commit attributes (maxOptimizeSegments, softCommit, expungeDeletes) when sending a commit to replicas.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384964 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:56:47 +00:00
Yonik Seeley 3c95aa47d0 tlog: ensure tlog so corrupted that constructor can't complete is closed so windows can remove the file after
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384958 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:40:41 +00:00
Mark Robert Miller ff7c8d0217 SOLR-3641: CoreContainer is not persisting roles core attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384952 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:31:25 +00:00
Mark Robert Miller f0185fb9d5 SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.

SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.

SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.

SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
  
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.

SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
  
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.

SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
  
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter 609396c37d SOLR-3288: minor updates to the tutorial (mostly typo fixes) and improvements to the various README files in the example -- mostly related to SolrHome dir vs SolrCore instance dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384895 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 19:23:16 +00:00
Steven Rowe cf02188f2b LUCENE-4384: rat-sources should ignore IntelliJ IDEA module configuration files: *.iml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384608 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 00:28:43 +00:00
Chris M. Hostetter bf73201486 SOLR-3569: Fixed debug output on distributed requests when there are no results found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384597 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 23:22:13 +00:00
Chris M. Hostetter 5e1ed1e87a SOLR-3828: Fixed QueryElevationComponent so that using 'markExcludes' does not modify the result set or ranking of 'excluded' documents relative to not using elevation at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:17:24 +00:00
Yonik Seeley 9422634680 tests: disable new test method for now due to windows failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384522 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:59:12 +00:00
Chris M. Hostetter 4fdd830ffd SOLR-3809: Fixed config file replication when subdirectories are used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:48:43 +00:00
Yonik Seeley e494b8841b tests: try to prevent corrupt tlog test from failing other methods on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384420 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 17:36:51 +00:00
Yonik Seeley 0e33ea10fe tests: additional corrupt tlog test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384394 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 16:24:03 +00:00
Yonik Seeley 6104078c44 tests: additional corrupt tlog test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384358 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 15:05:56 +00:00
Robert Muir dc02cdd384 LUCENE-4355: improve AtomicReader sugar apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384274 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 11:21:03 +00:00
Robert Muir 1fe0640fcc fix broken javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383902 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:12:56 +00:00
Chris M. Hostetter e8c6d5b242 SOLR-3827: Fix shareSchema=true in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383735 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 02:03:45 +00:00
Chris M. Hostetter 64d204c04e SOLR-3823: Fix 'bq' parsing in edismax. Please note that this required reverting the negative boost support added by SOLR-3278
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383708 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 00:53:29 +00:00
Chris M. Hostetter 9561d856c5 SOLR-3087: CurrencyField now generates an appropriate error on schema init if it is configured as multiValued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383648 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 23:02:25 +00:00
Robert Muir 1517b16cf4 fix remaining broken html and turn on check in linter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 19:08:41 +00:00
Robert Muir fab19135fd fix some bad javadocs html, make AbstractPluginLoader actually readable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383034 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:48:08 +00:00
Chris M. Hostetter 8a8d38a852 fix un-closed html tags in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383011 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:05:13 +00:00
Steven Rowe d8b619181a Remove useless javadocs that trigger warnings and build failures for some people
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382976 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 16:37:44 +00:00
Yonik Seeley b34c9a9683 SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Robert Muir 9ff1c66154 LUCENE-4364: MMapDirectory makes too many maps for CFS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382224 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 02:41:57 +00:00
Chris M. Hostetter 76059449d1 SOLR-3518: Include final 'hits' in log information when aggregating a distibuted request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382209 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 23:45:37 +00:00
Chris M. Hostetter ee0bf2549b SOLR-3699: Fixed some Directory leaks when there were errors during SolrCore or SolrIndexWriter initialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382187 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 21:58:30 +00:00
Robert Muir c1a5bef466 remove unnecessary dependencies: these are in solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381837 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 01:12:14 +00:00
Robert Muir ddda1b6089 SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe d3383239f8 LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +00:00
Robert Muir cdeb0bf933 fix more broken unicode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381714 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 18:43:15 +00:00
Chris M. Hostetter 2a6f2c7cbb SOLR-3795: Fixed LukeRequestHandler response to correctly return field name strings in copyDests and copySources arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381685 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:22:48 +00:00
Stefan Matheis a778718872 SOLR-3679: admin ui shows error message if creating a new core fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381655 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 16:03:18 +00:00
Yonik Seeley 77d5fba68f SOLR-3793: use livedocs when caching big terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381568 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:11:41 +00:00
Adrien Grand 3f9aa4dcbb LUCENE-4340: Move bloom PF utilities to lucene/codecs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381504 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 08:02:36 +00:00