Commit Graph

15365 Commits

Author SHA1 Message Date
Martijn van Groningen 2e103d3555 LUCENE-4513: Fixed that deleted nested docs are scored into the parent doc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404248 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 16:56:48 +00:00
Michael McCandless c898b44722 LUCENE-4521: make sure we commit new del file if tryDeleteDocument succeeds but IW has no other pending changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404229 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 16:22:53 +00:00
Adrien Grand 6c45b24b48 LUCENE-4512: Additional memory savings for CompressingStoredFieldsIndex.MEMORY_CHUNK.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404215 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:54:23 +00:00
Adrien Grand 4dc0972472 CompressingStoredFieldsFormat: s/uncompress/decompress/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404188 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:12:16 +00:00
Alan Woodward 85f92b37f3 SOLR-1972: Ignore metrics threads in JettyWebappTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:34:42 +00:00
Adrien Grand b607097f35 Document document size limit for CompressingStoredFieldsFormat.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404156 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:16:07 +00:00
Simon Willnauer d404fc7ad3 LUCENE-4511: TermsFilter might return wrong results if a field is not indexed or not present in the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404129 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 13:22:03 +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
Dawid Weiss 847bb71cdf SOLR-4007: Morfologik dictionaries not available in Solr field type
due to class loader lookup problems. (Lance Norskog, Dawid Weiss)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404042 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 09:04:04 +00:00
Dawid Weiss f8d37b166f Pass tests.timeoutSuite to junit4 if defined on command line or in user properties. This can be used to lower (or increase) the default timeout value. Example: -Dtests.timeoutSuite=5000! (5 seconds, note the exclamation mark -- this means to override the annotation defaults).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 08:40:30 +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
Tommaso Teofili 52ef9d2752 [LUCENE-4345] - adding kNN score as count / k but no need to retrieve it from the map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403799 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:42:37 +00:00
Tommaso Teofili 010c5f8d98 [LUCENE-4345] - adding kNN score as count / k for the most frequent class in results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:41:32 +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
Michael McCandless d8e44bd09d LUCENE-3846: add new FuzzySuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403779 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 16:47:17 +00:00
Michael McCandless 7f7a0058e2 LUCENE-3846: fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403757 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 16:02:13 +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 3e20ad3616 LUCENE-4514: fold abstract PhraseScorer into its only subclass: SloppyPhraseScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/cleanup2878@1403709 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 14:13:41 +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
Robert Muir 2850821052 throwaway branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/cleanup2878@1403701 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:55:22 +00:00
Alan Woodward 228ad7f439 SOLR-1972: Ignore metrics threads in SolrJ tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403667 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 11:19:32 +00:00
Alan Woodward 14f821624b SOLR-1972: Fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403641 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 09:01:14 +00:00
Adrien Grand 334a29ae9f SOLR-1972: Add metrics-core JAR to eclipse classpath.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403639 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 08:50:35 +00:00
Alan Woodward 465d54eb82 SOLR-1972: Add metrics-core sha1 and license files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403638 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 08:38:26 +00:00
Steven Rowe 4156f1daa2 SOLR-1972: Maven configuration: add metrics-core dependency to solr-core POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403610 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 03:45:02 +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
Michael McCandless aa3eba3c77 LUCENE-3846: add changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403418 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:49:19 +00:00
Michael McCandless b7f3311f8d LUCENE-3846: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403416 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:46:57 +00:00
Michael McCandless c9a38e3236 LUCENE-3846: remove allowSepEdit (it doesn't work); add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403413 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:43:03 +00:00
Michael McCandless bd8ef39a3b LUCENE-3846: put comment back
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403410 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 16:41:32 +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
Michael McCandless 961cf395a6 LUCENE-3846: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403336 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 14:55:01 +00:00
Michael McCandless 83c7b92925 LUCENE-3846: resolve nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3846@1403334 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 14:50:20 +00:00
Mark Robert Miller 3a71167078 when we timeout waiting for recoveries to finish, print the zk cluster state and current stack traces for all threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403131 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 00:00:15 +00:00
Alan Woodward dac9a06854 SOLR-4004: Improve Javadoc for SolrPing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403109 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 22:08:09 +00:00
Mark Robert Miller 2343f0d06a more informative error msg in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:04:23 +00:00
Mark Robert Miller 245133a3bd raise test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 16:13:30 +00:00
Adrien Grand 1192b1b08d LUCENE-4509: improve test coverage of CompressingStoredFieldsFormat.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403027 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 16:04:12 +00:00
Dawid Weiss e0e91d252f Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
hooks hanging forever by calling Runtime.halt() in addition to 
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +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
Michael McCandless 770b1e3dd2 use os.path.exists instead of os.access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402828 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 17:42:45 +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
Mark Robert Miller 5a6bb2b287 there should be a wait on this retry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402808 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:41:22 +00:00
Robert Muir 2cfc445f82 solr test failures unrelated to freebsd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 14:17:47 +00:00