Commit Graph

34916 Commits

Author SHA1 Message Date
Dawid Weiss 4ab4ab1e67 LUCENE-9375: check gh actions 2021-03-10 11:33:47 +01:00
Dawid Weiss fdf486ba54 LUCENE-9375: post-repo-split removal of solr counterpart. 2021-03-10 11:20:08 +01:00
Andrzej Bialecki 7ada403218 SOLR-14749: Make sure the plugin config is reloaded on Overseer. 2021-03-09 16:58:29 +01:00
Ignacio Vera 578b2aea8f
LUCENE-9580: Fix bug in the polygon tessellator when introducing collinear edges during polygon splitting (#2452) 2021-03-09 08:50:58 +01:00
Dawid Weiss 8969225bd2 LUCENE-8626: correct test suite name. 2021-03-09 08:33:05 +01:00
Ignacio Vera 144ef2a0c0
LUCENE-9705: Create Lucene90StoredFieldsFormat (#2444) 2021-03-09 08:11:59 +01:00
David Smiley cf1025e576
SOLR-2852: SolrJ: remove Woodstox dependency (#2461)
It was never truly required there.
Pervasive use of "javabin" reduces the need to care about client-side XML speed.  Better to reduce dependencies and let clients use the libs they want.
2021-03-09 00:27:03 -05:00
Christine Poerschke 419db23041
LUCENE-8626: enforce name standardisation for org.apache.lucene tests (#2441)
Co-authored-by: Dawid Weiss <dweiss@apache.org>
2021-03-08 15:30:59 +00:00
Jan Høydahl 605d3a00bb
SOLR-15163 Update DOAP file for solr TLP (#2464) 2021-03-08 15:48:17 +01:00
Dawid Weiss b591daad38 SOLR-14759: correct build logic. 2021-03-08 15:04:20 +01:00
Dawid Weiss 409bc37c13
SOLR-14759: a few initial changes so that Lucene can be built independently while Solr code is still in place. (#2448) 2021-03-08 14:59:08 +01:00
Mike Drob 408b3775dd
SOLR-14759 fix tests that need on lucene test-src (#2462)
Rewrite one, ignore the other two.
2021-03-08 14:32:40 +01:00
Christine Poerschke d53b3da0ea
LUCENE-8626: standardise 3 more Lucene test names (#2440) 2021-03-08 13:21:52 +00:00
Joel Bernstein e9ddaaca51 SOLR-15193: Fix typo 2021-03-07 20:37:07 -05:00
Joel Bernstein 140c37eb0f SOLR-15193: Improve maxDocFreq docs 2021-03-07 20:31:21 -05:00
Tomoko Uchida 606cea94d7 LUCENE-9322: trivial fix in documentation. 2021-03-07 21:54:58 +09:00
Tomas Fernandez Lobbe 03aec55f1e SOLR-15154: Close Reader used for credentials file 2021-03-05 21:38:33 -08:00
Houston Putman 895deb89e6
Install ACL package for Solr Docker tests Github action (#2463)
ACL is no longer provided by default in Ubuntu 20.04

Other changes:
- Made tests easier to debug
- Removed two inconsequential lines from the Dockerfile
2021-03-05 18:29:39 -05:00
Tomas Fernandez Lobbe fe33a436a0
SOLR-15154: Let Http2SolrClient pass Basic Auth credentials to all requests (#2445)
Credentials can now be set explicitly at the client level, or can be read from System properties like in the previous version of the client when using PreemptiveBasicAuthClientBuilderFactory. Other implementations of HttpClientBuilderFactory can now also be used.
2021-03-05 10:51:22 -08:00
David Smiley f36a867bd0
SOLR-15219: Fix TestPointFields integer overflow (#2460)
And also restore it's getRandomInts(..,..,bound) semantics to what it was -- positive or negative random values.
2021-03-05 13:42:13 -05:00
Peter Gromov 99a4bbf3a0
LUCENE-9824: Hunspell suggestions: speed up ngram score calculation for each dictionary entry (#2457) 2021-03-05 10:00:02 -05:00
Joel Bernstein 6e67b9f959 SOLR-15193: Fix wording 2021-03-05 09:17:44 -05:00
Joel Bernstein 36386f4832 SOLR-15193: Fix wording 2021-03-05 09:14:48 -05:00
Joel Bernstein eb0c04b752 SOLR-15193: Add maxDocFreq docs 2021-03-05 09:11:59 -05:00
David Smiley ddbd3b88ec
SOLR-15185: Optimize Hash QParser (#1524)
used in parallel() streaming expression.  Hash algorithm is different.
* Simpler
* Don't use Filter (to be removed)
* Do use TwoPhaseIterator, not PostFilter
* Don't pre-compute matching docs (wasteful)
* Support more fields, and more field types
* Faster hash on Strings (avoid Char conversion)
* Stronger hash when using multiple fields
2021-03-04 23:43:16 -05:00
Robert Muir 8e337ab63f
LUCENE-9822: Assert that ForUtil.BLOCK_SIZE can be PFOR-encoded in a single byte
For/PFor code has BLOCK_SIZE=128 as a static final constant, with a lot
of assumptions and optimizations for that case. For example it will
encode 3 exceptions at most and optimizes the exception encoding with a
single byte.

This would not work at all if you changed the constant in the code to
something like 512, but an assertion at an early stage helps make
experimentation less painful, and better "documents" the assumption of how
the exception encoding currently works.
2021-03-04 18:59:03 -05:00
Peter Gromov 231e3afe06
LUCENE-9687: Hunspell suggestions: reduce work in the findSimilarDictionaryEntries loop (#2451)
The loop is called a lot of times, and some allocations and method calls can be spared
2021-03-04 17:56:11 -05:00
Bruno Roustant 19e6560b7f
Restore read-only permission in solr-tests.policy 2021-03-04 16:20:17 +01:00
noblepaul 0e37835e0b DOAP changes for release 8.8.0 2021-03-04 22:55:30 +11:00
Thomas Wöckinger 8d62e2723a SOLR-15191: Fix EnumFieldTest
(9x/8x difference)
2021-03-03 21:41:22 -05:00
Eric Pugh c974b233e4
SOLR-15204: Document bin solr zk and zkcli (#2437)
* Update examples to use bin/solr zk
2021-03-03 14:43:01 -05:00
Christine Poerschke d822a38a48
SOLR-15206: improve CoreContainer constructor javadocs (#2443) 2021-03-02 13:44:24 +00:00
zacharymorn 6ba9fe5be3
LUCENE-9406: Add IndexWriterEventListener to track events in IndexWriter (#2342) 2021-03-02 09:54:08 +01:00
百岁 8b443420b8
SOLR-15100: make ConfigSetService configurable in solr.xml (#2343) 2021-03-01 22:27:37 -05:00
Michael Sokolov 9e8207a558 LUCENE-9819: fix random failures in TestKnnGraph due to insufficient graph connectivity 2021-03-01 17:43:35 -05:00
Joel Bernstein 17c6a7c37f SOLR-15193: Improve formatting 2021-03-01 14:19:17 -05:00
Joel Bernstein 53deb6f735 SOLR-15132: Update CHANGES.txt 2021-03-01 10:41:18 -05:00
Dawid Weiss 7dc43f46fd
LUCENE-9818: print slowest suites, add an option to enable/ disable the function from options. (#2439) 2021-03-01 16:02:18 +01:00
Andrzej Bialecki 2c5b86b673 SOLR-15130: Support for per-collection replica placement node sets, a.k.a "node type"
placements.
2021-03-01 15:21:54 +01:00
Dawid Weiss ef3a23b3d0 LUCENE-9793: add task length reporting for github PRs. 2021-03-01 11:19:47 +01:00
Robert Muir dade99cb4d
LUCENE-9816: lazy-init LZ4-HC hashtable in BlockTreeTermsWriter
LZ4-HC hashtable is heavy (128kb int[] + 128kb short[]) and must be
filled with special values on initialization. This is a lot of overhead
for fields that might not use the compression at all.

Don't initialize this for a field until we see hints that the data might
be compressible and need to use the table in order to test it out.
2021-02-28 17:54:30 -05:00
Robert Muir 96eb043131
fix TestKnnGraph test failure if it gets SimpleText
This test reaches into lucene90 internals, fails with classcastexception
if it happens to get simpletext.
2021-02-28 14:43:36 -05:00
Ilan Ginzburg 1fff174690
SOLR-14928: add exponential backoff wait time when Compare And Swap fails in distributed cluster state update due to concurrent update (#2438) 2021-02-28 00:53:42 +01:00
Thomas Wöckinger 988a16fe95 SOLR-15191: Fix JSON faceting on EnumFieldType (#2426)
* Fix JSON Faceting on EnumFieldType if allBuckets, numBuckets or missing is set.
* Enhance hash method of JSON faceting to support EnumFieldType and perhaps some other/custom field types

Co-authored-by: Thomas Wöckinger <two@silbergrau.com>
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-02-27 14:35:29 -05:00
Eric Pugh d4fb023756
SOLR-15194: relax requirements and allow http urls. (#2430)
Relax the need for https urls for JWT IDP's if you pass in solr.auth.jwt.allowOutboundHttp=true system property.
2021-02-27 09:13:51 -05:00
Robert Muir 6348c284fd
Merge branch 'master' of https://gitbox.apache.org/repos/asf/lucene-solr 2021-02-26 20:27:23 -05:00
Robert Muir 373e1d6c83
LUCENE-9814: fix extremely slow 7.0 backwards tests in master
The 7.0 backwards tests added to master must have come from an older
branch before they were fixed: they've added minutes to my test times.

These tests have already been fixed in master, so that the crazy
corner-case stress tests are only running slowly in jekins and we dont
have 15-30s long tests locally.

Re-applying same fixes to 7.0 tests removes minutes from my test times.
2021-02-26 20:24:01 -05:00
Christine Poerschke e88b3e9c20 Fix 'invoke' typo in UUIDUpdateProcessorFactory javadocs. 2021-02-26 17:38:06 +00:00
Peter Gromov 4f6469b173
LUCENE-9812: Hunspell: honor empty stripping affixes when generating suggestions (#2432) 2021-02-26 00:24:57 -05:00
zacharymorn 5bca3d1960
LUCENE-9639: Implements SimpleTextVectorReader#ramBytesUsed (#2433)
* Use single class imports
2021-02-25 21:32:34 -05:00