Commit Graph

15756 Commits

Author SHA1 Message Date
Chris M. Hostetter 5992a831e4 SOLR-4136: fix hostContext randomization to never include double slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421034 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:02:20 +00:00
Uwe Schindler a162f36d04 Further simplify this test (see previous commit)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421031 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 22:38:56 +00:00
Uwe Schindler bcd26aca7a Rewrite TestSolrEntityProcessorEndToEnd.testFullImportWrongSolrUrl to use a non-blocking, non-blackhole remote address when testing unreachable remote Solr server to import from
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421026 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 22:22:05 +00:00
Adrien Grand 26244a9f5b TestCompressingStoredFieldsFormat.testDeletePartiallyWrittenFilesIfAbort: disable CFS in order to be able to check file names.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421003 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 21:55:48 +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
Robert Muir b12059d2b1 LUCENE-4617: willPackFST -> doPackFST
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420955 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:34:55 +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
Michael McCandless 078623d375 fix exc message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420952 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:29:59 +00:00
Robert Muir 97508e2a18 LUCENE-4617: remove fst.pack method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420951 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:28:51 +00:00
Chris M. Hostetter 01fee5dd1f LUCENE-4618: fix test to not be so lucky about avoiding failures when we actually want them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420941 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:03:51 +00:00
Uwe Schindler 4bb53decf0 Extra safety to cleanup working dir before Jenkins tests...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420915 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:54:33 +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
Uwe Schindler 9a74a588da Hopefully fix the forever hanging DIH test in Maven builds, because it depends on CWD, which is different on Maven builds...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:45:56 +00:00
Adrien Grand 8f54a18e1a LUCENE-4613: CompressingStoredFieldsFormat: fix .abort() when the segment suffix is not empty.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420907 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:40:58 +00:00
Steven Rowe b835a4a426 Maven configuration: Solrj: exclude unused netty dependency from zookeeper dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420786 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:49:43 +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
Michael McCandless e890c66c79 add simple TestDemoFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420713 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:49:20 +00:00
Uwe Schindler 94f5b3920d Hopefully fix the nightly Maven build:
- The artifact creation never "installed" the artifacts in the local repository, so the validate task depended on downloading them -> which was wrong.
- The jenkins-maven-nightly target now runs actually 2 builds: One that deploys to apache repo using ANT, installs locally and validates the artifacts with the locally installed versions; after that it runs the maven-based build with "mvn"

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420677 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 13:57:33 +00:00
Uwe Schindler dcf19ddc01 disable validation for now, it did not work when also deploying to apache snapshots. The previos version was wrong alltogether.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420629 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 11:54:51 +00:00
Uwe Schindler 6bf58dfba4 change order of jenkins-maven job
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420580 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 09:19:55 +00:00
Mark Robert Miller f78b7d2a1d SOLR-4168: 5x changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 01:49:25 +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
Michael McCandless 504d21f137 make package private to avoid access$N at runtime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420487 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 23:57:53 +00:00
Steven Rowe fd284bd6f1 jenkins-maven-nightly: deploy maven snapshots (via generate-maven-artifacts) before running tests under maven
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420421 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 21:23:32 +00:00
Mark Robert Miller e8d2289a3f SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420362 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:49:29 +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
Michael McCandless df52763f42 LUCENE-4290: be sure to throw exc if index didn't index offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420275 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 16:47:49 +00:00
Mark Robert Miller 0b7e234a69 SOLR-4124: change copyDirectory call to apache util
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420248 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 16:17:45 +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
Robert Muir f2d1557c5d LUCENE-4290: basic highlighter that uses postings offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420217 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:21:03 +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 4afe9c1ced LUCENE-4615: ReusingFacetArrays was left out by mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420162 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 13:53:40 +00:00
Shai Erera 7dd14db96b LUCENE-4615: do not reuse facet aggregation arrays by default; added ReusingFacetArrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420159 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 13:51:00 +00:00
Robert Muir 17f8b6cf36 LUCENE-4593: first step towards FST storage abstraction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420014 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 07:14:37 +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
Uwe Schindler 4e584a86a6 LUCENE-4614: Create dev-tools/eclipse/dot.classpath automatically
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419893 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:59:19 +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
Ryan McKinley 334e075ea9 LUCENE-3795: makeQuery should not require ConstantScoreQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419687 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:27:19 +00:00