Commit Graph

12430 Commits

Author SHA1 Message Date
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
Mark Robert Miller b64c42c533 cfg should be volatile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 05:09:02 +00:00
Robert Muir d4deb86459 SOLR-3142: don't auto-optimize in dataimports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291115 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 01:45:09 +00:00
Uwe Schindler 10a35f85e5 Remove volatile from IR.closed variable (its only used in already synchronized close() method)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291097 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 00:21:23 +00:00
Uwe Schindler 2d413e01b1 LUCENE-3800: For now disable wrapping by newSearcher for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291071 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 22:14:03 +00:00
Yonik Seeley ecc836d028 tests: improve SolrInputDocument.toString for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291066 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 21:39:37 +00:00
Robert Muir a519b630ee LUCENE-3714: add weighted FST suggester impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291020 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 16:23:05 +00:00
Yonik Seeley 2e07171d1f SOLR-3126: test changes to handle deletes surviving restart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291003 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 14:13:45 +00:00