Commit Graph

31047 Commits

Author SHA1 Message Date
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
Jim Ferenczi dc2c7784e6 Fix legacy.TestNumericRangeQuery to count the number of hits accurately 2018-11-17 21:20:27 +01:00
Christophe Bismuth db9542526e LUCENE-8552: Optimize getMergedFieldInfos for zero or one segment 2018-11-16 16:45:09 -05:00
Christophe Bismuth cd61a926fb LUCENE-8463: TopFieldCollector can now early-terminates queries when sorting by SortField.DOC.
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-11-16 19:13:29 +01:00
Christophe Bismuth b4449c73e4 LUCENE-8464: ConstantScoreScorer now implements setMinCompetitveScore in order to early terminate the iterator if the minimum score is greater than the constant score.
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-11-16 15:14:11 +01:00
Adrien Grand 5aa6782d87 LUCENE-8508: IndexWriter can set the created version major. 2018-11-16 14:24:34 +01:00
Adrien Grand 3302ed2ac6 LUCENE-8470: Remove legacy doc values APIs from lucene/core. 2018-11-16 14:24:34 +01:00
Adrien Grand 57334721f0 Remove extra colons. 2018-11-16 11:14:18 +01:00
Christophe Bismuth 116cc28fa4 LUCENE-8026: ExitableDirectoryReader does not instrument points
Closes #497

Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-11-16 10:32:20 +01:00
Cassandra Targett df5540acc9 SOLR-12497: Add documentation for Hadoop credential provider-based keystore/truststore 2018-11-15 00:35:25 -06:00
Erick Erickson 763e64260f SOLR-12881: Remove unneeded import statements 2018-11-14 17:48:15 -08:00
Cassandra Targett 95d01c6583 SOLR-12927: fix ByteBuffersDirectoryFactory name 2018-11-13 08:37:10 -06:00
Cassandra Targett c80726d968 SOLR-12913: small grammatical fixes 2018-11-13 08:03:29 -06:00
Cassandra Targett 92c83264c8 SOLR-12927: copy edits (i.e., e.g., capitalized titles, etc.) 2018-11-12 20:02:30 -06:00
Cassandra Targett 8791a38d75 SOLR-12927: Add upgrade notes for Solr 7.6 2018-11-12 20:02:30 -06:00
Noble Paul e81dd4e870 SOLR-12977: fixed bug 2018-11-13 00:10:04 +11:00
Cao Manh Dat f357c06276 SOLR-12969: Inconsistency with leader when PeerSync return ALREADY_IN_SYNC 2018-11-12 10:10:22 +00: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 e6e6ad2c83 SOLR-12977: Autoscaling tries to fetch metrics from dead nodes 2018-11-12 18:44:26 +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
Dawid Weiss 4e2481b04b LUCENE-8560: TestByteBuffersDirectory.testSeekPastEOF() failures with ByteArrayIndexInput. ByteArrayIndexInput removed entirely, without a replacement. 2018-11-10 16:54:28 +01:00
Cao Manh Dat 397b88aefa SOLR-12313: No need to wait for in-sync with leader in RecoveryAfterSoftCommitTest since we only care about recovery 2018-11-10 06:01:19 +00:00
Uwe Schindler 42ee96642c fix merge relict 2018-11-09 23:58:01 +01:00
Uwe Schindler efd3f17f9a LUCENE-8537: ant test command fails under lucene/tools 2018-11-09 23:53:14 +01:00
Nicholas Knize 6d9c714052 Add 7.7.0 version 2018-11-09 15:20:33 -06:00
David Smiley 0330372f04 SOLR-12759: fix regexp (case insensitive) 2018-11-09 15:58:40 -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
iverase 74e3ff509e LUCENE-8556: Use latitude and longitude instead of encoding values to check if triangle is ear when using morton optimisation 2018-11-09 07:22:10 +01:00
Tim Underwood fbb987282e SOLR-12880: Show the FacetProcessor class name instead of the
FacetRequest in the JSON Facets debug-trace output
2018-11-08 23:32:26 -05:00
Joel Bernstein 780305cf44 SOLR-12913: Fix typo in User Guide 2018-11-08 20:06:05 -05:00
Nicholas Knize dc6019c54e fix LatLonShapeBoundingBoxQuery to not round min Y above max Y value 2018-11-08 16:34:54 -06:00
Cassandra Targett 73005d482d Ref Guide: fix pages missing header license info 2018-11-08 15:02:33 -06:00
Joel Bernstein 01397c1b88 SOLR-12913: Add ltrim and rtrim to the Math Expressions User Guide 2018-11-08 15:29:15 -05:00
Tim Underwood 243a8a668a SOLR-12964: Use DocValuesIterator.advanceExact() instead of the advance()/docID() pattern 2018-11-08 14:34:17 -05: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 65dc312daf SOLR-12975: Update CHANGES.txt 2018-11-07 21:03:01 -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
Simon Willnauer 4794a1617c LUCENE-8558: add changes entry 2018-11-07 22:16:47 +01:00
Joel Bernstein 9594ee38bb SOLR-12913: grammer fix 2018-11-07 15:29:13 -05:00
Joel Bernstein 531b16633a SOLR-12913: Add new facet expression and pivot docs 2018-11-07 15:07:46 -05:00
Simon Willnauer ff1df8a15c LUCENE-8558: Replace O(n) lookup with O(1) lookup in PerFieldMergeState#FilterFieldInfos 2018-11-07 20:34:05 +01:00
Joel Bernstein f2cb93605c SOLR-12829: Update CHANGES.txt 2018-11-07 11:22:03 -05:00
Joel Bernstein a197904743 SOLR-12936: Update CHANGES.txt 2018-11-07 09:43:41 -05:00
Joel Bernstein 7bde5e2343 SOLR-11572: Update CHANGES.txt 2018-11-07 09:38:19 -05:00
Joel Bernstein bc88d78c84 SOLR-12795: Update CHANGES.txt 2018-11-07 09:28:47 -05:00
Joel Bernstein e1bdb9a751 SOLR-12971: Update CHANGES.txt 2018-11-07 09:20:33 -05:00
Joel Bernstein 259925d12f SOLR-12795: Require bucketSorts 2018-11-07 08:58:57 -05:00