Commit Graph

32143 Commits

Author SHA1 Message Date
Alan Woodward 15b08f9a06 LUCENE-8918: Disallow null terms in PhraseQuery 2019-07-18 10:10:36 +01:00
Munendra S N 1fc416404c SOLR-13206: Fix AIOOBE when group.facet is specified with group.query
group.facet is supported only for group.field. When group.facet is
used with group.query, then return proper error code
2019-07-18 11:08:17 +05:30
iverase 0de627ee26 LUCENE-8913: Fix test bug in BaseLatLonShapeTestCase#testBoxQueryEqualsAndHashcode 2019-07-18 07:20:51 +02:00
Munendra S N 6104f55ac0 LUCENE-8909: remove deprecated IndexWriter#getFieldNames() 2019-07-18 10:03:17 +05:30
Munendra S N 4b75776f5a SOLR-13634:move ResponseBuilderTest to same package as ResponseBuilder 2019-07-17 22:38:35 +05:30
Erik Hatcher 2047fc67df
Merge pull request #781 from MarcusSorealheis/documentation/update-PR-template
updated the pull request template to make checkboxes work
2019-07-17 12:24:00 -04:00
Munendra S N 1ecd02deb5 SOLR-12368: inplace update for field that doesn't yet exist in any doc
If the field is non-stored, non-indexed and docvalue enabled numeric field
then inplace update can be done. previously, lucene didn't support
docvalue update for field that is not yet present in indexWriter but
LUCENE-8316 added support for this.
This adds support to update field which satisfies inplace conditions
but which doesn't yet exist in any docs
2019-07-17 21:45:15 +05:30
Erik Hatcher 96dc45b649 Add changes blurb 2019-07-17 12:03:16 -04:00
marcussorealheis e94fe382e9 fix another ant build change. 2019-07-17 11:38:35 -04:00
marcussorealheis d351cd87a1 revert another build change. 2019-07-17 11:38:35 -04:00
marcussorealheis 4d0a8ccaf1 revert any changes to chosen. 2019-07-17 11:38:35 -04:00
marcussorealheis 3086040feb change only the build file rather than the names. 2019-07-17 11:38:35 -04:00
marcussorealheis e4da5a3589 removing accidental file and updating index.html. 2019-07-17 11:38:35 -04:00
marcussorealheis 7868ee159c adding a file I accidentally deleted. 2019-07-17 11:38:35 -04:00
marcussorealheis a4e76c81cd re-add deleted file modify index. 2019-07-17 11:38:35 -04:00
marcussorealheis 02a0541000 fixed the ant build file 2019-07-17 11:38:35 -04:00
marcussorealheis c0af188347 modify the build.xml to exclude full JS files. 2019-07-17 11:38:35 -04:00
marcussorealheis 78b278993d moved to minified files in index. 2019-07-17 11:38:35 -04:00
marcussorealheis 1ff157abbb update the build.xml file to exclude full js files where minified ones exist. 2019-07-17 11:38:35 -04:00
marcussorealheis cd04f002cd rename the files for which minified versions are present so that they are not inlcuded in running WAR files. 2019-07-17 11:38:35 -04:00
Ignacio Vera f026053d4d
LUCENE-8914: Move compare logic to IntersectVisitor in FloatPointNearestNeighbor (#783)
Move the logic for discarding inner modes to the IntersectVisitor so we take advantage of the change introduced in LUCENE-7862
2019-07-17 14:14:17 +02:00
iverase 41ae03a9a0 LUCENE-8923: Add Lucene-8.3 entry in CHANGES.txt 2019-07-17 13:53:21 +02:00
Chris Hostetter 19c78ddf98 SOLR-13534: Fix test
Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds
2019-07-16 14:34:23 -07:00
noble 2d357c960c SOLR-13534: Make the test more robust 2019-07-16 11:53:13 +10:00
Gus Heck c97551cc36 SOLR-13375 - 2 dimensional routed aliases 2019-07-15 09:57:13 -04:00
Adrien Grand 607c46c997 LUCENE-8811: Undo removal of deprecations. 2019-07-15 13:52:45 +02:00
Ishan Chattopadhyaya 26ede632e6 SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:10:07 +05:30
Ishan Chattopadhyaya 7e0af71c1e SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 14:43:41 +05:30
Tomoko Uchida 1a53d86882 Update solr/CHANGES.txt for SOLR-13588 and SOLR-13602. 2019-07-14 14:50:04 +09:00
Chris Hostetter 7ddba3b712 Harden DeleteReplicaTest
* tighten assertions related to type of watcher that should be removed

* use waitForActiveCollection before deleting collections to work around SOLR-13616 and/or SOLR-13627
2019-07-13 08:02:49 -07:00
marcussorealheis 2caabea419 updated the pull request template to make checkboxes work 2019-07-12 13:37:39 -07:00
David Smiley aab166d830 CHANGES.txt: separate improvements to dedicated section 2019-07-11 23:11:20 -04:00
Chris Hostetter f85a78c441 SOLR-13532: Fix http timeout and error logging bugs in RecoveryStrategy 2019-07-11 14:04:46 -07:00
Namgyu Kim 2ac5fb668a
LUCENE-8904: enhance Nori DictionaryBuilder tool 2019-07-11 23:59:34 +09:00
Tomoko Uchida 6d79cc9e44 LUCENE-8907: Move change logs for LUCENE-8778 and following issues to the 9.0.0 updates section. 2019-07-11 23:50:34 +09:00
Christine Poerschke 7eb730f6e0 Fix couple of solr-ref-guide typos. 2019-07-11 10:18:41 +01:00
David Smiley b17740b4b5 CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:37:37 -04:00
David Smiley 9c684bbdfa CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:35:08 -04:00
Chris Hostetter 8a277cab7d Harden TestPolicyCloud
- ensure all collections/replicas are active

- tighten assertions around expected replica locations

- eliminate some redundent code

These changes should also help ensure we don't get (more) spurious failures due to SOLR-13616
2019-07-10 17:16:59 -07:00
Atri Sharma ee79a20174 LUCENE-8875: Introduce Optimized Collector For Large Number Of Hits (#754)
This commit introduces a new collector which is optimized for
cases when the number of hits is large and/or the actual hits
collected are sparse in comparison to the number of hits
requested.
2019-07-10 19:17:52 +02:00
Adrien Grand fb30ded643 Ensure tokens have at least 2 chars, otherwise norms are incorrect. 2019-07-10 09:09:54 +02:00
Munendra S N 8322ea55f4 SOLR-11263: add test for payload func with undefined field
Payload func with undefined used to throw NPE. In SOLR-11610, this
was fixed to return proper error but there are no tests to verify
changed the behavior.
This add simple test to verify error code and error message
2019-07-10 10:17:55 +05:30
Nicholas Knize 14b67012d0 LUCENE-8632: Fix EdgeTree.internalComponentRelateTriangle to pass correct line segment vertices 2019-07-09 13:49:54 -05:00
Adrien Grand 437090c302 LUCENE-8311: Add CHANGES entry. 2019-07-09 16:20:06 +02:00
Adrien Grand 17f2f96a5c LUCENE-8900: Simplify MultiSorter. 2019-07-09 16:18:47 +02:00
Adrien Grand cfac486afd
LUCENE-8311: Phrase impacts (#760) 2019-07-09 16:01:29 +02:00
Christine Poerschke bf9a7e2626 Fix two 'against' typos. 2019-07-09 10:56:49 +01:00
Christine Poerschke b6add7ac90 LUCENE-8766: fix in[di]vidually typo in package-info.java 2019-07-09 10:56:49 +01:00
Nicholas Knize 0c09481374 LUCENE-8632: New XYShape Field and Queries for indexing and searching general cartesian geometries
The LatLonShape field and LatLonShape query classes added the ability to index and search geospatial
geometries in the WGS-84 latitude, longitude coordinate reference system. The foundation for this
capability is provided by the Tessellator that converts an array of vertices describing a Point Line
or Polygon into a stream of 3 vertex triangles that are encoded as a seven dimension point and
indexed using the BKD POINT structure. A nice property of the Tessellator is that lat, lon
restrictions are artificial and really only bound by the API.

This commit builds on top of / abstracts the Tessellator LatLonShape and LatLonShapeQuery classes to
provide the ability to index & search general cartesian (non WGS84 lat,lon restricted) geometry.
It does so by introducing two new base classes: ShapeField and ShapeQuery that provide the indexing
and search foundation for LatLonShape and the LatLonShape derived query classes
(LatLonShapeBoundingBoxQuery, LatLonShapeLineQuery, LatLonShapePolygonQuery) and introducing a new
XYShape factory class along with XYShape derived query classes (XYShapeBoundingBoxQuery,
XYShapeLineQuery, XYShapePolygonQuery). The heart of the cartesian indexing is achieved through
XYShapeEncodingUtils that converts the double precision vertices into an integer encoded seven
dimension point (similar to LatLonShape).

The test framework is also further abstracted and extended to provide a full test suite for the
new XYShape capability that works the same way as the LatLonShape test suite (but applied to non
GIS geometries).
2019-07-08 14:59:37 -05:00
Adrien Grand ac209b637d LUCENE-8803: Change the way that reverse ordering is implemented.
This addresses some test failures when IndexSearcher is created with an executor
and merges hits with TopDocs#merge.
2019-07-08 10:25:55 +02:00