30869 Commits

Author SHA1 Message Date
Andrzej Bialecki
8c70811f3a SOLR-12729: Unlock the shard on error. 2018-10-22 11:28:09 +02:00
Noble Paul
5de6332209 SOLR-12892: MapWriter to use CharSequence instead of String 2018-10-22 11:14:41 +11:00
Tommaso Teofili
a7c9c9d8ce SOLR-12879 - MinHash query parser 2018-10-20 08:28:02 +02:00
Jim Ferenczi
e1da5f9537 LUCENE-8531: QueryBuilder#analyzeGraphPhrase now creates one phrase query per finite strings in the graph if the slop is greater than 0.
Span queries cannot be used in this case because they don't handle slop the same way than phrase queries.
2018-10-19 20:45:16 +02:00
Andrew Lundgren
1a8188d92b SOLR-10981: Support for stream.url or stream.file pointing to gzipped data 2018-10-18 19:53:21 -04:00
David Smiley
fd9164801e LUCENE-7875: Moved MultiFields static methods to MultiTerms, FieldInfos and MultiBits.
MultiBits is now public and has getLiveDocs.
2018-10-18 19:49:14 -04:00
Nicholas Knize
ed8a395948 LUCENE-8521: Change LatLonShape encoding to use selective indexing
This improvement changes LatLonShape encoding to 7 dimensions instead of 6. The first 4 are index dimensions defining the bounding box of the Triangle and the remaining 3 data dimensions define the vertices of the triangle.
2018-10-18 13:30:18 -05:00
Jim Ferenczi
947f82679a LUCENE-8507: TopFieldCollector can now update the minimum competitive score if the primary sort is by relevancy and the total hit count is not required. 2018-10-18 19:25:34 +02:00
Jan Høydahl
a3fc31e5d2 Remove unnecessary XML exclusions as Jetty handles these by default (janhoy) 2018-10-18 16:38:52 +02:00
Simon Willnauer
5a4fd86cce LUCENE-8535: Drop out of the box Block-Join highlight support
Highlighter doesn't support ToParent and ToChildBlockJoinQuery out of the
box anymore. In oder to highlight on Block-Join Queries a custom WeightedSpanTermExtractor
should be used.
2018-10-18 14:53:01 +02:00
Uwe Schindler
167c65afad LUCENE-8533: Fix Javadocs of DataInput#readVInt(): Negative numbers are supported, but should be avoided. 2018-10-18 12:36:16 +02:00
Jason Gerlowski
e6f6f352cf SOLR-12856: Small improvements to SolrJ javadocs 2018-10-17 19:10:56 -04:00
Uwe Schindler
4b2136eb3c SOLR-12874: Java 9+ GC Logging filesize parameter should use a unit
(merge branch 'java9plus_gc_logging_filesize' of https://github.com/tpunder/lucene-solr); this closes #470
2018-10-17 23:24:51 +02:00
Erick Erickson
fc886497de SOLR-12423: Upgrade to Tika 1.19.1 when available. Fixes #468 2018-10-17 13:06:09 -04:00
Simon Willnauer
11a1b8c1a8 LUCENE-6572: Remove dependency on analyzer-common from highlighing
This makes a simplifed copy of LimitTokenOffsetFilter to the highlighting
module to detach the dependency on analyzer-common.
2018-10-17 11:46:56 +02:00
Noble Paul
635d1ea535 SOLR-12740: fixed doc asciidoc errors 2018-10-17 12:16:17 +11:00
Christine Poerschke
d2f7272b0e SOLR-12877: avoid NPE in TestUtilizeNode.getReplicaList 2018-10-16 12:54:00 -04:00
Christine Poerschke
15002eba2f SOLR-12877: avoid NPE in TestTlogReplica.testRealTimeGet 2018-10-16 12:52:51 -04:00
Christine Poerschke
95af8d6ac2 SOLR-12876: remove @BadApple from ShardParamsTest.testGetShardsTolerantAsBool 2018-10-16 10:52:51 -04:00
Christine Poerschke
7fa19d2676 SOLR-12876: upon failure report exception message in ShardParamsTest.testGetShardsTolerantAsBool 2018-10-16 10:52:11 -04:00
Noble Paul
761f8aaf79 SOLR-12740: adding a link 2018-10-17 00:22:54 +11:00
Noble Paul
f1a30bfb00 SOLR-12792: extract test data into separate files in autoscaling tests 2018-10-16 19:11:08 +11:00
Shalin Shekhar Mangar
aa0a5289e6 SOLR-12739: Clear all collections in TestCollectionStateWatchers setup so that the collections created by test methods are spread evenly in the cluster. 2018-10-16 12:14:22 +05:30
Noble Paul
8d3810df54 SOLR-12740: migration docs 2018-10-16 17:38:51 +11:00
Noble Paul
9c7b8564d8 SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation 2018-10-16 16:56:51 +11:00
David Smiley
306065fca8 LUCENE-12357: Update ref guide notes 2018-10-15 23:38:09 -04:00
Tim Underwood
5202a713ba Java 9+ GC Logging filesize parameter should be 20M instead of 20000
JEP 158 (https://openjdk.java.net/jeps/158) says the filesize parameter is the “file size in kb” however that appears to not be the case since when it is set to a value of 20000 you end up with GC logs that are only 20000 bytes in length.  Setting the value to 20M produces the desired result of GC log files that are 20MB in size.
2018-10-15 12:52:40 -07:00
Joel Bernstein
73a413cd85 SOLR-12862: Fix TestLang 2018-10-15 15:47:03 -04:00
Joel Bernstein
6c0fbe5a9d SOLR-12862: Add log10 Stream Evaluator and allow the pow Stream Evaluator to accept a vector of exponents 2018-10-15 15:47:03 -04:00
Christine Poerschke
1ccd555862 Fix couple of typos. 2018-10-15 15:08:17 -04:00
Dawid Weiss
d7fd82c0f8 LUCENE-8528: we can't have random outputs on input in a test with fixed assertions (test bug). 2018-10-15 13:53:08 +02:00
iverase
a312c0db05 Add entry in CHANGES.txt 2018-10-15 09:00:09 +02:00
iverase
a5665d8ae7 LUCENE-8522: throw InvalidShapeException when constructing a polygon
and all points are coplanar.
2018-10-15 08:51:34 +02:00
Erick Erickson
6c5df58b5a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-10-14 21:13:33 -04:00
Alan Woodward
e14bacfac4 LUCENE-8523: Fix javadocs in JapaneseNumberFilterFactory 2018-10-14 15:18:14 +01:00
Jason Gerlowski
6d1b2e2f38 SOLR-8808: Add null/empty check to SolrClient.deleteByIds 2018-10-13 22:15:36 -04:00
Christine Poerschke
9c8ffabfe3 SOLR-12780: Add support for Leaky ReLU and TanH activations in contrib/ltr NeuralNetworkModel class.
(Kamuela Lau, Christine Poerschke)
2018-10-12 17:08:35 +01:00
Jason Gerlowski
42ac07d11b SOLR-12565: Add SolrJ snippet to 'Using ZooKeeper to manage config' ref-guide page 2018-10-11 14:30:43 -04:00
Joel Bernstein
d48f22c1ad SOLR-12851: Update CHANGES.txt 2018-10-11 11:19:57 -04:00
Joel Bernstein
a0bb501772 SOLR-12851: Improvements and fixes to let and select Streaming Expressions 2018-10-11 10:43:57 -04:00
Jim Ferenczi
c87778c504 LUCENE-8526: Add javadocs in CJKBigramFilter explaining the behavior of the StandardTokenizer on Hangul syllables. 2018-10-11 13:49:14 +01:00
Shalin Shekhar Mangar
971a0e3f4a SOLR-12739: Use legacy assignment in AutoAddReplicasPlanActionTest 2018-10-11 08:58:47 +05:30
Jan Høydahl
80011d669a SOLR-12620: Remove the Admin UI Cloud -> Graph (Radial) view 2018-10-10 21:54:34 +02:00
Nicholas Knize
4cfa876d9d LUCENE-8496: Fix BKDWriter to use writeField1Dim when numDataDims is set to 1 2018-10-10 09:35:19 -05:00
Shalin Shekhar Mangar
095707d547 SOLR-12739: Remove unused import 2018-10-10 18:18:29 +05:30
Shalin Shekhar Mangar
50d1c7b481 SOLR-12739: Release the policy session as soon as we're done with the computation.
This fixes the CollectionsAPIDistributedZkTest.testCoresAreDistributedAcrossNodes test failures. Due to the various tests for exceptional conditions, there were times where the session was not released causing stale data to remain in the policy session cache.
2018-10-10 17:12:50 +05:30
Shalin Shekhar Mangar
940a7303ee SOLR-12739: Use cluster instead of collection as the key for using legacy assignment. 2018-10-10 16:19:17 +05:30
Shalin Shekhar Mangar
9f34a7c776 SOLR-12739: Fix failures in AutoAddReplicasIntegrationTest and its sub-class.
This test too makes assumptions about how replicas are placed. In the legacy assignment strategy, the replica of a given collection are spread equally across all nodes but with the new policy based strategy, all cores across collections are spread out. Therefore the assumptions in this test were wrong. I've changed this test to use the legacy assignment policy because testing the autoAddReplicas feature doesn't have to depend on new replica assignment strategies. This change also fixes a bug in Assign which used "collection" key instead of "cluster" to figure out which strategy to use.
2018-10-10 15:38:52 +05:30
Shalin Shekhar Mangar
a66a7f3197 SOLR-12739: Fix CloudSolrClientTest.testNonRetryableRequests failures.
The testNonRetryableRequests test makes an assumption that a collection's replicas are equally distributed among all nodes but with the policy engine it is not true. Instead the policy engine spreads out the cores belonging to all collections equally among all nodes. This is fixed by only creating the collection needed by tests in this class just-in-time.
2018-10-10 13:12:26 +05:30
Noble Paul
3629e76011 SOLR-12843: precommit errors 2018-10-10 15:38:20 +11:00