Commit Graph

15867 Commits

Author SHA1 Message Date
Tommaso Teofili 7e7bfe1f4d [SOLR-3902] - minor fixes (imports / warnings)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421108 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:58:27 +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 59feed03d6 while waiting for solr, retry on exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421085 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 06:52:25 +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
Chris M. Hostetter 930354533e SOLR-4163: README improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421068 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 02:52:54 +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
Chris M. Hostetter 3dbffb580f SOLR-4102: Fix UI javascript error if canonical hostname can not be resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421049 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 00:06:11 +00:00
Uwe Schindler 5a34f6a5c9 TestSolrEntityProcessorEndToEnd: Fix getFile() again and fix possible bugs created by non-test-local target SOLR_HOME.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421045 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:50:50 +00:00
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