Commit Graph

22016 Commits

Author SHA1 Message Date
Adrien Grand 5406a2ae14 Fix tests reproducibility.
Some tests instantiate an IndexSearcher in an @BeforeClass method. So we need
to reset the query cache in @BeforeClass too or they would use a shared cache.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664053 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 15:41:37 +00:00
Adrien Grand 4d6df6a480 LUCENE-6304: Add MatchNoDocsQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663899 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 09:23:48 +00:00
Noble Paul c1c593a0ad SOLR-7174: DIH should reset TikaEntityProcessor so that it is capable of re-use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663857 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 05:09:29 +00:00
Ramkumar Aiyengar b29aef7954 SOLR-6275: Improve accuracy of QTime reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663829 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 23:24:50 +00:00
Yonik Seeley 8d6657a246 tests: fix double close of request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663821 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 22:49:22 +00:00
Adrien Grand 3d6de9371d LUCENE-6329: Calling score() should be ok even if needsScores is false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663756 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 17:58:22 +00:00
Uwe Schindler 0689a2e0e0 Fix intro text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663747 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 17:08:49 +00:00
Uwe Schindler 237d0fb86c SOLR-7184: Update Jetty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663736 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 16:33:58 +00:00
Noble Paul 2576931e6a SolrResourceLoader.assertAwareCompatibility() could be static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663701 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 13:24:49 +00:00
Adrien Grand 1d56eb2a98 Add an evil random test to the query cache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 08:05:02 +00:00
Erick Erickson 3ae3d32bcb SOLR-6657: DocumentDictionaryFactory requires weightField to be mandatory, but it shouldn't
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663525 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 04:53:41 +00:00
Robert Muir 1510f69303 LUCENE-6320: speed up checkindex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663505 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 01:18:33 +00:00
Robert Muir 99fd468624 fix unbearably slow ivy-settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663496 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 00:56:26 +00:00
Michael McCandless 3099bbc0b4 4.10.4 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663492 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 00:33:05 +00:00
Dawid Weiss c3fd88d10f LUCENE-6238: minimize tests.policy (upgrade of randomizedtesting, system properties are read-only).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663431 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:55:14 +00:00
Dawid Weiss 332c478c62 Merge with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663427 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:45:39 +00:00
Dawid Weiss dd4ed7ac3f Adding eol-style on added files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663423 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:38:46 +00:00
Chris M. Hostetter 821ab8b0d9 SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Michael McCandless 1212333ad1 LUCENE-6307: rename confusing docCount -> maxDoc in several places
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663371 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 17:24:47 +00:00
Adrien Grand 40bbcfee0f Fix TestConstantScoreQuery too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663329 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 15:32:05 +00:00
Adrien Grand f3edb95218 Use the same index reader to create the weight and the scorers.
Otherwise there might be class cast exceptions because of incompatible TermState impls.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663328 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 15:26:26 +00:00
Dawid Weiss 7f0d8c1f24 Merge with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663307 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 13:56:48 +00:00
Robert Muir e4f06aba2d LUCENE-6318: re-use immutable maps across fieldinfos when they are the same
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663299 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 13:28:12 +00:00
Michael McCandless da8fe452fd simple code cleanups to FST: consistently use 'static final' not 'final static', and move static members up top
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663200 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 07:55:24 +00:00
Adrien Grand 578c4f9f8f Fix integer overflow in TestTimSorter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663199 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 07:45:38 +00:00
Michael McCandless 959dfcb7de fix buggy 'advance called before nextDoc' case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663186 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 00:32:27 +00:00
Robert Muir a9915c6616 LUCENE-6317: Fix readStringStringMap API, reduce memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663157 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:30:49 +00:00
Dawid Weiss 9166c19888 A branch for LUCENE-6238
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663156 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:25:41 +00:00
Adrien Grand 4f3d2aeae5 LUCENE-6303: Make tests reproducible again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663106 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:59:10 +00:00
Robert Muir b985737d1f LUCENE-6314: BooleanQuery toString() is wrong for FILTER clauses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663102 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:52:28 +00:00
Robert Muir f64e74c0c7 LUCENE-6310: FilterScorer supports two-phase always, adds two-phase support to some long-tail scorers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663095 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:24:59 +00:00
Robert Muir cd66868e93 simplify test to be debuggable when it doesnt get expected exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662976 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:46:09 +00:00
Michael McCandless f4011cfc51 LUCENE-6311: make sure IndexInput.toString confesses when it's within a compound file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662967 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:16:46 +00:00
Robert Muir 99a16fc2dc LUCENE-6309: disable coord when scores are not needed, or the scoring fn does not use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662964 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 16:43:54 +00:00
Michael McCandless f5e8447d8c make SimpleText's checkIntegrity more robust so it's not fooled if you index the string END
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662948 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 15:26:35 +00:00
Shalin Shekhar Mangar eb8079c050 SOLR-7178: OverseerAutoReplicaFailoverThread compares Integer objects using ==
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662935 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:28:18 +00:00
Adrien Grand 68f87360dd LUCENE-6303: Do not cache filters twice in SolrIndexSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662914 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 10:29:23 +00:00
Adrien Grand cf39112477 LUCENE-6303: Fix 'access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.net.www.protocol.file")' error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662829 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 22:05:03 +00:00
Adrien Grand e4d88cab5c LUCENE-6303: CachingWrapperFilter -> CachingWrapperQuery, FilterCache -> QueryCache and added caching to IndexSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 18:09:01 +00:00
Adrien Grand 60ecddfb9e LUCENE-6294: Generalize how IndexSearcher parallelizes collection execution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662751 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 17:03:37 +00:00
Michael McCandless 5f45083f67 LUCENE-6001: null check was backwards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662733 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 15:57:06 +00:00
Shalin Shekhar Mangar 3cf40619ca SOLR-7128: Make sure fields aren't duplicated in shard requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662729 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 15:50:07 +00:00
Adrien Grand 544f5bf1e7 LUCENE-6300: Remove multi-term filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662682 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:12:02 +00:00
Michael McCandless e98b031bda LUCENE-6001: DrillSideways hits NullPointerException for some BooleanQuery searches
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662681 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:02:47 +00:00
Noble Paul 0a169719c7 SOLR-7168: Test failure :Could not remove the files in windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662677 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 13:05:04 +00:00
Alan Woodward 60d117b7cb SOLR-7151: CHANGES.txt attribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662671 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:18:44 +00:00
Alan Woodward d7eefdd7a7 SOLR-7151: SolrClient query methods throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Noble Paul 6c84653e08 remove the hack to get the DIH handler name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662663 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 11:42:22 +00:00
Michael McCandless 62130ae70c LUCENE-6299: IndexWriter was failing to enforce the 2.1 billion doc limit in one index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662571 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 21:23:53 +00:00
Robert Muir ec843c6e0a LUCENE-6298: SimpleQueryParser returns empty query rather than null for empty query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662564 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 20:50:13 +00:00