Robert Muir
c8624aac7d
fix compilation error with jdk 8u11
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664636 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 14:41:33 +00:00
Robert Muir
9229f419e2
LUCENE-6341: Add a -fast option to CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664633 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 14:37:44 +00:00
Ramkumar Aiyengar
ae7c10cb25
SOLR-6804: Add CHANGES.txt entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664482 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 20:55:44 +00:00
Robert Muir
bb5e6238db
LUCENE-6335: test fixes, and one real fix to synonymfilterfactory (missing analyzer.close)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664404 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 16:45:02 +00:00
Adrien Grand
800fcb8927
LUCENE-6333: Clean up overridden .equals and .hashCode methods in Query subclasses.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664384 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 16:01:58 +00:00
Alan Woodward
a43843701d
SOLR-7155: Add optional collection parameter to all SolrClient methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664310 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 11:29:24 +00:00
Alan Woodward
739e9b489d
SOLR-7179: Stop using sysprops to configure test jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Adrien Grand
a275ca2bb5
LUCENE-6338: s/skipTo/advance/ and removed duplicate assertion.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664279 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 08:54:37 +00:00
Ramkumar Aiyengar
de381d2816
SOLR-6804: Untangle SnapPuller and ReplicationHandler
...
This closes #110
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664126 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:45:09 +00:00
Noble Paul
82e72c8d19
SOLR-7126: Utility classes for Crypto
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664116 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:12:53 +00:00
Noble Paul
4becc8868c
SOLR-7126: adding crypto keys and test data
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664107 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 18:44:01 +00:00
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