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
Christine Poerschke
c277674f0e
SOLR-12873: Replace few remaining occurrences of LUCENE_CURRENT with LATEST for luceneMatchVersion.
2018-10-24 19:28:12 +01:00
David Smiley
3e89b7a771
SOLR-12754: New hl.weightMatches for UnifiedHighlighter WEIGHT_MATCHES
...
(defaults to true in master/8)
2018-10-23 13:28:10 -04:00
noble
576d28f643
SOLR-11522: Moved the _get methods to a separate interafce and keep MapWriter clean
2018-10-23 12:35:23 +11:00
Anshum Gupta
d799fd53c7
SOLR-5004: Allow a shard to be split into 'n' sub-shards using the collections API
2018-10-22 15:01:24 -07:00
Joel Bernstein
fcaea07f3c
SOLR-12829: Add plist (parallel list) Streaming Expression
2018-10-22 15:20:13 -04:00
Noble Paul
c31a95d261
SOLR-12846: Added support for "host" variable in autoscaling policy rules
2018-10-23 00:03:59 +11:00
Noble Paul
5de6332209
SOLR-12892: MapWriter to use CharSequence instead of String
2018-10-22 11:14:41 +11: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
Jason Gerlowski
e6f6f352cf
SOLR-12856: Small improvements to SolrJ javadocs
2018-10-17 19:10:56 -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
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
9c7b8564d8
SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation
2018-10-16 16:56:51 +11: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
Erick Erickson
6c5df58b5a
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-10-14 21:13:33 -04:00
Jason Gerlowski
6d1b2e2f38
SOLR-8808: Add null/empty check to SolrClient.deleteByIds
2018-10-13 22:15:36 -04: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
a0bb501772
SOLR-12851: Improvements and fixes to let and select Streaming Expressions
2018-10-11 10:43:57 -04:00
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