Commit Graph

24454 Commits

Author SHA1 Message Date
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
Mike McCandless 41a336f1e5 add BinaryPoint.newSetQuery 2016-02-24 17:45:56 -05:00
Mike McCandless c056f4b388 improve tests; fix a couple nocommits 2016-02-24 16:59:01 -05:00
Mike McCandless ae70920378 add BigIntegerPoint.newSetQuery; fix Float/DoublePoint to encode/decode correctly 2016-02-24 16:39:13 -05:00
Mike McCandless 1c3d52d6b5 Merge branch 'master' into point_set_query 2016-02-24 15:38:40 -05:00
Mike McCandless 1fb9de8da5 add InetAddressPoint.newSetQuery 2016-02-24 15:38:22 -05:00
Mike McCandless dc95d5248a LUCENE-7047: improve Geo3DPoint, core XXXPoint.toString 2016-02-24 11:13:01 -05:00
Mike McCandless dfbcbf96cd Merge branch 'master' into point_set_query
Conflicts:
	lucene/sandbox/src/java/org/apache/lucene/document/LatLonPoint.java
2016-02-24 08:48:48 -05:00
Mike McCandless 30fcafdfd9 add newSetQuery to DoublePoint and FloatPoint 2016-02-24 08:48:10 -05:00
Robert Muir 77e62276f9 LUCENE-7046: Remove PointInRectQuery, instead using 2-D PointRangeQuery for LatLonPoint 2016-02-24 08:31:45 -05:00
Mike McCandless 8abd5a415b fix test bug: let BKD use enough heap in this test 2016-02-24 07:52:22 -05:00
Noble Paul 405e084a6c SOLR-7362: enabling more logs 2016-02-24 15:53:11 +05:30