Commit Graph

12537 Commits

Author SHA1 Message Date
Robert Muir 460c345d94 improve assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292268 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:01:12 +00:00
Sami Siren 307cf98e1f print zk contents when failing to get leader url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292243 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:35:08 +00:00
Sami Siren 9e1e2d40a4 fix CoreAdminRequest so that it uses correct key for shard id, use same key for shard id in CoreAdminParams and ZkStateReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:14:06 +00:00
Robert Muir 5365c14656 don't wrap if fields is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:11:31 +00:00
Robert Muir a7a3d5497f enable tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 10:57:24 +00:00
Simon Willnauer 620622a70e LUCENE-3807: compare string with string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292228 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 10:39:39 +00:00
Mark Robert Miller 075b60307e protect access with sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292093 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 00:41:15 +00:00
Mark Robert Miller 2a13b648fa fix a concurrency issue around writing hashmap to json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292064 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:30:33 +00:00
Robert Muir 2e2d3dac91 pass wrap=false in queryutils temporarily, since we are causing insanity this way if the reader is already atomic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292063 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:29:03 +00:00
Robert Muir d462d03077 revert bogus fix, this is contained to QueryUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292061 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:22:36 +00:00
Mark Robert Miller 2296b6d6e3 remove sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:55:03 +00:00
Yonik Seeley f50e4dbf51 SOLR-3150: NPE when facetting using facet.prefix on an empty field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:52:54 +00:00
Robert Muir bde0264a26 don't wrap already-atomic readers in crazy hierarchies while Uwe is visiting relatives
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:44:16 +00:00
Simon Willnauer d3a7d32385 LUCENE-3815: fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:16:23 +00:00
Mark Robert Miller 273f5a8b93 fix and unignore test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291971 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:50:56 +00:00
Steven Rowe 2421399023 Test fix for DIH TestScriptTransformer: Lucene-Solr-Maven-trunk build#397 produced an exception with the message "<script> can be used only in java 6 or above Processing Document # 1", while the test was only ignoring those exceptions with the exact message "<script> can be used only in java 6 or above" - switched the test for this to require the expected message as a prefix rather than exact equality.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291958 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:05:31 +00:00
Uwe Schindler 208e9626d4 LUCENE-3736: Some more ParallelAtomicReader cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291889 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:17:13 +00:00
Robert Muir 9527a9e397 LUCENE-3813: improve testEmpty to also check that the iterator is exhausted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291883 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:58:12 +00:00
Yonik Seeley 7e6c8fa33b tests: more reorder testing in peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:07:39 +00:00
Robert Muir 9911c1de35 LUCENE-3807: fix missing null check in HighFrequencyDictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291826 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:56:42 +00:00
Uwe Schindler c8f0f52c81 Fix for some tests not liking non-atomic readers, sorry for noise.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291798 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:22:09 +00:00
Steven Rowe 5f7a9a7a47 LUCENE-3811: Maven configuration: remove unused benchmark dependencies, and remove them from <pluginManagement> in the grandparent POM in the two cases where no other module depends on them: commons-beanutils and commons-collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291795 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:19:11 +00:00
Uwe Schindler 5d07939d04 Fix some missing renames...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291773 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:33:11 +00:00
Uwe Schindler 252f9b729a Improve test coverage on IndexReaders by more fancy wrapping (completely random)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291772 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:29:23 +00:00
Robert Muir c3ae7604ce sometimes wrap with other crazy readers, not just slow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291756 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:03:49 +00:00
Uwe Schindler ef409e8018 LUCENE-3812: fix more wrapped-reader inconsistencies/bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291753 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:00:16 +00:00
Robert Muir 51388a2f9c LUCENE-3811: remove unused benchmark dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291728 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:11:04 +00:00
Robert Muir 20be846536 sometimes wrap readers with slow/parallel/etc in TestDuelingCodecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291718 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 11:34:49 +00:00
Robert Muir 546ec4b1be add fieldinfos check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291713 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 11:27:55 +00:00
Robert Muir 1f4a544b90 sanity check fieldsenum in CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:46:50 +00:00
Uwe Schindler 7c4c289b2e Fix another bug in ParallelAtomicReader: Term vectors method should return null if no term vectors are there.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291688 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:12:37 +00:00
Robert Muir 19c3b1220b don't add unindexed fields to fieldsenum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291679 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:01:15 +00:00
Mark Robert Miller ceb3ab3e1d need to figure out why this started failing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291597 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 05:08:20 +00:00
Mark Robert Miller bd31c935d1 say what state we found if we found one that is not ACTIVE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291586 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 04:01:56 +00:00
Mark Robert Miller 13956ea166 boost wait by 4 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 03:05:08 +00:00
Yonik Seeley d263c5c1ab log recoveringAfterStartup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291547 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 01:44:56 +00:00
Koji Sekiguchi 3ab34fc0d0 SOLR-2909: add support for ResourceLoaderAware tokenizerFactories in synonym filter factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291541 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 00:56:42 +00:00
Mark Robert Miller 314bce4f6e SOLR-3126: harden peer sync recovery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291530 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 23:58:49 +00:00
Simon Willnauer 70501dd845 LUCENE-3807: consume all terms from the enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291506 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 22:53:55 +00:00
Robert Muir 9d210b0c37 add test for suggester iterators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291502 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 22:51:34 +00:00
Steven Rowe cd298cefd5 Cleaned up svn:ignore values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291438 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:55:03 +00:00
Steven Rowe 3c36faa845 Cleaned up svn:ignore values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291434 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:33:45 +00:00
Simon Willnauer 7014621ef6 LUCENE-3807: increment buffer on overflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291430 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:25:00 +00:00
Simon Willnauer 1860439f15 LUCENE-3807: clean up TermFreqIterator API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291418 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 19:35:59 +00:00
Yonik Seeley 630addb415 SOLR-3126: get num versions from updatelog, fail sync if comm fail when retrieving updates, use starting versions if syncing aftger startup, only sync first time in recovery loop, more sync logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291350 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 16:31:18 +00:00
Robert Muir f1345de257 don't uppercase int to İNT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291343 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 16:17:17 +00:00
Robert Muir 5adeacf2aa SOLR-3143: add SuggestQueryConverter for autosuggesters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291322 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 15:48:38 +00:00
Robert Muir 9fd084ea1c LUCENE-3789: javadocs typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291320 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 15:45:11 +00:00
Simon Willnauer cbf8d55ecb LUCENE-3789: Expose MTQ TermsEnum via RewriteMethod for non package private access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 10:43:56 +00:00
Sami Siren 83f02d630b SOLR-3068: add check against nulls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 10:34:06 +00:00