2189 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar
2bd6f246b0 SOLR-11126: New Node-level health check handler at /admin/info/healthcheck and /node/health paths that checks if the node is live, connected to zookeeper and not shutdown 2019-01-06 12:41:49 +05:30
David Smiley
6342ec699e SOLR-12633: remove anonChildDocs update parameter used in nested docs in JSON. 2019-01-03 10:58:59 -05:00
Gus Heck
752989fd74 SOLR-13086 improve error message in DocumentObjectBinder 2018-12-31 07:54:56 -05:00
Erick Erickson
24ae0d16cd SOLR-12028: Catching up with annotations after recent Solr test work 2018-12-27 18:03:50 -08:00
Joel Bernstein
d018cd18f4 SOLR-13088: Add zplot Stream Evaluator to plot math expressions in Apache Zeppelin 2018-12-27 14:42:27 -05:00
Jason Gerlowski
207b3f4453 SOLR-13045: Sim node versioning should start at 0
Prior to this commit, new ZK nodes being simulated by the sim framework
were started with a version of -1.  This causes problems, since -1 is
also coincidentally the flag value used to ignore optimistic concurrency
locking and force overwrite values.
2018-12-21 08:04:44 -05:00
Adrien Grand
785d02208a Remove duplicate package info. 2018-12-17 11:29:34 +01:00
Adrien Grand
6f08eee2fd Fix compilation. 2018-12-17 10:07:36 +01:00
Cao Manh Dat
f80e8e1167 Merge jira/http2 branch to master 2018-12-16 16:58:20 +00:00
Dawid Weiss
e916f1fb86 LUCENE-8611: Update randomizedtesting to 2.7.2, JUnit to 4.12, add hamcrest-core dependency. 2018-12-15 09:49:36 +01:00
Jan Høydahl
81dbad54e0 SOLR-12799: Allow Authentication Plugins to intercept internode requests on a per-request basis
Add 'forwardCredentials' parameter to BasicAuth which will then skip using PKI on sub requests
2018-12-13 10:51:56 +01:00
Joel Bernstein
7e4555a2fd SOLR-13057: Allow search, facet and timeseries Streaming Expressions to accept a comma delimited list of collections 2018-12-12 09:16:08 -05:00
Noble Paul
c651cbfd9a SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output 2018-12-11 18:35:57 +11:00
Jan Høydahl
b6cbb8494e SOLR-13014: URI Too Long with large streaming expressions in SolrJ 2018-12-10 18:22:52 +01:00
markrmiller
3eb2612e67 SOLR-12988: Disable SSL on Java 11/12 for now. 2018-12-09 18:31:28 -06:00
Joel Bernstein
17fca051c5 SOLR-13046: Suppress SSL for StreamingTest 2018-12-07 09:19:40 -05:00
Jason Gerlowski
a5fb6f8adc Add 'prelim_sort' helper to SolrJ's TermsFacetMap 2018-12-04 14:29:29 -05:00
markrmiller
33c40a8da4 SOLR-13027: Change retries to work across JVM impls properly by looking for an IOException. 2018-12-01 00:26:15 -06:00
markrmiller
d8f482f5fb SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito & HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better. 2018-12-01 00:26:02 -06:00
markrmiller
75b1831967 SOLR-12801: Make massive improvements to the tests.
SOLR-12804: Remove static modifier from Overseer queue access.

SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)

SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)

SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)

SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)

SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)

SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
Joel Bernstein
c2cac88770 SOLR-12984: The search Streaming Expression should properly support and push down paging when using the /select handler 2018-11-27 11:22:02 -05:00
Moshe
a346ba0d3c SOLR-5211: Always populate _root_ (if defined).
And, small refactor: Clarified how _version_ is transferred from root to children.
2018-11-25 21:47:49 -05:00
Noble Paul
492c3440de SOLR-13006: ZkNodeProps to be able to load from both javabin and JSON 2018-11-21 18:20:03 +11:00
Noble Paul
25bca6f165 SOLR-12992: When using binary format, ExportWriter to directly copy BytesRef instead of creating new String 2018-11-20 14:58:32 +11:00
Jason Gerlowski
d17c6d8897 SOLR-12981: Introduce SolrJ type for JSON facet response parsing
Recent JIRA's (SOLR-12947, SOLR-12965) have added support making it
easier to compose JSON query/faceting requests using SolrJ.  But neither
made parsing the responses to these queries any easier.

