Commit Graph

34498 Commits

Author SHA1 Message Date
Andrzej Bialecki 969f9c1899 SOLR-14691: Fix a minor back-compat formatting issue. 2020-10-07 20:46:13 +02:00
Andrzej Bialecki 43b1a2fdc7 SOLR-14691: Metrics reporting should avoid creating objects. 2020-10-07 17:52:55 +02:00
Cao Manh Dat 2d4a51b23d SOLR-10370: ReplicationHandler should fetch index at fixed delay instead of fixed rate 2020-10-07 20:22:17 +07:00
Mayya Sharipova 0b08943112
LUCENE-9566 TestApproximationSearchEquivalence.testExclusion fix (#1955) 2020-10-07 07:02:46 -04:00
noblepaul 2a8136b3fd SOLR-14151: refactor to avoid code duplicate 2020-10-07 16:04:35 +11:00
Alexandre Rafalovitch 247cea1011
SOLR-14829: Improve documentation for Request Handlers in RefGuide and solrconfig.xml (#1921)
Restructured documentation page, fixed cross-linked, and cleanup of relevant sections of example configuration files
2020-10-06 20:35:47 -04:00
Mayya Sharipova 5039e7170b Mute TestApproximationSearchEquivalence.testExclusion
Temporarily mute TestApproximationSearchEquivalence.testExclusion
2020-10-06 15:10:48 -04:00
Mayya Sharipova 6b8288445f LUCENE-9541 ConjunctionDISI sub-iterators check (#1937)
* LUCENE-9541 ConjunctionDISI sub-iterators check

Ensure sub-iterators of a conjunction iterator are on the same doc.
2020-10-06 13:23:01 -04:00
Mayya Sharipova 874c446ab9
LUCENE-9565 Fix competitive iteration (#1952)
PR #1351 introduced a sort optimization where documents can be skipped.
But iteration over competitive iterators was not properly organized,
as they were not storing the current docID, and
when competitive iterator was updated the current doc ID was lost.

This patch fixed it.

Relates to #1351
2020-10-06 13:22:16 -04:00
Mayya Sharipova 6ac94a6f9f
LUCENE-9555: Advance conjunction Iterator for two phase iteration (#1943)
PR #1351 introduced a sort optimization where
documents can be skipped.
But there was a bug in case we were using two phase
approximation, as we would advance it without advancing
an overall conjunction iterator.

This patch fixed it.

Relates to #1351
2020-10-06 09:22:42 -04:00
Cassandra Targett b45c43fdeb SOLR-13438: update ref guide for new default delete behavior 2020-10-05 16:19:36 -05:00
Cassandra Targett 5bf487f8b4 Ref Guide: monospace parameter names for overall consistency 2020-10-05 15:32:05 -05:00
Mayya Sharipova e325f66e61 Revert "LUCENE-9541 ConjunctionDISI sub-iterators check (#1937)"
This reverts commit 5f34acfdb5.
2020-10-05 10:55:25 -04:00
Mayya Sharipova 5f34acfdb5
LUCENE-9541 ConjunctionDISI sub-iterators check (#1937)
* LUCENE-9541 ConjunctionDISI sub-iterators check

Ensure sub-iterators of a conjunction iterator are on the same doc.
2020-10-05 09:38:17 -04:00
Tomoko Uchida b70eaeee5a
LUCENE-9558: Clean up package name conflicts for analyzers-icu. (#1946) 2020-10-05 17:52:23 +09:00
iverase 0864b39a11 make sure we don't build circles with zero radius in ShapeTestUtil 2020-10-05 10:45:31 +02:00
Adrien Grand 1038fe8bee Fix rare test failure.
This test fails when the maximum segment size is only one byte larger
than the min segment size.
2020-10-05 09:58:18 +02:00
Dawid Weiss 34776ed640 LUCENE-9561: workaround for POMs that have superfluous dependencyManagement section. 2020-10-04 21:39:58 +02:00
Timothy Potter e879a52291
SOLR-14659: Remove restlet as dependency for the ManagedResource API (#1938)
Co-authored-by: noblepaul <noble.paul@gmail.com>
2020-10-04 11:21:49 -06:00
Dawid Weiss d9a410920a
LUCENE-9548: Apache repository publishing (#1929) 2020-10-04 19:18:29 +02:00
noblepaul 4728a710e9 LUCENE-9559: "gradle eclipse" do not work if .java files are not in proper package 2020-10-04 21:44:01 +11:00
Robert Muir 7eee4fd102
LUCENE-9557: regeneration should use python3, not python2
python2 will change the DFA, but using python3 re-generates the sources
as they exist today. plus, we don't want to depend on EOL python2.
2020-10-03 12:30:22 -04:00
Erick Erickson f6c4f8a755 SOLR-14910: Use in-line tags for logger declarations in Gradle ValidateLogCalls that are non-standard, change //logok to //nowarn 2020-10-03 09:47:37 -04:00
Nhat Nguyen 7e04e4d0ca
LUCENE-9554: Expose IndexWriter#pendingNumDocs (#1941)
Some applications can use the pendingNumDocs from IndexWriter to 
estimate that the number of documents of an index is very close to the
hard limit so that it can reject writes without constructing Lucene
documents.
2020-10-02 17:32:20 -04:00
David Smiley 2aa51fe77c
LUCENE-9032: BaseTokenStreamTestCase minor...
* make checkResetException() public
* one assertAnalyzesTo variant should be calling checkAnalysisConsistency (only used by OpenNLP tests now)
2020-10-01 23:43:03 -04:00
David Smiley 0303063e12
LUCENE-9458: WDGF should tie-break by endOffset (#1740)
Can happen with catenateAll and not generating word xor number part when the input ends with the non-generated sub-token.
Fuzzing revealed that only start & end offsets are needed to order sub-tokens.
2020-10-01 22:27:45 -04:00
Tomas Fernandez Lobbe 8f2f80bbb3 SOLR-14663: Copy ConfigSet root data from base ConfigSet when using CREATE command 2020-10-01 14:13:40 -07:00
David Smiley 6c3b1aa5ca
SOLR-12987: Fix precommit 2020-10-01 17:02:38 -04:00
Erik Hatcher 45dc2615c7 SOLR-14792: Remove /browse references from example and docs 2020-10-01 10:57:57 -04:00
Erik Hatcher 1af17a5f01 SOLR-14792: add removal message to major changes section of ref guide 2020-10-01 10:54:14 -04:00
David Smiley 9cadbf04b6
SOLR-12987: Deprecated plugins are logged once and with log category org.apache.solr.DEPRECATED (#1927) 2020-10-01 08:31:39 -04:00
Bruno Roustant 167c3050df
SOLR-14905: Upgrade commons-io version to 2.8.0.
Closes #1934
2020-10-01 10:07:42 +02:00
goankur 2e2161b0e0
LUCENE-9444: Improve test coverage for TaxonomyFacetLabels (#1928)
Co-authored-by: Ankur Goel <goankur@amazon.com>
2020-09-30 13:21:18 -04:00
Adrien Grand f8b7a60562
LUCENE-9550: Upgrade to Gradle 6.6.1. (#1933) 2020-09-30 11:17:55 +02:00
Dawid Weiss 9bfaca0606 LUCENE-9549: add command-line quotes for 'reproduce with'. 2020-09-30 09:49:52 +02:00
Munendra S N 274a3d69d2 Revert "SOLR-14767 : Fix NumberFormatException when int/long field value is floating num"
This reverts commit 63f0b6b706.
2020-09-29 23:53:13 +05:30
Chris Hostetter 52183dfbf6 SOLR-14889: improve templated variable escaping in ref-guide _config.yml 2020-09-29 11:09:15 -07:00
Chris Hostetter 8c7502dfeb SOLR-14898: Stop returning duplicate HTTP response headers when requests are forward to another node 2020-09-29 09:19:03 -07:00
Munendra S N 3dcb19f886 SOLR-14897: limit no of forwarding for given request
* Irrespective of active or down replicas, restrict no of forwarding of request.
  Previously, this restriction was applied only if active is not found
2020-09-29 19:48:12 +05:30
Munendra S N b9c7f50b6e LUCENE-9401: include field in the complex pharse query's toString 2020-09-29 19:28:01 +05:30
Apoorv Bhawsar 63f0b6b706
SOLR-14767 : Fix NumberFormatException when int/long field value is floating num (#1775) 2020-09-29 19:23:33 +05:30
Guna Sekhar Dora Kovvuru 1dba76c0d3
SOLR-14333: Implement toString in Collapse filter (#1371) 2020-09-29 19:19:49 +05:30
Dawid Weiss 2b692ccb71 LUCENE-9547: Race condition in maven artifact configuration results in wrong group/ artifact name 2020-09-29 10:24:17 +02:00
Dawid Weiss 65a62b04c5 Remove unused imports. 2020-09-29 10:24:17 +02:00
Dawid Weiss 3ae0b50646 LUCENE-9546: Configure Nori and Kuromoji generation lazily when java plugin is applied to the projects 2020-09-29 10:24:17 +02:00
Andrzej Bialecki 8b329a09c2 SOLR-14850: Correct the spelling in contributor's name. 2020-09-29 10:11:17 +02:00
noble a65e9dd311 SOLR-14151: cleanup 2020-09-29 15:37:47 +10:00
noble 01da67c728 SOLR-14901: TestPackages uses binary precompiled classes to refer to analysis factory FQCNs 2020-09-29 15:25:22 +10:00
Mike McCandless 98a49ed18d LUCENE-9444: add CHANGES.txt entry 2020-09-28 13:01:22 -04:00
goankur 24aadc220b
LUCENE-9444: add utility class to retrieve facet labels from the taxonomy index for a facet field (#1893)
LUCENE-9444: add utility class to retrieve facet labels from the taxonomy index for a facet field so such fields do not also have to be redundantly stored in the index.

Co-authored-by: Ankur Goel <goankur@amazon.com>
2020-09-28 10:55:37 -04:00