Commit Graph

33085 Commits

Author SHA1 Message Date
Dawid Weiss 0e686c6701 Merge branch 'gradle-master' of https://gitbox.apache.org/repos/asf/lucene-solr into gradle-master 2020-01-15 09:56:15 +01:00
Mike c9e7eebe28 Add RAT check using Gradle (#1157)
Merging Apache rat checks.
2020-01-15 09:55:41 +01:00
Dawid Weiss 08d2c2d0df Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-15 09:54:45 +01:00
Dawid Weiss 567706041d LUCENE-9117: RamUsageEstimator hangs with AOT compilation. Removed any attempt to estimate Long.valueOf cache size: there will be some resulting overestimation but it shouldn't be harmful. 2020-01-15 09:50:51 +01:00
Mikhail Khludnev 5cf1ffef32 SOLR-12490: Describe json.queries in the ref guide.
Link it from many pages.
Fix a few errors by the way.
2020-01-15 09:04:54 +03:00
Dawid Weiss fb5ba8c9de LUCENE-9117: follow-up. 2020-01-14 16:12:26 +01:00
Dawid Weiss 742301ca15 LUCENE-9117: RamUsageEstimator hangs with AOT compilation. Removed any attempt to estimate Long.valueOf cache size. 2020-01-14 16:05:39 +01:00
Ishan Chattopadhyaya 3e3a0f9bc2 Add back-compat indices for 8.4.1 2020-01-14 19:41:43 +05:30
Ishan Chattopadhyaya e3f3f3bbef Add bugfix version 8.4.1 2020-01-14 18:54:32 +05:30
Ishan Chattopadhyaya 767e97b774 DOAP changes for release 8.4.1 2020-01-14 18:41:23 +05:30
Dawid Weiss 4a8762cc2c Add javadoc generation/linter to precommit. 2020-01-13 19:11:43 +01:00
Dawid Weiss 2992e7dd86 Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-13 19:11:04 +01:00
Dawid Weiss d800b8060b Javadoc workarounds for LUCENE-9132 2020-01-13 19:11:01 +01:00
Dawid Weiss 2cda4184c9 Fix javadoc. 2020-01-13 19:09:56 +01:00
Dawid Weiss 3008dd9526 Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-13 17:55:53 +01:00
Dawid Weiss 7dc4df9524 LUCENE-9126: enable javadoc linting bypassing java bug. Corrected syntax errors so that validations passes but had to disable ALL html checks (tons of them). 2020-01-13 17:50:57 +01:00
Jason Gerlowski 58b3c1f068
SOLR-14186: Re-add CRLF line endings to solr.cmd (#1162) 2020-01-13 10:40:43 -05:00
Jason Gerlowski 5377742a62
SOLR-13985: Bind to localhost interface by default (#1154)
Prior to this commit, Solr's Jetty listened for connections on all
network interfaces. This commit changes it to only listen on localhost,
to prevent incautious administrators from accidentally exposing their
Solr deployment to the world.

Administrators who wish to override this behavior can set the
SOLR_JETTY_HOST property in their Solr include file
(solr.in.sh/solr.in.cmd) to "0.0.0.0" or some other value.

A version of this commit was previously reverted due to inconsistency
between SOLR_HOST and SOLR_JETTY_HOST.  This commit fixes this issue.
2020-01-13 09:42:30 -05:00
0xflotus 5a73ad0178 Two minor Javadoc cleanups (#1002) 2020-01-13 09:22:04 -05:00
Jason Gerlowski 6e4756fd48
SOLR-13890: Add "top-level" DV "terms" implementation (#1151)
{!terms} queries have a docValues-based implementation that uses per-segment DV structures.  This does well with a small to moderate (a few hundred) number of query terms, but doesn't well scale beyond that due to repetitive seeks done on each segment.

This commit introduces an implementation that uses a "top-level" docValues structure, which scales much better to very large {!terms} queries (many hundreds, thousands of terms).
2020-01-13 06:43:21 -05:00
RompotiMiranda e5cff170b7 SOLR-13934: Improve SimplePostTool & bin/post docs (#1013)
Co-Authored-By: RompotiMiranda
2020-01-13 06:34:47 -05:00
Bruno Roustant 0528621d2f
LUCENE-9125: Optimize Automaton.step() with binary search and introduce Automaton.next().
Closes #1160
2020-01-13 10:27:31 +01:00
Dawid Weiss a4a6bada34 Update ICU licenses following master. 2020-01-13 08:41:40 +01:00
Dawid Weiss f9dde4de52 Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-13 08:37:15 +01:00
Erick Erickson 3bae63d215 LUCENE-9080: Upgrade ICU4j to 62.2 and make regenerate work 2020-01-12 17:12:57 -05:00
Chris Hostetter 9a2497f637 SOLR-13486: Fix trivial test bug in TestTlogReplayVsRecovery
Add TODOs for future test improvements once underlying race condition is fixed in core code
2020-01-11 16:48:05 -07:00
Dawid Weiss 3beb1cfd1e Add initial support for rendering javadocs. 2020-01-10 16:43:52 +01:00
Bruno Roustant 0b072ecedb
SOLR-6613: TextField.analyzeMultiTerm does not throw an exception when Analyzer returns no terms. (Bruno Roustant)
Closes #1146
2020-01-10 15:47:00 +01:00
Joel Bernstein d68f3e1a44 SOLR-14130: Improve robustness of the logs parser 2020-01-10 08:39:00 -05:00
Dawid Weiss 5e2396d9fe Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-10 13:00:38 +01:00
Dawid Weiss 34aa8714d8 Correct class->classname. 2020-01-10 12:53:30 +01:00
Dawid Weiss b4d26f94d3 Don't load all of groovy's tasks, just groovy. 2020-01-10 12:51:46 +01:00
Dawid Weiss 39a5323999 Add config file sanity check for precommit. 2020-01-10 12:49:04 +01:00
Dawid Weiss 109444fc5b Add an equivalent of validate-source-patterns task, delegating to the same groovy script. 2020-01-10 12:02:30 +01:00
Ishan Chattopadhyaya 6fb085943c SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:25:44 +05:30
Dawid Weiss d7726495c5 Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-09 19:22:09 +01:00
Dawid Weiss 4599c51f0d LUCENE-9122: add support for running tests against alternate jvms. 2020-01-09 19:00:32 +01:00
Dawid Weiss 52291c8ce8 Remove redundant versions. 2020-01-09 17:44:51 +01:00
Dawid Weiss cf51dfdb37 Silence gradle warnings. We'll deal with them when we upgrade the wrapper. 2020-01-09 17:41:53 +01:00
Dawid Weiss 10baa68b60 Revert "Disable checkUnusedConstraints in palantir's plugin (bug)."
This reverts commit b32db8ee6a.
2020-01-09 17:40:51 +01:00
Adrien Grand 239d9a6726 Revert "LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)"
This reverts commit d0b4a166e0.
2020-01-09 17:37:54 +01:00
Dawid Weiss b32db8ee6a Disable checkUnusedConstraints in palantir's plugin (bug). 2020-01-09 17:05:02 +01:00
Kevin Risden 22155bf7a7
SOLR-14163: SOLR_SSL_CLIENT_HOSTNAME_VERIFICATION needs to work with Jetty server/client SSL contexts
Closes #1147

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-09 10:28:35 -05:00
noble 3b660d6b84 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:17:50 +11:00
Adrien Grand d0b4a166e0
LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)
LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`.

All the metadata can be directly encoded in the `DataOutput`.
2020-01-09 15:16:26 +01:00
Adrien Grand 7ad33c3a98
LUCENE-9115: NRTCachingDirectory shouldn't cache files of unknown size. (#1145) 2020-01-09 15:15:30 +01:00
Adrien Grand b11c3cffe4
LUCENE-9118: BlockTreeTermsReader uses `Arrays#compareUnsigned` to compare suffixes. (#1150) 2020-01-09 15:09:21 +01:00
andywebb1975 ffe75fb441 SOLR-14165: set SolrResponse's serialVersionUID explicitly 2020-01-10 01:04:10 +11:00
Eric Pugh 8718447112 SOLR-13927: Correct v2 /schema APIs in docs (#1010) 2020-01-09 08:58:14 -05:00
Dawid Weiss 0166e89dba Upgrading palantir's plugin to 1.14.0 2020-01-09 14:23:35 +01:00