31955 Commits

Author SHA1 Message Date
Andrzej Bialecki
0a6c333072 LUCENE-8855: Move the CHANGES entry to the right version. 2019-06-28 10:58:52 +02:00
Andrzej Bialecki
84db2b2742 LUCENE-8855: Fix some size estimates and relax test assertions to work under different JVMs. 2019-06-28 10:34:44 +02:00
Adrien Grand
a8fef9a94f LUCENE-8890: Fix compilation. 2019-06-28 10:10:56 +02:00
Sven Amann
b8ce50c4c1 LUCENE-8890: Improve parallel iteration of two lists of same length. (#446)
The class `BooleanWeight` takes a `BooleanQuery` (a list of `BooleanClause`s) as input and maintains a list of weights corresponding to the clauses. The clauses and the weights are iterated in parallel in various places throughout the class. At these code locations, it is not obvious that these two lists always have the same length, i.e., that the parallel iteration is safe. Moreover, the parallel iteration is not well supported by the Java language, which is why this operation is implemented differently throughout the code.

This patch joins the two lists to enable parallel iteration without managing two separate lists. This makes the code’s intent more obvious and prevents bugs due to the lists getting out of sync by a future change.
2019-06-28 09:51:23 +02:00
Chris Hostetter
01b303c2e5 SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
SOLR-13574: Add CHANGES entry that was overlooked
(cherry picked from commit aaf20aefa4b29971dbbb16c9fe39e6272c7c9dd5)
2019-06-27 15:52:22 -07:00
Chris Hostetter
8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Atri Sharma
976bc51514 LUCENE-8889: Add Tests For Accessors Of Ranges in PointRangeQuery (#748) 2019-06-27 13:56:48 +02:00
iverase
4e58515b0c LUCENE-8886: Fix TestMutablePointsReaderUtils tests 2019-06-27 11:37:04 +02:00
Adrien Grand
cf443ad9f7 LUCENE-8815: Remove leftover println. 2019-06-27 08:09:42 +02:00
Adrien Grand
e4c3f9a987 LUCENE-8855: Remove unused import. 2019-06-27 08:06:44 +02:00
Adrien Grand
01d12578f8 LUCENE-8815: Use a LogMergePolicy when the order of documents is important. 2019-06-27 08:06:03 +02:00
Andrzej Bialecki
81208427d2 LUCENE-8855: Add Accountable to some Query implementations. 2019-06-26 15:30:08 +02:00
Mikhail Khludnev
f9e8b8cd0b SOLR-13577: retrying TestReplicationHandler.doTestIndexFetchOnMasterRestart. 2019-06-26 14:17:53 +03:00
jimczi
d5a1a2b3e1 LUCENE-8859: The completion suggester's postings format now have an option to load its internal FST off-heap. 2019-06-26 12:32:53 +02:00
Jan Høydahl
2ef43ce78a SOLR-13569: AdminUI visual indication of prod/test/dev environment
(cherry picked from commit b54126169b2c2f116b5217c3566f5df2ba206a39)
2019-06-26 12:10:39 +02:00
Alan Woodward
fa3bf88783 LUCENE-8811: Move max clause checks to IndexSearcher 2019-06-26 10:56:00 +01:00
Ignacio Vera
1f4de51f8b
LUCENE-8868: New storing strategy for BKD tree leaves with low cardinality (#743)
When a leaf has only few distinct values, we store the distinct values with the cardinality.
2019-06-26 11:19:26 +02:00
iverase
e296c34ff2 Change Arrays for FutureArrays 2019-06-26 09:50:21 +02:00
Ignacio Vera
afb4b928bc LUCENE-8879: Improve BKDRadixSelector tests
This change adds explicit test for the sorting capabilities.
2019-06-26 09:47:05 +02:00
Julie Tibshirani
9fd51bab09 LUCENE-7714: Add a range query in sandbox that takes advantage of index sorting. 2019-06-26 09:43:20 +02:00
Chris Hostetter
eeed1827d8 SOLR-13580: add assumeThat calls to ParsingFieldUpdateProcessorsTest to skip test methods impacted by java 13-ea bug in NumberFormat.parse()
(cherry picked from commit 583c219183b2bca85936a095727d287c5c28526b)
2019-06-25 16:26:24 -07:00
Andrzej Bialecki
da6e6fd559 SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:56 +02:00
Christine Poerschke
ff14a17711 Fix op[t]ional typo in json-facet-api.adoc file. 2019-06-25 11:29:10 +01:00
jimczi
6eb2c81886 LUCENE-8848: Fix IndexWriter leak when TestUnifiedHighlighter#testNotReanalyzed is ignored 2019-06-25 10:37:06 +02:00
Noble Paul
8199ad48b5 reformatting 2019-06-25 17:07:17 +10:00
Mikhail Khludnev
e7fea2899d SOLR-12866: Turn TestHdfsCloudBackupRestore ON. No changes yet. 2019-06-25 08:55:15 +03:00
Munendra S N
438364ab94 SOLR-12979: fail fast when collapse field is non-docValued & non-uninvertible
* Improve error message when collapse field is non-docValued & non-uninvertible.
  Return error code 400 instead of 500 in the above case
2019-06-25 10:04:11 +05:30
David Smiley
5259e964b5 SOLR-13367: Range queries will now highlight in hl.method=unified mode.
Lucene MatchesUtils.disjunction method for disjunction over
 BytesRefIterator terms.
2019-06-25 00:11:12 -04:00
Munendra S N
3ef5c0ee74 SOLR-13187: Fix NPE when invalid qParser is specified
* When non-existent qParser is specified return 400 error code
* SOLR-13197: Fix NPE when createQParser is called in StatsField
2019-06-24 22:58:58 +05:30
Andrzej Bialecki
c6fb95290f Add missing versions, fix date formatting. 2019-06-24 14:48:31 +02:00
Munendra S N
cf6c81c26b SOLR-12127: set op with null or empty list val should be atomic update
* Inplace update supports set and inc operation but when null or
  empty list is specified with set op, then it should always be treated
  as atomic update since this case is equivalent to removing field
  from the document
2019-06-24 14:54:48 +05:30
Alan Woodward
8a94a6a62d LUCENE-8766: Further checks against race in test 2019-06-24 10:16:22 +01:00
Ignacio Vera
40886d4690 LUCENE-8838: Remove support for Steiner points (#703)
This is currently not used/supported.
2019-06-24 09:42:27 +02:00
Tomoko Uchida
d1678a3a68 LUCENE-8778: Don't use Java 11 APIs on 8x branch. 2019-06-23 01:12:32 +09:00
Tomoko Uchida
0cc1753e76 LUCENE-8778: Add SPI name and documentation for the KoreanNumberFilterFactory 2019-06-22 20:37:44 +09:00
Tomoko Uchida
12e3451fb8 LUCENE-8778: Define analyzer SPI names as static final fields and document the names in all analysis components. This also changes SPI loader to detect service names via the static NAME fields instead of class names. 2019-06-22 20:37:09 +09:00
Tomoko Uchida
9dabdda54a LUCENE-8793: Luke enhanced UI for CustomAnalyzer: show detailed analysis steps.
Co-authored-by: Jun Ohtani
Co-authored-by: Tomoko Uchida
2019-06-22 16:51:59 +09:00
David Smiley
2d60b69636 SOLR-13545: Fix for Java 8 (no var) 2019-06-21 18:12:21 -04:00
David Smiley
df4ebaf030 LUCENE-8848 LUCENE-7757 LUCENE-8492: UnifiedHighlighter.hasUnrecognizedQuery
The UH now detects that parts of the query are not understood by it.
When found, it highlights more safely/reliably.
Fixes compatibility with complex and surround query parsers.

(cherry picked from commit 54cc70127b22083198f1c44f83ccf4cdf769ac77)
2019-06-21 17:12:50 -04:00
Mikhail Khludnev
fbb64cf16a SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:40:26 +03:00
epugh
759770c9ab highlight select * not supported 2019-06-21 07:24:46 -04:00
Simon Willnauer
4ea97758c8 Expose IndexSearchers executor in order to enable searcher cloning (#732)
Today if an executor was added to the IndexSearcher it's impossible to
clone the searcher with it's cache, similarty and caching policy since
the executor is not exposed. This adds a simple getter to make cloning
easier.
2019-06-21 10:29:53 +02:00
Robert Muir
2adc8c6c13 LUCENE-8866: remove kuromoji/tools dependency on ICU 2019-06-20 21:21:31 -04:00
Chris Hostetter
456bc4dbf9 SOLR-12988: Fix Revert
an (erroneous) assigment to useSsl was left in the constructor after the (intended) conditional assigment, rendering the conditional logic useless

(cherry picked from commit c8c2f2f25b28da694fae88868b12347bc5a2393c)
2019-06-20 16:05:11 -07:00
Michael Sokolov
9e017ba83c Add missing javadocs for new BinaryDictionary.ResourceScheme 2019-06-21 00:58:47 +02:00
Michael Sokolov
bdaf10ffa8 LUCENE-8863: enhance Kuromoji DictionaryBuilder tool
added tests
 enabled ids up to 8191
 support loading custom system dictionary from filesystem or classpath
2019-06-21 00:39:48 +02:00
Gus Heck
45b000e7ae SOLR-13419 - Better infix for TRA collection names 2019-06-20 14:32:14 -04:00
Chris Hostetter
74f880b033 LUCENE-8872: upgrade ECJ on branch_8x to match version used on master - fixes some ECJ bugs when linting 2019-06-20 10:49:38 -07:00
Alan Woodward
ab3f194656 LUCENE-8766: Add monitor sub-project to smoke tester 2019-06-20 17:35:28 +01:00
Alan Woodward
aa771b1a29 LUCENE-8766: Fix timing problem in test 2019-06-20 17:35:15 +01:00