Commit Graph

32168 Commits

Author SHA1 Message Date
Mikhail Khludnev 9b515deb64 SOLR-13577: wait jetty to stop as @hossman advised. 2019-06-30 09:46:46 +03:00
Tomoko Uchida 2804d00137 LUCENE-8874: Show SPI names instead of class names in Luke Analysis tab. 2019-06-30 13:40:12 +09:00
Tomoko Uchida 7e05bd7173 LUCENE-8894: Add APIs to tokenizer/charfilter/tokenfilter factories to get their SPI names from concrete classes 2019-06-30 12:24:11 +09:00
Gert Morten Paimla 2df6ea2305 LUCENE-8891: Add snowball stemmer and analyzer for Estonian language.
Signed-off-by: Tomoko Uchida <tomoko@apache.org>
2019-06-30 09:17:32 +09:00
Michael Sokolov a9e37a6a7f LUCENE-8871: promote kuromoji tools to main jar 2019-06-29 16:20:33 -04:00
Munendra S N 9e40748486 SOLR-12364: add test cases for edismax boost
* This adds tests for bf and boosts
* Use expectThrows in edismax tests to verify exception
2019-06-29 22:34:03 +05:30
Munendra S N 6c83e39dcc SOLR-9409: improve error message on unsupported types in collapsing
* Improve error message when collapsing is not supported on given
  fieldtype
* Return 400 error code when unsupported value are passed for max,min
  or in case of syntax error
2019-06-29 21:53:43 +05:30
Chris Hostetter 881aabe28a SOLR-13580: update test to account for different versions of java using different locale specific numeric formatting characters
(cherry picked from commit 8b72e91df7)
2019-06-28 12:11:22 -07:00
Christine Poerschke 328db38d71 SOLR-13576: Factor out a TopGroupsShardResponseProcessor.fillResultIds method. (Christine Poerschke, Diego Ceccarelli) 2019-06-28 19:00:08 +01:00
Christine Poerschke 07cf48816f SOLR-13280: Strengthen ScheduledTrigger's preferredOperation parameter validation. 2019-06-28 19:00:08 +01:00
Christine Poerschke 785937d987 SOLR-13279: Clarify ScheduledTrigger's "every parameter missing" error response. 2019-06-28 19:00:08 +01:00
Mikhail Khludnev d2acaff578 SOLR-13577: spin until slave got a replication failure while master is down. 2019-06-28 17:54:03 +03:00
Alan Woodward 114db75abc LUCENE-8856: Promote intervals queries from sandbox to queries module 2019-06-28 12:29:18 +01:00
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 aaf20aefa4)
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 7e57d3a9d9)

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 b54126169b)
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 583c219183)
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