Commit Graph

31992 Commits

Author SHA1 Message Date
Christine Poerschke 993c051a0e SOLR-13279: Clarify ScheduledTrigger's "every parameter missing" error response. 2019-06-28 18:32:25 +01:00
Mikhail Khludnev d54555c757 SOLR-13577: spin until slave got a replication failure while master is down. 2019-06-28 17:28:48 +03:00
Alan Woodward 46cc24d77e LUCENE-8856: Promote intervals queries from sandbox to queries module 2019-06-28 12:28:53 +01:00
Andrzej Bialecki b48a02b1f1 LUCENE-8855: Move the CHANGES entry to the right version. 2019-06-28 10:59:50 +02:00
Andrzej Bialecki 7989a863fa LUCENE-8855: Fix some size estimates and relax test assertions to work under different JVMs. 2019-06-28 10:33:27 +02:00
Sven Amann 7c3d6c7214 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:50:37 +02:00
Chris Hostetter aaf20aefa4 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
2019-06-27 15:51:20 -07:00
Chris Hostetter 7e57d3a9d9 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup 2019-06-27 10:28:06 -07:00
Atri Sharma 7cd20384de LUCENE-8889: Add Tests For Accessors Of Ranges in PointRangeQuery (#748) 2019-06-27 13:55:15 +02:00
Adrien Grand 23b6a3cd3a LUCENE-8871: Fix precommit failures. 2019-06-27 12:03:25 +02:00
iverase 754ce1f437 LUCENE-8886: Fix TestMutablePointsReaderUtils tests 2019-06-27 11:35:54 +02:00
Adrien Grand 7032176705 LUCENE-8815: Remove leftover println. 2019-06-27 08:09:26 +02:00
Adrien Grand 82234ef2f4 LUCENE-8855: Remove unused import. 2019-06-27 08:08:51 +02:00
Adrien Grand b7029b35d5 LUCENE-8815: Use a LogMergePolicy when the order of documents is important. 2019-06-27 08:08:51 +02:00
Michael Sokolov 024e200bb9 LUCENE-8871: promote kuromoji tools to main jar 2019-06-26 22:34:00 -04:00
Andrzej Bialecki a76c962ee6 LUCENE-8855: Add Accountable to some Query implementations. 2019-06-26 15:26:54 +02:00
Mikhail Khludnev 48fb45e614 SOLR-13577: retrying TestReplicationHandler.doTestIndexFetchOnMasterRestart. 2019-06-26 14:16:22 +03:00
Jan Høydahl b54126169b SOLR-13569: AdminUI visual indication of prod/test/dev environment 2019-06-26 12:09:02 +02:00
Alan Woodward 6751c072ab LUCENE-8811: Remove deprecated BooleanQuery maxCount methods 2019-06-26 10:55:55 +01:00
Alan Woodward 53f56fb7ad LUCENE-8811: Move max clause checks to IndexSearcher 2019-06-26 10:55:55 +01:00
jimczi 889f73105f LUCENE-8859: The completion suggester's postings format now have an option to load its internal FST off-heap. 2019-06-26 11:16:51 +02:00
Ignacio Vera dac4310129
LUCENE-8868: New storing strategy for BKD tree leaves with low cardinality (#730)
When a leaf has only few distinct values, we store the distinct values with the cardinality.
2019-06-26 10:16:12 +02:00
Ignacio Vera 36eaf75b1f
LUCENE-8879: Improve BKDRadixSelector tests
This change adds explicit test for the sorting capabilities.
2019-06-26 09:45:44 +02:00
Julie Tibshirani 5bf023cf19 LUCENE-7714: Add a range query in sandbox that takes advantage of index sorting. 2019-06-26 09:17:48 +02:00
Chris Hostetter 583c219183 SOLR-13580: add assumeThat calls to ParsingFieldUpdateProcessorsTest to skip test methods impacted by java 13-ea bug in NumberFormat.parse() 2019-06-25 16:26:03 -07:00
Andrzej Bialecki 4d1058db6e SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:27 +02:00
Christine Poerschke 94ecd3a7f6 Fix op[t]ional typo in json-facet-api.adoc file. 2019-06-25 11:04:30 +01:00
jimczi b85840b97f LUCENE-8848: Fix IndexWriter leak when TestUnifiedHighlighter#testNotReanalyzed is ignored 2019-06-25 10:36:25 +02:00
Noble Paul 742c80550c reformatting 2019-06-25 17:02:17 +10:00
Mikhail Khludnev 4589bbe47b SOLR-12866: Turn TestHdfsCloudBackupRestore ON. No changes yet. 2019-06-25 08:49:26 +03:00
Munendra S N e0e5296abc 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 09:50:41 +05:30
David Smiley 85ec39d931 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:10:08 -04:00
Chris Hostetter 689fa583a0 Revert "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"
This reverts commit 6d6f14d391.

Reason for revert: after doing more testing I realized there are tests I overlooked which can (with randomized SSL usage) trigger NullPointerException
(or other related failures) in After/AfterClass due assumptions about cleanup that isn't actaully neccessary due to the AssumptionFailure
that may occur during Before/BeforeClass
2019-06-24 15:42:23 -07:00
Chris Hostetter 6d6f14d391 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 2019-06-24 15:02:18 -07:00
Munendra S N 9cfba4a728 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:38:39 +05:30
Munendra S N 54aff4ac7d 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:50:51 +05:30
Alan Woodward c33177e428 LUCENE-8766: Further checks against race in test 2019-06-24 10:04:12 +01:00
Ignacio Vera d9dbb70d01
LUCENE-8838: Remove support for Steiner points (#703)
This is currently not used/supported.
2019-06-24 09:41:33 +02:00
Tomoko Uchida 559abd8f28 LUCENE-8778: Update the changelog because this was backported to 8.x branch. 2019-06-22 20:48:41 +09:00
Tomoko Uchida 2d4dea370a LUCENE-8778: Add SPI name and documentation for the KoreanNumberFilterFactory 2019-06-22 20:23:01 +09:00
Tomoko Uchida 422cf14439 Resolve conflicts in CHANGES. 2019-06-22 16:41:27 +09:00
Tomoko Uchida 8e81f47ca6 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:22:26 +09:00
Tomoko Uchida 98c85a0e1a 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 10:46:37 +09:00
David Smiley 54cc70127b 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.
2019-06-21 17:05:56 -04:00
Mikhail Khludnev 9137a0b0fe SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:38:08 +03:00
Simon Willnauer b3e759a658
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:28:47 +02:00
Jason Gerlowski d318a6e3f9
SOLR-13261: Clarify parallel-sql docs to make it clear 'SELECT *' not supported 2019-06-20 22:07:08 -04:00
Robert Muir 91331d1a89 LUCENE-8866: remove kuromoji/tools dependency on ICU 2019-06-20 21:20:17 -04:00
Chris Hostetter c8c2f2f25b SOLR-12988: Fix Revert
an (erroneous) assigment to useSsl was left in the constructor after the (intended) conditional assigment, rendering the conditional logic useless
2019-06-20 16:04:49 -07:00
Michael Sokolov aa29bea071 Add missing javadocs for new BinaryDictionary.ResourceScheme 2019-06-21 01:01:10 +02:00