Christine Poerschke
6b6932e8e1
SOLR-8621: WrapperMergePolicyFactory logic tweaks
...
* fix so that getMergePolicy() can now be called more than once
* added WrapperMergePolicyFactoryTest.testUpgradeIndexMergePolicyFactory()
* account for overlap between wrapping and wrapped setters (and disallow it)
** illustration:
<mergePolicyFactory class="UpgradeMergePolicyFactory">
<int name="noCFSRatio">0.24</int>
<str name="wrapped.prefix">mergePolicy</str>
<str name="mergePolicy.class">TieredMergePolicyFactory</str>
<int name="mergePolicy.noCFSRatio">0.42</int>
</mergePolicyFactory>
** implementation details: the wrapping MP's setter calls the wrapped MP's setter and in the current code the wrapping MP's value prevails i.e. the 0.24 value in the illustration since the wrapped MP is constructed before the wrapping MP. an end-user however might reasonably assume that the wrapped MP's 0.42 value will prevail. at best configuring the same setter twice within the same overall <mergePolicyFactory> element is ambiguous and so the code now disallows it.
2016-02-10 22:24:15 +00:00
Christine Poerschke
588e3ff084
SOLR-8621: fix mergePolicyFacory vs. mergePolicyFactory typos in comments in solr/contrib and solr/example solrconfig.xml files.
2016-02-10 21:22:17 +00:00
markrmiller
a8bc427aac
SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we count on HttpClient or the JVM.
2016-02-10 15:32:56 -05:00
Christine Poerschke
5d32609cdc
SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor
2016-02-10 16:28:06 +00:00
markrmiller
8299b00868
SOLR-7281: Improve 'best effort', we don't want this best effort method to easily throw exceptions.
2016-02-10 10:27:43 -05:00
Shai Erera
a5accccbfc
SOLR-8621: fix solrconfig.xml under contrib and example
2016-02-10 16:33:01 +02:00
nknize
7d8f0127b7
LUCENE-6997: refactor GeoPointField and query classes from lucene.spatial to lucene.spatial.geopoint package
2016-02-09 21:51:48 -06:00
Noble Paul
b889109da1
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-02-09 15:08:56 -08:00
Noble Paul
2184a7baf6
SOLR-6594 Mark old schema APIs as deprecated
2016-02-09 15:08:41 -08:00
Mikhail Khludnev
93750292c2
SOLR-8466: fixing CHANGES.txt moving to 5.5.0 Features.
2016-02-10 01:21:18 +03:00
Mikhail Khludnev
eac3bb9b32
SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier.
2016-02-10 01:06:56 +03:00
nknize
a928e4b406
LUCENE-7019: add two-phase iteration to GeoPointTermQueryConstantScoreWrapper
2016-02-09 14:19:06 -06:00
Christine Poerschke
b47eeb2bb3
SOLR-8621: more <mergePolicy> vs. <mergePolicyFactory> test coverage
...
* added bad-mpf-solrconfig.xml as MergePolicyFactory equivalent of bad-mp-solrconfig.xml (with DummyMergePolicyFactory as equivalent to DummyMergePolicy)
* added solrconfig-logmergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-logmergepolicy.xml
* added solrconfig-mergepolicyfactory-nocfs.xml as MergePolicyFactory equivalent of solrconfig-mergepolicy-nocfs.xml
* added solrconfig-indexconfig-mergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-indexconfig.xml
* added solrconfig-warmer-randommergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-warmer.xml
2016-02-09 17:47:05 +00:00
Jan Høydahl
be807919b6
SOLR-3141: Warn in logs when expensive optimize calls are made
2016-02-09 15:37:25 +01:00
Christine Poerschke
e9c90037aa
SOLR-8621: TestMergePolicyConfig.testTieredMergePolicyConfig now randomly chooses between solrconfig-tieredmergepolicy.xml and solrconfig-tieredmergepolicyfactory.xml; solrconfig-tieredmergepolicyfactory.xml fix so that TestMergePolicyConfig.testTieredMergePolicyConfig passes.
2016-02-09 12:36:24 +00:00
Christine Poerschke
3603760954
SOLR-8621: solr/CHANGES.txt 'Upgrading from 5.4' section now also mentions <mergeFactor> and <maxMergeDocs> deprecation, also useCompoundFile attribute/element.
2016-02-09 10:54:52 +00:00
Uwe Schindler
864df89339
More incorrect usage of default Locale
2016-02-09 08:49:39 +01:00
Uwe Schindler
8dddd88d30
Fix more locale bugs in SQL handler ans streams
2016-02-09 08:32:48 +01:00
markrmiller
e78002bdc1
SOLR-7281: Add an overseer action to publish an entire node as 'down'.
2016-02-08 23:24:43 -05:00
Erick Erickson
1f66406cb3
Corrected CHANGES.txt entry for SOLR-2649
2016-02-08 19:50:28 -08:00
Erick Erickson
b5823b50db
SOLR-8658: Fix test failure introduced in SOLR-8651
2016-02-08 19:38:25 -08:00
markrmiller
899f1fcf74
SOLR-8551: Make collection deletion more robust.
2016-02-08 21:39:01 -05:00
markrmiller
ea21b8fae8
SOLR-8615: Just like creating cores, we should use multiple threads when closing cores.
2016-02-08 20:41:04 -05:00
jbernste
784124e100
SOLR-8660: JdbcTest test failure due to Locale specific issue when checking for LIMIT clause.
2016-02-08 18:20:07 -05:00
Shai Erera
71f4e01d9f
SOLR-8621: add missing package-info.java
2016-02-08 23:43:15 +02:00
Shai Erera
fe2cf25079
SOLR-8621: Fix SolrIndexConfig.toMap() to use mergePolicyFactoryInfo if present
2016-02-08 23:20:13 +02:00
anshum
03d7f80b27
SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API
2016-02-08 13:15:46 -08:00
Shai Erera
fc5b1ac279
SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory>
2016-02-08 22:41:51 +02:00
Mike McCandless
2cee9f1693
LUCENE-6835, LUCENE-6684: keep the 'suppress NSFE on windows' hack inside IFD as well
2016-02-08 13:54:05 -05:00
Adrien Grand
5e6f22b925
LUCENE-7002: Fixed MultiCollector to not throw a NPE if setScorer is called after one of the sub collectors is done collecting.
2016-02-08 16:41:42 +01:00
jbernste
23fe5f2dc5
SOLR-8655: DaemonStream should 'put' EOF Tuple on the blocking queue
2016-02-07 20:42:12 -05:00
Erick Erickson
7053a99f49
SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries
2016-02-07 17:08:20 -08:00
jbernste
a01c518b94
SOLR-8654: SQL: Unlimited SELECT without an ORDER BY should sort by _version_ desc
2016-02-07 18:17:21 -05:00
Erick Erickson
f77feb718a
SOLR-8642: SOLR allows creation of collections with invalid names
2016-02-07 14:52:40 -08:00
nknize
dac06176ec
re-enable random term encoding in TestGeoPointQuery
2016-02-07 14:50:26 -06:00
Mike McCandless
1d4d9c588c
LUCENE-6750: add verbosity when this test fails
2016-02-07 13:35:24 -05:00
Mike McCandless
f8bd22e58c
LUCENE-6835, LUCENE-6684: move the 'suppress NSFE on windows' hack down lower, out of IFD into FSDir; also fix IFD to remove segments files before others
2016-02-07 13:21:39 -05:00
Mike McCandless
e0ba1e5bff
move verbosity to the right place
2016-02-07 09:26:23 -05:00
Mike McCandless
8e8aa0869e
MDW's assertNoUnreferencedFilesOnClose should still run even if checkIndexOnClose is turned off
2016-02-07 09:19:57 -05:00
Mike McCandless
53597e8f8e
try to fix test bug, so that on Windows instead of relying on WindowsFS to prevent deletion of open files, we rely on the OS itself
2016-02-07 07:04:10 -05:00
Mike McCandless
2a7687641e
add verbosity for this test when it fails
2016-02-07 05:24:19 -05:00
jbernste
c2eb76941e
SOLR-8502: Improve Solr JDBC Driver to support SQL Clients like DBVisualizer
2016-02-06 21:49:39 -05:00
jbernste
3d47612b04
SOLR-8652: Lower case the limit clause
2016-02-06 21:42:01 -05:00
jbernste
75a81795b8
SOLR-8652: Check if second to last token is limit to test for limit clause
2016-02-06 21:25:05 -05:00
jbernste
ba20faa955
SOLR-8652: Implement Statement.setMaxRows()
2016-02-06 21:03:45 -05:00
jbernste
dc6b1a68d2
SOLR-8507, SOLR-8638: Add information about database product name, product version, driver name, and driver version. Implement ConnectionImpl setCatalog and setSchema.
2016-02-06 20:25:51 -05:00
Uwe Schindler
8231bf9cd4
Fix Jaspell license header to not mimic Javadocs (reduces warning)
2016-02-07 00:12:24 +01:00
Uwe Schindler
afe792b57a
Fix ICU-License header to not mimic Javadocs (reduces warning)
2016-02-07 00:08:49 +01:00
Erick Erickson
112a2311df
Put CHANGES entry for SOLR-8500 in the wrong section.
2016-02-06 08:46:51 -08:00
Erick Erickson
c04f0cb603
Merge remote-tracking branch 'origin/master'
2016-02-06 08:34:30 -08:00