33066 Commits

Author SHA1 Message Date
Andrzej Bialecki
6244b7150e SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader. 2020-01-20 17:11:47 +01:00
Adrien Grand
bddb06b650 CompetitiveImpactAccumulator should protect its costly invariant checks behind an assert. 2020-01-20 11:16:09 +01:00
Dawid Weiss
351b30489c LUCENE-9077: Enable javac linting as in ant. TONS of warnings are currently printed. 2020-01-20 10:10:48 +01:00
Dawid Weiss
1ad6bc9361 LUCENE-9077: Allow locally staged files in git status precommit check. 2020-01-20 09:36:14 +01:00
Nicholas Knize
aad849bf87 LUCENE-8621: Refactor LatLonShape, XYShape, and all query and utility classes from sandbox to core 2020-01-17 14:34:40 -06:00
Mike
338d386ae0
LUCENE-9145 First pass addressing static analysis (#1181)
Fixed a bunch of the smaller warnings found by error-prone compiler
plugin, while ignoring a lot of the bigger ones.
2020-01-17 13:30:39 -06:00
Mike McCandless
8147e491ce LUCENE-9053: improve FST's package-info.java comment to clarify required (Unicode code point) sort order for FST.Builder 2020-01-17 13:35:05 -05:00
Adrien Grand
fb3ca8d000
LUCENE-9116: Remove long[] from PostingsWriterBase#encodeTerm. (#1149) (#1158)
All the metadata can be directly encoded in the `DataOutput`.
2020-01-17 13:39:45 +01:00
Chris Hostetter
5f2d7c4855 SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose history/branches/lucene-solr/branch_7 2020-01-16 11:47:06 -07:00
Christine Poerschke
94ee211366 Fix 'Restar[t]ing' typo in RecoveryStrategy INFO log message. 2020-01-16 18:13:47 +00:00
Christine Poerschke
f04a5177e6 Update copyright year(s) in lucene/NOTICE.txt and solr/NOTICE.txt files. 2020-01-16 18:13:47 +00:00
Dawid Weiss
1e4565ce26 Don't delete jetty-start when regenerating sha checksums from ant. 2020-01-16 18:58:55 +01:00
Nicholas Knize
78655239c5 LUCENE-8369: Remove obsolete spatial module 2020-01-16 11:22:05 -06:00
Joel Bernstein
35d8e3de6d SOLR-14130: Continue to improve log parsing logic 2020-01-16 11:36:11 -05:00
Cassandra Targett
2adecb1d6d Ref Guide: make single shard requirement for TaggerRequestHandler slightly more prominent and descriptive 2020-01-16 09:18:31 -06:00
Ignacio Vera
eb13d5bc8b
LUCENE-9144: Fix error message on OneDimensionBKDWriter when too many points are added to the writer. (#1178) 2020-01-16 16:11:46 +01:00
Jason Gerlowski
424ace6f5d
SOLR-14186: Enforce CRLF in Windows files with .gitattributes (#1163) 2020-01-16 08:30:39 -05:00
Alan Woodward
7ea7ed72ac LUCENE-9068: Solr query handling code catches FuzzyTermsException 2020-01-16 09:52:18 +00:00
Andrzej Bialecki
543505470c SOLR-14128: Tentative fix: put replicas on other nodes than overseer, wait for
all replicas to complete the reload.
2020-01-16 10:42:26 +01:00
Joel Bernstein
4c473db99d SOLR-14130: Add parsing instructions for different types of query records 2020-01-15 15:01:28 -05:00
Alan Woodward
9d72bfc1af
LUCENE-9068: Build FuzzyQuery automata up-front (#1042)
FuzzyTermsEnum can now either take an array of compiled automata, and
an AttributeSource, to be used across multiple segments (eg during
FuzzyQuery rewrite); or it can take a term, edit distance, prefix and transition
boolean and build the automata itself if only being used once (eg for fuzzy
nearest neighbour calculations).

Rather than interact via attribute sources and specialized attributes, users of
FuzzyTermsEnum can get the boost and set minimum competitive boosts
directly on the enum.
2020-01-15 14:58:11 +00:00
Dawid Weiss
087b2e1c0d LUCENE-9077: Emit the location of test output on failure. 2020-01-15 14:01:20 +01:00
Dawid Weiss
fee8ba6e42 LUCENE-9077: gradle build support.
Merge branch 'gradle-master'
2020-01-15 13:10:33 +01:00
Dawid Weiss
c51a4a030b Merge remote-tracking branch 'origin/master' into gradle-master 2020-01-15 13:00:02 +01:00
Dawid Weiss
0231b93731 Revert "SOLR-12490: corrected link."
This reverts commit 5cb5151421b21f7140f363a7dc6e7a3afa8aeb65.
2020-01-15 12:59:35 +01:00
Dawid Weiss
5cb5151421 SOLR-12490: corrected link. 2020-01-15 12:57:18 +01:00
Ignacio Vera
ff365a0abf
LUCENE-8903: Add LatLonShape point query (#762) 2020-01-15 11:57:53 +01:00
Dawid Weiss
44c203d72f Add workaround for https://github.com/palantir/gradle-consistent-versions/issues/383 2020-01-15 11:44:21 +01:00
Mikhail Khludnev
0e4abf7179 SOLR-12490: reverting ref-guide-fix. 2020-01-15 13:08:05 +03:00
Dawid Weiss
ae2e4f3ae9 Add git help to help/ 2020-01-15 10:40:41 +01:00
Dawid Weiss
e6d85cd4bc Cleaning up minor things in rat task. 2020-01-15 10:07:24 +01:00
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