Commit Graph

24465 Commits

Author SHA1 Message Date
Uwe Schindler 3c27980c4a LUCENE-7053: Simplify code to work around Java 8u25 compiler bug 2016-03-01 18:36:54 +01:00
Chris Hostetter ff6557cbcb SOLR-8738: Fixed false success response when invalid deleteByQuery requests intially hit non-leader cloud nodes 2016-03-01 10:02:07 -07:00
Mike McCandless 2a7314b599 make test less evil 2016-03-01 10:47:06 -05:00
Robert Muir 2264600ffe LUCENE-7057: cleanup some sandiness around LatLonPoint 2016-03-01 07:04:45 -05:00
Mike McCandless b6ec95961d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-03-01 05:01:41 -05:00
Mike McCandless 37cf22895f also test points in TestUtil.checkReader 2016-03-01 05:01:19 -05:00
Noble Paul e44eebf39d SOLR-8375: ReplicaAssigner rejects valid nodes 2016-03-01 10:49:47 +05:30
Noble Paul 79b62ee731 Merge remote-tracking branch 'origin/master' 2016-03-01 09:30:22 +05:30
Noble Paul 1734d03eb9 SOLR-8698: changes the example config to reflect the new behavior 2016-03-01 09:29:30 +05:30
Robert Muir 502b8800fc Fix tests to randomized BKD parameters in tests (like TestPointQueries does).
Otherwise, even things like range queries are not tested well unless tests use thousands of documents.
2016-02-29 20:29:51 -05:00
Robert Muir dc39fc3e5a LUCENE-7015: "fix" package-info/javadocs issues across duplicated packages. 2016-02-29 19:49:29 -05:00
nknize 89db4950b9 LUCENE-7015: Refactor spatial module to spatial-extras
Refactors non GeoPoint* classes from existing spatial module to a new spatial-extras module. dev-tools, build, and project files are updated to include new spatial-extras module.
2016-02-29 16:18:39 -06:00
Mark Miller a9aec24236 SOLR-8696: Straighten out calls to ZkStateReader#createClusterStateWatchersAndUpdate. 2016-02-29 13:09:09 -08:00
Mike McCandless 3cc8b6f8fd also test LatLonPoint.newDistanceQuery from TestLatLonPointQueries, and remove some test leniency 2016-02-29 15:45:09 -05:00
Alan Woodward 9a3458f693 SOLR-8758: Add SolrCloudTestCase base class 2016-02-29 18:44:27 +00:00
Tomás Fernández Löbbe a0e72f10a8 SOLR-8671: Added note about date stats 'sum' now using double in the upgrade section 2016-02-29 09:16:01 -08:00
Tomás Fernández Löbbe 20b7453cc8 SOLR-8713: new UI and example solrconfig files point to Reference Guide for Solr Query Syntax instead of the wiki.
This closes #12
2016-02-29 08:22:25 -08:00
Robert Muir 858a52b7c5 LUCENE-7051: remove another estimate match count optimization 2016-02-29 08:29:52 -05:00
Robert Muir 7385d3a4a1 LUCENE-7054: add newDistanceQuery to sandbox LatLonPoint 2016-02-29 07:38:40 -05:00
Adrien Grand 44324d3dfe LUCENE-7050: Cache TermsQuery and point queries more aggressively. 2016-02-29 11:02:57 +01:00
Adrien Grand 46d05afdae LUCENE-7051: Remove the "estimate match count" optimization from point queries. 2016-02-29 10:10:32 +01:00
Uwe Schindler 5f9db01833 LUCENE-6989: Also print missing permission if unmap hack does not work; rename method to make stack trace look nice while executing unmapping 2016-02-29 10:01:43 +01:00
Uwe Schindler 8ffa436f00 LUCENE-7053: Move comparator to better place in code; generalize to use CharSequence instead of String 2016-02-29 09:54:22 +01:00
Uwe Schindler f48d23cd14 LUCENE-7053: Remove custom comparators from BytesRef class and solely use natural byte[] comparator throughout codebase. It also replaces the natural comparator in ArrayUtil by Java 8's Comparator#naturalOrder(). 2016-02-29 09:25:55 +01:00
Tomás Fernández Löbbe ae4d77ae48 SOLR-8671: Date statistics: make "sum" a double instead of a long/date 2016-02-27 14:02:30 -08:00
Mike McCandless 126ac9a5fe BytesRefHash.sort always sorts in unicode order 2016-02-27 10:26:20 -05:00
Shalin Shekhar Mangar 70440bbbd2 SOLR-8752: Add change log entry 2016-02-27 18:11:33 +05:30
Alan Woodward 5c0240219a SOLR-8712: Variable solr.core.instanceDir was not being resolved 2016-02-27 10:03:01 +00:00
Shalin Shekhar Mangar 9c97f2f3d2 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 14:06:09 +05:30
Shalin Shekhar Mangar c59ca69ec0 SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool size is 100. The limit has now been increased to 100. 2016-02-27 14:05:07 +05:30
Shalin Shekhar Mangar 41eb5e8542 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 13:10:51 +05:30
Shalin Shekhar Mangar 06053fc01c SOLR-8752: Add a test for SizeLimitedDistributedMap and improve javadocs 2016-02-27 12:35:58 +05:30
Shalin Shekhar Mangar c2bc93822d SOLR-8697: Fix precommit failure 2016-02-27 12:19:50 +05:30
Mike McCandless e590ed67cf make PointInSetQuery abstract 2016-02-26 20:25:51 -05:00
Mike McCandless 9db0ddc22f detect when the visitor is being re-used e.g. by SlowCompositeReaderWrapper 2016-02-26 19:29:44 -05:00
markrmiller 54e7bb5f58 SOLR-8497: Only mark diectory as done if it was not previously in the cache. 2016-02-26 15:47:12 -05:00
markrmiller efb7bb171b SOLR-8697: Add synchronization around registering as leader and canceling. 2016-02-26 12:32:12 -05:00
Christine Poerschke 0ed625b107 SOLR-8734: fix (maxMergeDocs|mergeFactor) deprecation warnings: in solrconfig.xml <maxMergeDocs|mergeFactor> may not be combined with <mergePolicyFactory> and <maxMergeDocs|mergeFactor> on their own or combined with <mergePolicy> is a warning. 2016-02-26 15:51:46 +00:00
Adrien Grand 509c6a0acb LUCENE-6793: Make LegacyNumericRangeQuery and point queries less subject to hash collisions. 2016-02-26 16:47:11 +01:00
Noble Paul 6c0846107a SOLR-8726 : typo in file name 2016-02-26 15:43:51 +05:30
Mike McCandless 3c1b309d2d fix a few plases in CheckIndex to not try to call BytesRefBuilder.toString (it hits an UnsupportedOperationException) 2016-02-26 04:27:28 -05:00
Jan Høydahl 9bb9b7900f SOLR-8737: Managed synonym lists do not include the original term in the expand 2016-02-26 01:26:30 +01:00
Robert Muir d21fe2e34a Add missing bounds check to PointRangeQuery for inclusive arrays.
Otherwise you may or may not get a strange exception.
2016-02-25 14:03:55 -05:00
Mike McCandless b9d46e4fd6 LUCENE-7048: add changes entry 2016-02-25 13:11:14 -05:00
Mike McCandless 446ce8604e LUCENE-7048: add XXXPoint.newSetQuery to match documents with any values from the specified set (this is the analog of TermsQuery, for points)
Merge branch 'point_set_query'
2016-02-25 13:08:35 -05:00
Mike McCandless 7e1fbdf31a fix compilation errors 2016-02-25 05:51:18 -05:00
Mike McCandless a1f5269280 get multi-dim point-in-set testcase working; add explicit tests for 'no points queried' cases; fix last nocommits 2016-02-25 05:21:08 -05:00
Robert Muir e901c61973 javadocs 2016-02-25 04:34:59 -05:00
Gregory Chanan de119f0b5d SOLR-8735: Fix CheckHdfsIndexTest test failure 2016-02-25 00:18:22 -08:00
Tomas Fernandez Lobbe 730d10f145 SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00