Andy Vuong
2544df8f6d
SOLR-14658: SolrJ collectionStatus(col) should only fetch one status ( #1687 )
...
An optimization or a perf-bug depending on point of view
2020-09-03 14:25:36 -04:00
Uwe Schindler
5d4487d707
Merge branch 'master' of https://gitbox.apache.org/repos/asf/lucene-solr
2020-09-03 17:51:20 +02:00
Uwe Schindler
469d742384
Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.
2020-09-03 17:50:57 +02:00
Cassandra Targett
0ce6de61e8
Ref Guide: fix ref guide build instructions for Gradleland
2020-09-03 10:32:19 -05:00
Uwe Schindler
99df3814ab
LUCENE-9500: Separate the Deflater hack from the Lucene code to a subclass of java.util.zip.Deflater ( #1824 )
2020-09-03 17:00:26 +02:00
Simon Willnauer
430a43520a
LUCENE-9484: Allow sorting an index after the fact ( #1789 )
...
Today we need to decide on an index sorting before we create the index.
In some situations it might make a lot of sense to sort an index afterwards
when the index doesn't change anymore or to compress older indices.
This change adds the ability to wrap readers from an unsorted index and merge it
into a sorted index by using IW#addIndices.
2020-09-03 12:54:40 +02:00
Adrien Grand
73371cb4b6
LUCENE-9486: Fix TestTieredMergePolicy failure.
2020-09-03 12:48:26 +02:00
Adrien Grand
27aa5c5f59
LUCENE-9486: Use preset dictionaries with LZ4 for BEST_SPEED. ( #1793 )
2020-09-03 12:17:04 +02:00
Bruno Roustant
22abecdbc1
SOLR-14819: Fix inefficient iterator pattern in JsonSchemaValidator.
2020-09-03 12:05:13 +02:00
Julie Tibshirani
4fa4329287
Improve how Asserting* classes handle singleton doc values. ( #1817 )
...
Some queries use DocValues.unwrapSingleton to execute different logic for
single-valued doc values. When tests use an AssertingLeafReader, unwrapSingleton
will never unwrap the doc values, as they don't have the expected class. So some
queries have code paths that are never exercised with an AssertingLeafReader.
This change makes sure to preserve the expected classes when creating asserting
doc values.
2020-09-03 11:41:11 +02:00
Adrien Grand
0d37e4dc76
LUCENE-9483: Disable per-thread caching of buffers for decompression of stored fields. ( #1787 )
...
These buffers can use lots of memory when the number of segments,
threads or both is high.
2020-09-03 11:37:34 +02:00
Adrien Grand
0a9b660648
LUCENE-8500: Make sure to use a 0 offset when setting the dictionary.
2020-09-03 11:34:23 +02:00
Adrien Grand
7f68272575
LUCENE-9438: Add resources to the Eclipse classpath.
2020-09-03 09:46:54 +02:00
Chris Hostetter
a70a47d053
SOLR-14383: Fix nested indexing ref-guide documentation and corrisponding search examples
...
Squashed commit of branch jira/SOLR-14383 as of...
commit 34da84c238
Merge: 5d293276a3
8bd79ec301
Author: Chris Hostetter <hossman@apache.org>
Date: Tue Sep 1 16:39:03 2020 -0700
Merge branch 'master' into jira/SOLR-14383
2020-09-02 14:16:23 -07:00
Cassandra Targett
b867ae49d3
Ref Guide: fix build.gradle to get the ZK version to properly insert into files during html conversion
2020-09-02 13:18:01 -05:00
Uwe Schindler
aabd36332f
LUCENE-9215: add changes, tune the build.gradle of the doclet project to have correct settings
2020-09-02 19:54:55 +02:00
Uwe Schindler
236455296c
SOLR-14783: Remove ivy-versions.properties suddenly reappearing after merge
2020-09-02 19:51:19 +02:00
Bruno Roustant
56dbb66503
SOLR-14782: Document how to unescape for the QueryElevationComponent.
2020-09-02 17:40:00 +02:00
David Smiley
20af6dbd3d
LUCENE ExitableReaderException public ctor ( #1797 )
...
And cross-link javadocs with TimeLimitingCollector
2020-09-02 11:30:26 -04:00
Robert Muir
784ede4eda
LUCENE-9215: replace checkJavaDocs.py with doclet ( #1802 )
...
This has the same logic as the previous python, but no longer relies
upon parsing HTML output, instead using java's doclet processor.
The errors are reported like "normal" javadoc errors with source file
name and line number and happen when running "gradlew javadoc"
Although the "rules" are the same as the previous python, the python had
some bugs where the checker didn't quite do exactly what we wanted, so
some fixes were applied throughout.
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2020-09-02 08:29:17 -04:00
Dawid Weiss
defffd40cb
SOLR-14822: Gradle: solr ref guide's dependencies should be moved to the test pool (palantir) ( #1821 )
2020-09-02 13:21:21 +02:00
epugh
6ab3660f25
SOLR-14422 was committed to master but not documented
2020-09-02 07:17:49 -04:00
Dawid Weiss
01e97dbd16
Use -D or -P to set solrGuideVersion.
2020-09-02 12:57:38 +02:00
Erick Erickson
594d676a95
SOLR-14579: reverting incorrect comments
2020-09-01 18:59:08 -04:00
Eric Pugh
8bd79ec301
SOLR-14773 Add LukeRequestHandler to the Solr Ref Guide ( #1773 )
...
* basic documentation on how the luke request handler to replace the old wiki page which is out of date
* typo and rework text
* move links around
2020-09-01 16:10:50 -04:00
epugh
aab9331c5e
fix links to JavaDocs
2020-09-01 13:36:23 -04:00
Ilan Ginzburg
825c18c59b
SOLR-14794: revert commit passing CloudConfig everywhere ( a3b3ba10e3
) and remove tab in solr/bin/solr.cmd
2020-09-01 17:21:12 +02:00
Erick Erickson
b421878b77
SOLR-14579: Comment SolrJ 'Utils' generic map functions
2020-09-01 10:04:44 -04:00
iverase
c077185943
Add version constant for 8.6.2
2020-09-01 15:27:20 +02:00
Erick Erickson
070237cd97
SOLR-14714: Solr.cmd in windows loads the incorrect jetty module when using java>=9
2020-09-01 08:35:45 -04:00
iverase
03814fc070
Add back-compat indices for 8.6.2
2020-09-01 11:22:00 +02:00
Dawid Weiss
36c3365e0e
LUCENE-9493: Remove obsolete dev-tools/{idea,netbeans,maven} folders ( #1809 )
2020-09-01 09:57:17 +02:00
iverase
dc901e6797
Sync CHANGES for 8.6.2
2020-09-01 09:53:11 +02:00
iverase
86d15ff538
DOAP changes for release 8.6.2
2020-09-01 09:08:05 +02:00
noblepaul
4a68cf18b6
SOLR-14151: move the SolrClassLoader interface to SolrJ
2020-09-01 10:23:15 +10:00
Uwe Schindler
f8329378af
LUCENE-9492: Fix beasting to accept also task names in form ":project:beast"; fix bug with default value rejected by Integer.parseInt ( #1808 )
2020-08-31 18:09:21 +02:00
Dawid Weiss
9445d2c10e
Move Solr-specific config.
2020-08-31 15:43:56 +02:00
Dawid Weiss
3e47bfb7b4
Cleanup remaining scripts to use script-relative resource location.
2020-08-31 15:35:14 +02:00
Dawid Weiss
66eb9f7f3d
LUCENE-9438: moved eclipse template files under corresponding gradle's script.
2020-08-31 15:23:35 +02:00
Dawid Weiss
4a2a2da462
LUCENE-9435: revert Solr's packaging stuff for now.
2020-08-31 14:55:59 +02:00
Alexandre Rafalovitch
a8ea6e70eb
Ancient patch file deleted ( #1800 )
2020-08-31 08:41:36 -04:00
Uwe Schindler
bbf3aec38e
LUCENE-9475: Switch validateSourcePatterns away from Ant legacy ( #1806 )
2020-08-31 12:52:04 +02:00
Dawid Weiss
5e8bb7922b
LUCENE-9491: Consolidate test options and improve support for dynamic… ( #1807 )
...
* LUCENE-9491: Consolidate test options and improve support for dynamically computed values.
2020-08-31 12:20:30 +02:00
Robert Muir
4129daa6dd
master is on java 11!
2020-08-31 04:53:44 -04:00
Uwe Schindler
14df77295d
LUCENE-9490: Disable both tasks in :lucene:core on Java 15+
2020-08-31 02:09:13 +02:00
David Smiley
06903a40ee
LUCENE-9456: fix DirectUpdateHandlerTest#testPrepareCommit ( #1803 )
...
Check for specific files being present or not or changing. Don't make assumptions about file count.
2020-08-30 11:32:56 -04:00
Dawid Weiss
d847f40237
LUCENE-9474: make externalTool a function and add a build-stopping message on Windows for snowball generator.
2020-08-30 17:10:18 +02:00
Dawid Weiss
def82ab556
LUCENE-9435: Clean up ant compatability remnants in Gradle build
...
* Removing ant-only unused tasks.
* Correct message in TestVersion.java
* Remove unused file.
* Removing forbidden API rules for ant.
* Remove 'resolve' emulation.
* Move ecj-lint to task-definition-relative folder.
* Remove 'packaging' specification. It'll have to wait until proper new packaging is implemented for Solr distribution.
* Move render-javadoc tasks's files to task-relative location.
* Moved security manager policies and default JDK logging file to gradle's task relative locations.
* Removing obsolete ant tools. Moving check source patterns under gradle's folder.
* Correct paths.
* Correct property name in task selector.
2020-08-30 14:01:04 +02:00
Ilan Ginzburg
a3b3ba10e3
SOLR-14794: pass configuration to Collection API commands ( #1801 )
...
Pass CloudConfig instance representing the solrcloud section of solr.xml configuration from Overseer to the Collection and Config Set API commands it executes.
2020-08-30 11:36:28 +02:00
Dawid Weiss
346dde3395
LUCENE-9490: skip checkMissingDocsDefault on runtime Java > 14.
2020-08-29 17:17:24 +02:00