Commit Graph

16614 Commits

Author SHA1 Message Date
Mark Robert Miller d44ef9b67f tests: split + improve a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447098 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:05:22 +00:00
Mark Robert Miller d3accc58e6 SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.
SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be  propagated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 22:13:35 +00:00
Mark Robert Miller d51e6f2c29 SOLR-4417: Reopen the IndexWriter on SolrCore reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 21:46:13 +00:00
Mark Robert Miller 608998e97c tests: setup to setUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447075 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:39:09 +00:00
Mark Robert Miller aee1929695 tests: fix compare bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447071 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:34:01 +00:00
Robert Muir 6fb178efe2 speed up newSearcher a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447040 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 16:42:36 +00:00
Robert Muir 32a43cd1ee LUCENE-4775: speed up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447034 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 16:00:44 +00:00
Steven Rowe 2c95e26af2 LUCENE-4570: Added ForbiddenAPI checks to the Maven build using the ForbiddenAPI Mojo; also removed redundant maven-surefire-plugin configurations in Solr modules' POMs after putting a shared configuration in the Solr parent POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446991 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 02:18:56 +00:00
Mark Robert Miller 534d8b170e tests: improve cm tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446981 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:22:57 +00:00
Uwe Schindler 2d60ca9bbd Update forbiddenapis to 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446961 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 22:11:55 +00:00
Mark Robert Miller 902e34af55 tests: improve some cloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Mark Robert Miller b6ca8acdaa SOLR-4467: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446929 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:57 +00:00
Mark Robert Miller b800d08400 SOLR-4467: Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446928 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:05 +00:00
Mark Robert Miller 7dd591ba5d tests: raise default so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446927 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:18:35 +00:00
Mark Robert Miller d540b8e122 SOLR-4421,SOLR-4165: Fix wait loop to sleep, reduce max wait time, wait min 1 second
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:17:43 +00:00
Adrien Grand e61398084d SOLR-3855: Doc values support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446922 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 18:50:20 +00:00
Mark Robert Miller 384d42b5e3 SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Mark Robert Miller 3a4103d19b SOLR-4459: The Replication 'index move' rather than copy optimization doesn't kick in when using NRTCachingDirectory or the rate limiting feature.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 01:27:57 +00:00
Robert Muir 1a12ff7b5c LUCENE-4779: replace old TestSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446777 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 21:19:11 +00:00
Robert Muir 3d0bd71f49 LUCENE-4779: add remaining tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446776 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 21:17:36 +00:00
Robert Muir af05ac30c4 LUCENE-4779: add missing values tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446762 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 20:58:54 +00:00
Robert Muir 2e40152c14 LUCENE-4779: add custom parser tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446741 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:40:37 +00:00
Mark Robert Miller a7630e88c2 LUCENE-4778: Add a getter for the delegate in RateLimitedDirectoryWrapper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446729 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:14:12 +00:00
Robert Muir 283f16686b LUCENE-4779: exercise all sorting collectors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446727 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:00:24 +00:00
Mark Robert Miller 2ab630b840 SOLR-4463: Fix SolrCoreState reference counting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446716 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:32:31 +00:00
Steven Rowe e0454efd7c SOLR-4462: downgraded Solrj httpcore dependency from 4.2.3 to 4.2.2, and added comments to solrj/ivy.xml describing versioning for httpcomponents httpmime and httpcore, based on httpclient version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446713 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:09:13 +00:00
David Wayne Smiley f46e33ede8 LUCENE-4770: Optional SpatialPrefixTree getNodes simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446452 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 06:02:27 +00:00
Mark Robert Miller c2166b9dfa spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446449 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:46:59 +00:00
Robert Muir ce81eb1c5c LUCENE-4779: add docvalues and reverse tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446440 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 03:30:22 +00:00
Robert Muir 5e688d6512 LUCENE-4779: factor out collector tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446430 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 02:31:15 +00:00
Robert Muir 21b4268c3c LUCENE-4779: more simple tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446427 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 02:14:55 +00:00
Robert Muir 873aca8ec9 LUCENE-4779: factor out testEmptyIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446257 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 16:13:05 +00:00
Robert Muir b17b827eca LUCENE-4779: pull out more standalone tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446226 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 15:07:45 +00:00
Robert Muir 4cca2b258d LUCENE-4779: pull out test completely unrelated to sorting into its own test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446213 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:46:15 +00:00
Robert Muir 157ba7389e LUCENE-4779: pull out a few good standalone tests from TestSort into TestSort2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446209 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:42:22 +00:00
Robert Muir 0160c32a73 LUCENE-4779: add replacement for TestSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446202 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:31:39 +00:00
Robert Muir 9797b73c48 don't assert in close(), check docCount in finish()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446144 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 12:34:54 +00:00
Adrien Grand ac51d4f1b0 Fix javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446087 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 09:51:36 +00:00
Michael McCandless 447e9fcfee LUCENE-4775: nuke SegmentInfo.sizeInBytes; fix OneMerge.totalBytesSize thread safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445978 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:19:08 +00:00
Chris M. Hostetter 9e767a667d SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Chris M. Hostetter f16037ec2d SOLR-4451: SolrJ, and SolrCloud internals, now use SystemDefaultHttpClient under the covers -- allowing many HTTP connection related properties to be controlled via 'standard' java system properties. (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445945 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 21:45:57 +00:00
Robert Muir dc7bec58b1 LUCENE-4776: also do not cache huge arrays for non-existent/unindexed: just return EMPTY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445897 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:19:33 +00:00
Robert Muir fd3244cfea LUCENE-4776: make insanity impossible if you index docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445776 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:59:03 +00:00
Steven Rowe e8cde1beb5 Add missing /project/build/resources/resource/ elements for src/resources/ in the facet and demo modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445380 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 21:16:26 +00:00
Shai Erera 3f8993715b rename FacetIndexingParams.ALL_PARENTS to DEFAULT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445341 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 20:30:06 +00:00
Michael McCandless 30e15a01c1 LUCENE-4764: add more-ram-consuming-but-faster DV format for facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445278 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:18:38 +00:00
Shai Erera 6c5b2f808e LUCENE-4769: Add a CountingFacetsAggregator which reads ordinals from a cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445234 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 16:20:43 +00:00
Shai Erera be177241c8 LUCENE-4772: Move Facet associations to new FacetsAggregator API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445108 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 11:39:23 +00:00
Robert Muir cebc72fbda remove bogus null check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445014 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 01:56:10 +00:00
Steven Rowe 99d5012dd8 LUCENE-3998: Maven configuration: no longer any need to add src/examples/ as a source path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445002 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 00:25:05 +00:00