Commit Graph

30964 Commits

Author SHA1 Message Date
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
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
Alexandre Rafalovitch 936ecf12fb Remove hyperlink to - now spammy - heliosearch domain 2018-11-07 07:26:12 -05:00
Alexandre Rafalovitch 50cf1cca26 SOLR-12600: Add missing name in CHANGES
Missed it on the last commit
2018-11-07 07:11:03 -05:00
Alexandre Rafalovitch 419d42bf7b SOLR-12600: Fix parameter names in Solr JSON documentation 2018-11-07 07:01:06 -05:00
iverase 9952af099a LUCENE-8559: Fix bug where polygon edges were skipped when checking for intersections 2018-11-07 07:44:32 +01:00
Noble Paul 6f6a880ec2 SOLR-12023: correcting wrong git merge 2018-11-07 12:56:00 +11:00
David Smiley d0cd4245bd LUCENE-8557: LeafReader.getFieldInfos should always return the same instance
MemoryIndex: compute/cache up-front
Solr Collapse/Expand with top_fc: compute/cache up-front
Json Facets numerics / hash DV: use the cached fieldInfos on SolrIndexSearcher
SolrIndexSearcher: move the cached FieldInfos to SlowCompositeReaderWrapper
2018-11-06 14:45:32 -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
Alexandre Rafalovitch 0ddbc4bf95 SOLR-12966: Add Javadoc @since tag to URP classes 2018-11-06 08:05:07 -05:00
Alexandre Rafalovitch c07df19666 SOLR-12956: Add Javadoc @since tag to Analyzer component classes 2018-11-06 07:38:20 -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
Cao Manh Dat 13a83564bb SOLR-12313: Make the test finish quicker by lower down intervals 2018-11-06 11:19:13 +00:00
Christine Poerschke be65b95e80 SOLR-12699: Make contrib/ltr LTRScoringModel immutable and cache its hashCode.
(Stanislav Livotov, Edward Ribeiro, Christine Poerschke)
2018-11-05 18:56:40 +00:00
Steve Rowe 01808eee93 SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms 2018-11-05 10:32:49 -05:00
Cassandra Targett 1e3cc4861a SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files for Asciidoctor HTML conversion. 2018-11-05 09:07:01 -06: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
Jason Gerlowski f669a1fb0e SOLR-12555: Use `expectThrows` for expected exceptions
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.

This commit makes these changes in the core package: `o.a.solr.search`.

Closes #464
2018-11-03 10:48:16 -04:00
Chris Hostetter c5ff4a4444 SOLR-12954: fix facet.pivot refinement bugs when using facet.sort=index and facet.mincount>1 2018-11-02 20:32:32 -07:00
Nicholas Knize 31d7dfe6b1 LUCENE-8555: Add dateline crossing support to LatLonShapeBoundingBoxQuery 2018-11-02 12:15:22 -05:00
Nicholas Knize 0cbefe8b25 LUCENE-8554: Add new LatLonShapeLineQuery that queries indexed LatLonShape fields by arbitrary lines 2018-11-02 11:48:59 -05:00
Nicholas Knize 2b8f577c22 Minor LatLonShape cleanup
Reinstate TestLatLonPointShapeQueries.testRandomTiny, remove unused
area calculation of Tessellated triangles. Javadoc cleanup.
2018-11-02 11:06:22 -05:00
iverase bbb9f726e0 LUCENE-8550: remove double entry for bug fixes in CHANGES.txt 2018-11-02 08:06:11 +01:00
iverase ae9185f7d8 LUCENE-8550: Fix filtering of coplanar points when creating linked list on polygon tesselator 2018-11-02 08:01:29 +01:00
iverase f7720aad82 LUCENE-8549: Polygon tessellator throws an error if some parts of the shape could not be processed 2018-11-02 07:50:41 +01:00
iverase 6ae9aa2a32 LUCENE-8534: Fix incorrect computation for triangles intersecting polygon edges in shape tessellation 2018-11-02 07:38:49 +01:00
iverase 07b93a97f0 LUCENE-8540: Better handling of min/max values for Geo3d encoding 2018-11-02 07:19:13 +01:00
Chris Hostetter 1e0e8d45e5 SOLR-7804: remove problematic assertions on lossy stats.field values that aren't fundemental to the purpose of the test anyway 2018-11-01 22:03:20 -07:00
Gus Heck 23595e5cc4 Supress an IDE warning with an annotation, and verify my commit karma 2018-11-01 21:27:16 -04:00
Tim Underwood cf445ba549 SOLR-12882: Eliminate excessive lambda allocation in json facet FacetFieldProcessorByHashDV.collectValFirstPhase 2018-11-01 15:05:16 -04:00
Chris Hostetter 05f72a77ef SOLR-12946: tighten up request/expectations in test
This should prevent some non-reproducible failures where (i think) the problem was inconsistnet background merges between collections being compared, resulting in facet counts (of 0) for terms that weren't in equivilent (merged) indexes.

since the purpose of the test has nothing to do with mincount, force facet.mincount=0 and be more exact about how many terms we expect (in case the root problem lies somewhere else, be more assertive about finding it)
2018-10-31 15:33:39 -07:00