This commit introduces NestableJsonFacet (along with several companion
types) which are Java representations of the JSON faceting response.
They can be accessed via the new QueryResponse method:
`getJsonFacetingResponse()`.
2018-11-17 17:14:40 -05:00
Erick Erickson
763e64260f SOLR-12881: Remove unneeded import statements 2018-11-14 17:48:15 -08:00
Noble Paul
e81dd4e870 SOLR-12977: fixed bug 2018-11-13 00:10:04 +11:00
Noble Paul
cd1e829732 SOLR-12978: In autoscaling NPE thrown for nodes where value is absent 2018-11-12 18:53:16 +11:00
Noble Paul
605c3f6f1a SOLR-12977: Autoscaling tries to fetch metrics from dead nodes 2018-11-12 18:39:05 +11:00
Jason Gerlowski
52998fa50e SOLR-12965: Add facet support to JsonQueryRequest 2018-11-10 21:44:25 -05:00
Jason Gerlowski
4410ef941a SOLR-12947: Misc JsonQueryRequest code cleanup 2018-11-09 13:15:08 -05:00
Chris Hostetter
77a4bfaa90 SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap size due to unexpected attempts to sort/facet/function on non-docValue fields. 2018-11-09 08:30:04 -07:00
Jason Gerlowski
1b084db901 SOLR-12947: Add MapWriter compatibility to JsonQueryRequest
JsonQueryRequest had `setQuery` methods that took in a query either as a
String or as a Map.  But no such overload for MapWriter, a SolrJ
interface used to transmit Maps via "push writing" over the wire.  This
commit adds an overload taking this type, so that users can specify
their queries this way as well.

This commit also changes JsonQueryRequest writes out the request, to
ensure it uses "push writing" in non-MapWriter cases as well.
2018-11-07 21:40:06 -05:00
Joel Bernstein
2d0e565c62 SOLR-12975: Add ltrim and rtrim Stream Evaluators 2018-11-07 20:47:07 -05:00
Gus Heck
53482e510c SOLR-12938 - fix test case for handling of bogus collection names
that was failing when HttpClusterStateProvider is used instead of
ZkClusterStateProvider
2018-11-07 20:05:32 -05:00
Joel Bernstein
259925d12f SOLR-12795: Require bucketSorts 2018-11-07 08:58:57 -05:00
Joel Bernstein
80efc23999 SOLR-12971: Add pivot Stream Evaluator to pivot facet co-occurrence counts into a matrix 2018-11-07 08:14:17 -05:00
Joel Bernstein
b230543b47 SOLR-12795: Fix precommit 2018-11-06 11:53:00 -05:00
Joel Bernstein
3d94213110 SOLR-12795: Introduce 'rows' and 'offset' parameter in FacetStream 2018-11-06 11:23:40 -05:00
Jason Gerlowski
2d95b740db SOLR-12947: Add SolrJ helper for making JSON DSL requests
The JSON request API is great, but it's hard to use from SolrJ.  This
commit adds 'JsonQueryRequest', which makes it much easier to write
JSON API requests in SolrJ applications.
2018-11-06 07:34:53 -05:00
Noble Paul
08fcce4c98 SOLR-11997: Suggestions API/UI should show an entry where a violation could not be resolved 2018-11-06 22:27:26 +11:00
Gus Heck
45b772f4a9 SOLR-12938 - Cluster status now returns results for aliases instead of
throwing an exception
2018-11-04 12:01:51 -05:00
Noble Paul
eb359ca079 SOLR-12023: Autoscaling policy engine shuffles replicas needlessly 2018-11-04 19:23:56 +11:00
Andrzej Bialecki
3ed64375ef SOLR-12942: Add an option in IndexSizeTrigger to select the split shard method. 2018-10-31 18:47:34 +01:00
Joel Bernstein
856e28d8cf SOLR-11572: Add recip Stream Evaluator to support reciprocal transformations 2018-10-30 09:42:24 -04:00
Joel Bernstein
ac1925045d SOLR-12936: Allow percentiles Stream Evaluator to accept an array of percentiles to calculate 2018-10-29 16:29:04 -04:00
Joel Bernstein
e618e831d3 SOLR-12935: Suppress SSL for StreamExpressionTest and StreamDecoratorTest 2018-10-29 13:49:31 -04:00
Noble Paul
a298802516 SOLR-12868: test was making wrong assumption 2018-10-27 11:11:54 +11:00
Marvin Bredal Lillehaug
6c419454a2 SOLR-7557: Fix parsing of child documents using queryAndStreamResponse 2018-10-26 14:59:31 +02:00
Noble Paul
f33be7a172 SOLR-12868: Request forwarding for v2 API is broken 2018-10-26 12:50:45 +11:00