David Smiley
7b3980c080
SOLR-14364: LTR SolrFeature fq improvements
...
Mostly general code improvements, though it should support postFilters now
Add QueryUtils.combineQueryAndFilter
2020-04-03 19:20:55 -04:00
Jan Høydahl
d7494699ed
SOLR-14359: Remove apache header from MIT licensed js file
2020-04-03 23:53:21 +02:00
Jan Høydahl
234e78350d
SOLR-14359: Admin UI collection/core drop-downs had wrong placeholder text ( #1400 )
2020-04-03 23:16:11 +02:00
Christine Poerschke
ac2837cfbd
SOLR-14378: Factor a FilterFeatureScorer class out from (contrib/ltr) OriginalScoreScorer.
2020-04-03 11:19:03 +01:00
Cao Manh Dat
28dea8d327
SOLR-14356: PeerSync should not fail with SocketTimeoutException from hanging nodes
2020-04-03 09:39:29 +07:00
Mike Drob
e25ab4204f
LUCENE-9266 remove gradle wrapper jar from source
...
ASF Release Policy states that we cannot have binary JAR files checked
in to our source releases, a few other projects have solved this by
modifying their generated gradlew scripts to download a copy of the
wrapper jar.
We now have a version and checksum file in ./gradle/wrapper directory
used for verifying the wrapper jar, and will take advantage of single
source java execution to verify and download.
The gradle wrapper jar will continue to be available in the git
repository, but will be excluded from src tarball generation. This
should not change workflows for any users, since we expect the gradlew
script to get the jar when it is missing.
Co-authored-by: Dawid Weiss <dweiss@apache.org>
2020-04-02 11:30:01 -05:00
Eric Pugh
927587d8ad
fix typo ( #1302 )
2020-04-02 10:38:15 -05:00
Chris Hostetter
f779bc632d
SOLR-14307: User defined "<cache/>" entries in solrconfig.xml now support enabled="true|false" just like core searcher caches.
2020-04-01 11:29:08 -07:00
Jason Gerlowski
1f5705ff5c
SOLR-14363: Separate /get requests into their own type designation ( #1379 )
2020-04-01 08:41:48 -04:00
Erick Erickson
1ca7067a81
SOLR-12028: BadApple and AwaitsFix annotations usage, Unannotated tests that haven't failed in a while
2020-03-30 20:37:55 -04:00
Erick Erickson
5c2011a6fb
SOLR-14367: Upgrade Tika to 1.24
2020-03-29 08:48:00 -04:00
Ishan Chattopadhyaya
782ded2d7a
SOLR-14317: HttpClusterStateProvider throws exception when only one node down ( Closes #1342 )
2020-03-29 07:20:32 +05:30
Munendra S N
9de6811706
SOLR-13893: remove deprecated runtme.lib.size sys property
2020-03-28 11:59:30 +05:30
Munendra S N
1a2325a08f
SOLR-13893: fix typo in BlobRepository's max jar size sys property
...
* runtime.lib.size is the new property name
2020-03-28 11:53:21 +05:30
Munendra S N
132228d450
SOLR-14344: remove deprecated HttpSolrClient's Remote*Exception
...
* All usages are replaced by BaseHttpSolrClient's Remote*Exception
2020-03-28 11:36:06 +05:30
Munendra S N
15330a8541
SOLR-14329: support choosing expand field from multiple collapse group
...
* The collapse group with low cost is given higher priority. If
there are multiple groups with same cost then, first such
group is chosen
2020-03-28 11:23:45 +05:30
Munendra S N
7a83f09fbc
SOLR-13842: remove redundant defaults from implictPlugins
...
* From 7.0, wt=json is the default and indent=true is the
default. So, remove them from implicitPlugin defaults
2020-03-28 11:17:22 +05:30
Mike
ac866a67de
Remove CurrentCoreDescriptorProvider ( #1384 )
...
* Remove CurrentCoreDescriptorProvider
Replace `CurrentCoreDescriptorProvider` with a functional interface so
that it is easier to construct since all implementations in our code
base were anonymous classes anyway. Added Javadocs explaining the
usage instead of relying on class name to convey information.
2020-03-27 16:31:37 -05:00
David Smiley
a0b0c710b5
SOLR-14342: Improve core loading order in SolrCloud.
...
Makes collections available sooner and reduces leaderVoteWait timeouts in large SolrCloud clusters.
This fixes a previous attempt to do this.
Fixes #1366
2020-03-26 23:44:20 -04:00
Andy Throgmorton
d1601f6fdf
SOLR-14260: SolrJ pluggable ConnectionSocketFactory in HttpClientUtil
...
see SocketFactoryRegistryProvider
Fixes #1261
2020-03-26 22:15:50 -04:00
Mike Drob
a31ecd2eb8
SOLR-14322 Improve AbstractFullDistribZkTestBase.waitForThingsToLevelOut
2020-03-26 17:38:05 -05:00
David Smiley
ea864b43a3
SOLR-13659: Remove unused SolrCacheHolder
...
accidental leftover from reverted plugin work
2020-03-26 17:35:24 -04:00
Chris Hostetter
255132fc1c
SOLR-14302: Ensure Solr always includes the stacktrace for exceptions by using '-OmitStackTraceInFastThrow'
2020-03-26 10:39:04 -07:00
Andrzej Bialecki
b0728ceca6
SOLR-14128: Improve distributed locking around managed schema upgrade process.
2020-03-25 22:19:38 +01:00
Eric Pugh
4f03ce5899
SOLR-14284 add expressible support to list, and add example of removing a component ( #1292 )
...
* add expressible support to list, and add example of removing a component
* document actions that can be passed to the /stream request handler
* responding to content feedback
2020-03-25 13:53:51 -05:00
Mike
8d937c1dc3
SOLR-14274 Do not register multiple sets of JVM metrics ( #1299 )
2020-03-25 13:48:17 -05:00
Uwe Schindler
2c7a710945
LUCENE-9281: Retire SPIClassIterator from master because Java 9+ uses different mechanism to load services when module system is used ( #1360 )
...
LUCENE-9281: Use java.util.ServiceLoader to load codec components and analysis factories to be compatible with Java Module System
2020-03-25 18:03:36 +01:00
mariemat
aad814ba63
SOLR-14340: Remove unnecessary configset verification checks
...
Improves CLUSTERSTATUS times for massive clusters.
Closes #1373
2020-03-24 15:34:20 -04:00
Andrzej Bialecki
68e4304453
SOLR-14347: Autoscaling placement wrong when concurrent replica placements are calculated.
2020-03-23 18:21:40 +01:00
Munendra S N
7f460faffb
fix typos in subquery doc transformer
2020-03-23 19:57:46 +05:30
Munendra S N
5630619dfd
SOLR-14343: set initcapacity properly in NamedList
...
* This is when map or map.entry array is passed in constructor
2020-03-23 19:54:54 +05:30
Munendra S N
06fd70fc0f
SOLR-14348: split TestJsonFacets to multiple test classes
...
* TestJsonFacet split into 3 classes, TestsJsonFacets, TestJsonFacetErrors
and TestJsonRangeFacet
* TestJsonFacets contains mainly terms faceting and stats
* range facet covers distributed cases too
2020-03-23 19:50:58 +05:30
David Smiley
ae2eadb592
solr-upgrade-notes.adoc: highlighter sizing is different
2020-03-19 21:29:08 -04:00
Erick Erickson
5fd55d77e9
SOLR-12353: SolrDispatchFilter expensive non-conditional debug line degrades performance
2020-03-19 15:26:44 -04:00
Munendra S N
e36733d01d
SOLR-14350: fix test failure due to SOLR-14012
2020-03-19 22:43:29 +05:30
Munendra S N
78e670f19e
SOLR-14012: return long from unique and hll even for standalone
2020-03-19 19:21:57 +05:30
Munendra S N
e9d6c24fb7
SOLR-11725: use corrected sample formula to calc stdDev in JSON facets
...
* Both stdDev and variance uses corrected sample formula to compute
the values. This is similar to StatsComponent
2020-03-19 19:21:57 +05:30
David Smiley
4fd96bedc2
SOLR-14256: replaced EMPTY with empty() to fix deadlock
2020-03-18 08:31:29 -04:00
Munendra S N
7f37a55a8c
SOLR-13944: remove redundant checks in SpellCheckCollator
...
* After SOLR-14073, these checks become redundant and add
additional tests for spellcheck with collapse
2020-03-18 10:51:50 +05:30
Munendra S N
0b063fd2b7
SOLR-10157: improve error message in case of unknown aggregations
2020-03-18 10:46:57 +05:30
Munendra S N
6a59d443bc
LUCENE-8908: return def val from objectVal when exists returns false
...
* This behavior is similar to floatVal in QueryValueSource
2020-03-18 10:41:13 +05:30
Munendra S N
2b327e5deb
SOLR-13199: Fix NPE in ChildDocTransformer when parenFilter is invalid
...
* Return proper error message and error code
2020-03-18 10:32:28 +05:30
Munendra S N
a1485ab92b
SOLR-14338: add missing close list tag in CDCR documentation
2020-03-18 09:26:59 +05:30
ameliahenderson
fda935482b
SOLR-8306: Optimize expand.rows=0 to compute only total hits ( #1334 )
...
* When expand.rows=0, expand documents are not returned. So, computing them could be avoided and only total hits need to be computed
2020-03-18 09:23:04 +05:30
Dawid Weiss
7fe6f9c57d
LUCENE-9279: Update dictionary version for Ukrainian analyzer (with corrected checksums).
2020-03-16 21:47:14 +01:00
Dawid Weiss
1abed9ab22
Revert "LUCENE-9279: Update dictionary version for Ukrainian analyzer ( #1354 )"
...
This reverts commit 73b618a55c
.
2020-03-16 21:19:05 +01:00
Jason Gerlowski
6ae69d361c
Document sort param tiebreak logic ( #1349 )
2020-03-16 07:59:25 -04:00
erick
6c1d992fad
SOLR-14312: SOLR-14296: Upgrade Zookeeper to 3.5.7, Update netty to 4.1.47
2020-03-15 22:11:49 -04:00
arysin
73b618a55c
LUCENE-9279: Update dictionary version for Ukrainian analyzer ( #1354 )
2020-03-15 22:17:05 +01:00
David Smiley
cbd0dcb5df
SOLR-14254: Docs for text tagger: FST50 trade-off ( #1332 )
2020-03-13 22:02:01 -04:00
Mike Drob
adb829cf35
[logging] log actual size of transient core cache
2020-03-13 15:45:52 -05:00
Mike
74721fa4c6
SOLR-14289 Skip ZkChroot check when not necessary ( #1298 )
2020-03-13 13:56:17 -05:00
Andrzej Bialecki
0f10b5f042
SOLR-13264: IndexSizeTrigger aboveOp / belowOp properties not in valid properties.
2020-03-13 12:30:17 +01:00
Alan Woodward
c266044d06
Add LZ4 NOTICE section from lucene to solr NOTICE.txt
2020-03-12 17:19:26 +00:00
Aroop
9a8602c96e
SOLR-14316: Fix unchecked type warning in JavaBinCodec ( #1344 )
...
Fix an unchecked type conversion warning in JavaBinCodec's readMapEntry's equals() method
Add test
Co-authored-by: Aroop Ganguly <aroop_ganguly@apple.com>
2020-03-12 09:55:01 -07:00
Alan Woodward
8a940e7971
LUCENE-9171: Add CHANGES entry
...
SOLR-12238: Add CHANGES entry
2020-03-12 09:21:14 +00:00
Cassandra Targett
32a2076c60
LUCENE-9229: fix Ref Guide broken links
2020-03-11 10:24:20 -05:00
David Smiley
732348ec7f
SOLR-14197: SolrResourceLoader refactorings to reduce API
...
* Remove SRL.listConfigDir (unused)
* Remove SRL.getDataDir
* Remove SRL.getCoreName
* Remove SRL.getCoreProperties
XmlConfigFile needs to be passed in the substitutableProperties
IndexSchema needs to be passed in the substitutableProperties
Remove redundant Properties from CoreContainer constructors
* Remove SRL.newAdminHandlerInstance (unused)
* Remove SRL.openSchema and openConfig
* Avoid SRL.getConfigDir
Also harmonized similar initialization logic between DIH Tika processor & ExtractingRequestHandler.
* Ensure SRL.addToClassLoader and reloadLuceneSPI are called at most once
Don't auto-load "lib" in constructor; wrong place for this logic.
* Avoid SRL.getInstancePath
Added SolrCore.getInstancePath instead
Use CoreContainer.getSolrHome instead
NodeConfig should track solrHome separate from SolrResourceLoader
* Simplify some SolrCore constructors
* Move locateSolrHome to new SolrPaths
* Move "User Files" stuff to SolrPaths
2020-03-11 09:20:28 -04:00
Anshum Gupta
9842744956
Add 8.6 section to solr CHANGES.txt ( #1337 )
2020-03-11 00:16:27 -07:00
Joel Bernstein
193e4a6423
SOLR-14139: Update CHANGE.txt
2020-03-10 09:09:42 -04:00
Joel Bernstein
e6616ba7a3
SOLR-14073: Update CHANGES.txt
2020-03-09 19:11:48 -04:00
Joel Bernstein
01688cd8f1
SOLR-14073: Fix segment look ahead NPE in CollapsingQParserPlugin
2020-03-08 20:26:04 -04:00
Paul Pazderski
320578274b
LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal option
2020-03-07 21:32:40 +09:00
David Smiley
0c261f4215
CHANGES.txt: 8.5: re-categorize issues
2020-03-06 21:02:52 -05:00
noble
4cf37ade35
Revert "SOLR-13942: /api/cluster/zk/* to fetch raw ZK data"
...
This reverts commit bc6fa3b650
.
2020-03-06 23:08:34 +11:00
Yannick Welsch
8a88dd02c6
Remove SimpleFSDirectory in favor of NIOFSDirectory
2020-03-06 00:04:25 +01:00
Jan Høydahl
ceb90ce0e8
LUCENE-9016: RefGuide meta doc for how to publish website ( #1291 )
2020-03-05 18:17:35 +01:00
Cassandra Targett
74b9ba396c
SOLR-14147: comment out for now link to security manager docs in upgrade notes that don't exist on master
2020-03-05 06:16:07 -06:00
Cassandra Targett
f6afb8b165
Ref Guide/CHANGES: fix typos in page refs and format of CHANGES entry
2020-03-04 16:25:14 -06:00
Cassandra Targett
e8828f2a1c
Ref Guide: move 9.0 changes to 9.0 page; prep 8.5 notes for release; add missing change to CHANGES.txt
2020-03-04 16:20:42 -06:00
Tomas Fernandez Lobbe
2cabeb924d
Add try-with-resources to CloudManager in tests ( #1315 )
2020-03-04 13:32:44 -08:00
Mike Drob
dd9b9f2f7f
SOLR-14223 Fix tests for windows
2020-03-04 10:50:00 -08:00
Tomas Fernandez Lobbe
4d2d052b7d
Fix resource leak in TestPolicyCloud ( #1312 )
2020-03-03 11:42:20 -08:00
Cassandra Targett
fa6166f261
SOLR-14286: jvm-settings.adoc: minor typos; add links to external resources
2020-03-03 12:34:02 -06:00
Christine Poerschke
4a0063f04a
Fix spellcheck.queryAnalyzerField[t-->T]ype typo in Solr Ref Guide.
...
(Carlos Sponchiado via Christine Poerschke)
2020-03-03 18:32:08 +00:00
Noble Paul
bc6fa3b650
SOLR-13942: /api/cluster/zk/* to fetch raw ZK data
2020-03-03 22:36:17 +11:00
Pushkar Raste
17c576a36f
SOLR-14299 IndexFetcher doesn't reset count to 0 after the last packet is received
2020-03-02 16:26:25 -08:00
Cassandra Targett
422d994612
SOLR-14241: fix typos & incorrect example param
2020-03-02 16:53:12 -06:00
Cassandra Targett
27523b5e40
SOLR-14270: Move .gz example to CLI page; Remove bin/solr export from command-line-utilities.adoc
2020-03-02 16:53:12 -06:00
Cassandra Targett
a7ebe0c906
Ref Guide: Add license header, typos in Package Manager docs
2020-03-02 15:44:55 -06:00
Cassandra Targett
153d7bcfee
Ref Guide: standardize i.e., e.g., spellings; fix typos
2020-03-02 15:44:55 -06:00
Shalin Shekhar Mangar
4897a64713
SOLR-13996: Rename LegacyReplicaSource to StandaloneReplicaSource
2020-03-01 07:00:51 +05:30
Tomoko Uchida
5f9bf6b707
SOLR-14295: Add the parameter description about 'discardCompoundToken' for JapaneseTokenizer in RefGuide
2020-02-29 17:43:25 +09:00
Jan Høydahl
198d9db674
SOLR-14287: Admin UI Properties screen does not show colons ( #1300 )
2020-02-28 10:32:09 +01:00
Cao Manh Dat
3ad9915547
SOLR-14286: Try and fix sha1 file.
2020-02-28 08:35:29 +07:00
Jan Høydahl
62f5bd50cd
SOLR-14281: Make sharedLib configurable through SysProp ( #1288 )
2020-02-27 14:16:33 +01:00
Andrzej Bialecki
c6bf8b6cec
SOLR-14252: NullPointerException in AggregateMetric.
2020-02-27 13:00:43 +01:00
Mikhail Khludnev
3befb8be94
SOLR-13411: reject incremental update for route.field, uniqueKey and
...
_version_.
2020-02-27 14:51:34 +03:00
Cao Manh Dat
d9c43d9fa3
SOLR-14286: Fix gradle precommit
2020-02-27 18:24:39 +07:00
Cao Manh Dat
043a3cf849
SOLR-14286: Move entry in CHANGES.txt to 8.5.0
2020-02-27 15:13:22 +07:00
Cao Manh Dat
e059455004
SOLR-14286: Update sha files
2020-02-27 15:07:03 +07:00
Cao Manh Dat
666bd493c8
SOLR-14286: Upgrade Jaegar to 1.1.0
2020-02-27 14:51:45 +07:00
noble
edefcf156b
SOLR-14270: fix incorrect date format
2020-02-27 17:28:31 +11:00
Christine Poerschke
fc24fa9506
SOLR-14267: complete <query><HashDocSet> solrconfig.xml removal
2020-02-26 17:47:25 +00:00
Eric Pugh
b4f3efbf94
SOLR-13965: In GraphHandler, support <expressible> configuration and deprecate <streamFunctions> configuration.
...
(Eric Pugh via Christine Poerschke)
Closes #1033 pull request.
2020-02-26 17:36:33 +00:00
Alan Woodward
98dafe2e10
LUCENE-9207: Don't build span queries in QueryBuilder ( #1239 )
...
QueryBuilder currently has special logic for graph phrase queries with no slop,
constructing a spanquery that attempts to follow all paths using a combination of
OR and NEAR queries. However, this type of query has known bugs(LUCENE-7398).
This commit removes this logic and just builds a disjunction of phrase queries, one
phrase per path.
2020-02-26 14:32:34 +00:00
Chris Hostetter
852f02b4b7
Some additional testing to prove 'defered function computation' in a syntax variant i was recently asked about
2020-02-25 13:21:13 -07:00
David Smiley
50a7075862
SOLR-14256: Remove HashDocSet; add DocSet.getBits.
...
* DocSet is now fixed at two implementations, read-only and doc ordered.
* DocSetBase removed; not needed anymore. DocSet is now an abstract class.
2020-02-25 09:48:20 -05:00
David Smiley
25892271e8
SOLR-14258: DocList should not extend DocSet
2020-02-25 09:39:43 -05:00
Mike
1770797387
SOLR-14223 Create RSAKeyPair from disk ( #1217 )
...
* Create properties for PublicKeyHandler to read existing keys from disk
* Move pregenerated keys from core/test-files to test-framework
* Update tests to use existing keys instead of new keys each run
2020-02-24 12:07:10 -08:00
Anshum Gupta
7ba9d4d756
SOLR-14272: Remove autoReplicaFailoverBadNodeExpiration and autoReplicaFailoverWorkLoopDelay for 9.0 as it was deprecated in 7.1 ( #1269 )
...
* SOLR-14272: Remove autoReplicaFailoverBadNodeExpiration and autoReplicaFailoverWorkLoopDelay for 9.0 as it was deprecated in 7.1
2020-02-24 09:46:05 -08:00
Alessandro Benedetti
663611c99c
[SOLR-12238] Synonym Queries boost ( #357 )
...
SOLR-12238: Handle boosts in QueryBuilder
QueryBuilder now detects per-term boosts supplied by a BoostAttribute when
building queries using a TokenStream. This commit also adds a DelimitedBoostTokenFilter
that parses boosts from tokens using a delimiter token, and exposes this in Solr
2020-02-24 10:29:41 +00:00
Jan Høydahl
57c7139ea3
SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production ( #1273 )
2020-02-24 09:59:33 +01:00
Jan Høydahl
8b98befe93
SOLR-10306: Document in Reference Guide how to disable or reduce swapping ( #1256 )
2020-02-24 09:50:01 +01:00
Anshum Gupta
bc41f25cc9
SOLR-14271: Delete CollectionsAPIAsyncDistributedZkTest.testAsyncIdBackCompat as that is no longer required ( #1275 )
2020-02-21 09:53:10 -08:00
Erick Erickson
292bed0c42
SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload
2020-02-21 10:57:16 -05:00
Jan Høydahl
89b13377a1
SOLR-14250: Do not log error when trying to consume non-existing input stream due to Expect: 100-continue ( #1250 )
2020-02-21 10:30:10 +01:00
Noble Paul
9f3f7244ac
SOLR-14270 export command to have an option to write to a zip file ( #1266 )
2020-02-21 13:41:50 +11:00
Mike Drob
79966132fc
SOLR-14264 Set minimum gzip size for responses
2020-02-20 17:14:21 -06:00
Anshum Gupta
cea4226367
SOLR-14271: Remove duplicate async id check meant for pre Solr 8 versions ( #1268 )
...
* SOLR-14271: Remove duplicate async id check meant for pre Solr 8 versions
2020-02-20 15:13:05 -08:00
Shalin Shekhar Mangar
2fdd3b02bb
SOLR-12550: Adding entry to CHANGES.txt
2020-02-20 04:33:53 -08:00
Marc A. Morissette
051133c13f
SOLR-12550: ConcurrentUpdateSolrClient doesn't respect timeouts for commits and optimize ( #417 )
...
ConcurrentUpdateSolrClient now propagates its connection and read timeouts to the private HttpSolrClient used to commit and optimize.
2020-02-20 04:29:20 -08:00
Mikhail Khludnev
001a35cc06
SOLR-14263: stripping .adoc to fix build.
2020-02-19 13:53:12 +03:00
Jan Høydahl
8389b87e39
LUCENE-9229: Fix some broken links
...
Change some wiki -> cwiki links
Signed-off-by: Jan Høydahl <janhoy@apache.org>
2020-02-19 10:33:26 +01:00
Erick Erickson
aa130c4259
SOLR-14263: Update jvm-settings.adoc
2020-02-18 16:44:51 -05:00
Dawid Weiss
2a88aa9d0f
LUCENE-9219: Port ECJ-based linter to gradle
...
Co-authored-by: Tomoko Uchida <tomoko@apache.org>
2020-02-19 02:43:47 +09:00
Christine Poerschke
003303a9cc
SOLR-13041: Add hashCode for autoscaling.Condition to accompany the already present equals.
...
(Zsolt Gyulavari via Christine Poerschke)
2020-02-18 14:47:44 +00:00
Eric Pugh
f23def6b72
SOLR-13965: s/StreamHandler/GraphHandler fix GraphHandler.getDescription()
...
(Eric Pugh via Christine Poerschke)
2020-02-18 14:32:52 +00:00
Eric Pugh
5d32c04096
SOLR-13965: StreamHandler class-level javadoc edits
...
(Eric Pugh via Christine Poerschke)
2020-02-18 14:31:44 +00:00
Robert Muir
0203815ab2
LUCENE-9220: regenerate all stemmers/stopwords/test data from snowball 2.0 ( #1262 )
...
Previous situation:
* The snowball base classes (Among, SnowballProgram, etc) had accumulated local performance-related changes. There was a task that would also "patch" generated classes (e.g. GermanStemmer) after-the-fact.
* Snowball classes had many "non-changes" from the original such as removal of tabs addition of javadocs, license headers, etc.
* Snowball test data (inputs and expected stems) was incorporated into lucene testing, but this was maintained manually. Also files had become large, making the test too slow (Nightly).
* Snowball stopwords lists from their website were manually maintained. In some cases encoding fixes were manually applied.
* Some generated stemmers (such as Estonian and Armenian) exist in lucene, but have no corresponding `.sbl` file in snowball sources at all.
Besides this mess, snowball project is "moving along" and acquiring new languages, adding non-BSD-licensed test data, huge test data, and other complexity. So it is time to automate the integration better.
New situation:
* Lucene has a `gradle snowball` regeneration task. It works on Linux or Mac only. It checks out their repos, applies the `snowball.patch` in our repository, compiles snowball stemmers, regenerates all java code, applies any adjustments so that our build is happy.
* Tests data is automatically regenerated from the commit hash of the snowball test data repository. Not all languages are tested from their data: only where the license is simple BSD. Test data is also (deterministically) sampled, so that we don't have huge files. We just want to make sure our integration works.
* Randomized tests are still set to test every language with generated fake words. The regeneration task ensures all languages get tested (it writes a simple text file list of them).
* Stopword files are automatically regenerated from the commit hash of the snowball website repository.
* The regeneration procedure is idempotent. This way when stuff does change, you know exactly what happened. For example if test data changes to a different license, you may see a git deletion. Or if a new language/stopwords/test data gets added, you will see git additions.
2020-02-17 12:38:01 -05:00
Claire Pollard
188f620208
Update README.txt ( #1090 )
...
Update the analysis-extras README to include reference to including solr-analysis-extras jar.
2020-02-15 22:57:46 +01:00
Maxim Antonov
cbf0eba176
Fixes #124 in bin/solr for 'cdpath' users
...
Signed-off-by: Jan Høydahl <janhoy@apache.org>
2020-02-15 18:10:14 +01:00
Chris Hostetter
f549ee3535
SOLR-13794: Replace redundent test only copy of '_default' configset with SolrTestCase logic to correctly set 'solr.default.confdir' system property
...
This change allows us to remove kludgy test only code from ZkController
2020-02-14 11:36:53 -07:00
Erick Erickson
f52676cd82
LUCENE-9224: (ant) RAT report complains about ... solr/webapp rat-report.xml (from gradle)
2020-02-14 10:46:44 -05:00
Chris Hostetter
f1fc3e7ba2
SOLR-14247: Revert SolrTestCase Logger removal
2020-02-12 11:51:36 -07:00
Chris Hostetter
49e20dbee4
SOLR-14245: Fix ReplicaListTransformerTest
...
Previous changes to this issue 'fixed' the way the test was creating mock Replica instances,
to ensure all properties were specified -- but these changes tickled a bug in the existing test
scaffolding that caused it's "expecations" to be based on a regex check against only the base "url"
even though the test logic itself looked at the entire "core url"
The result is that there were reproducible failures if/when the randomly generated regex matched
".*1.*" because the existing test logic did not expect that to match the url or a Replica with
a core name of "core1" because it only considered the base url
2020-02-12 11:10:26 -07:00
Erick Erickson
0767a9d4d7
Code comment only change
2020-02-11 19:32:54 -05:00
yonik
c3e44e1fec
SOLR-14058: fix peersync bounds check iterating over versions
2020-02-11 10:43:21 -08:00
David Smiley
9a4f7661e9
SOLR-14194: Highlighters now supports docValues for the uniqueKey
...
and the original highlighter can highlight docValues.
2020-02-11 02:18:08 -05:00
Mike
71b869381e
SOLR-14247 Remove unneeded sleeps ( #1244 )
2020-02-10 21:13:56 -06:00
Shalin Shekhar Mangar
c65b97665c
SOLR-13996: Refactor HttpShardHandler.prepDistributed method ( #1220 )
...
SOLR-13996: Refactor HttpShardHandler.prepDistributed method into smaller pieces
This commit introduces an interface named ReplicaSource which is marked as experimental. It has two sub-classes named CloudReplicaSource (for solr cloud) and LegacyReplicaSource for non-cloud clusters. The prepDistributed method now calls out to these sub-classes depending on whether the cluster is running on cloud mode or not.
2020-02-10 19:57:05 +05:30
David Smiley
46c0945614
SOLR-14149: CHANGES.txt Remove off-topic stuff
...
* No Introduction (to Solr) header. Point at solr-upgrade-notes.adoc instead
* No Getting Started header
* No Versions of Major Components header
* No "Upgrade Notes" for subsequent releases. See solr-upgrade-notes.adoc
Closes #1202
2020-02-08 22:52:38 -05:00
Kevin Risden
3885a81aa4
SOLR-14038: Admin UI display for "state.json" should be in a scollable region
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 12:02:23 -06:00
Kevin Risden
c4a8a77d23
SOLR-14209: Upgrade JQuery to 3.4.1
...
* JQuery 2.1.3 to 3.4.1
* jstree 1.0-rc1 to v3.3.8
Closes #1209
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 11:57:56 -06:00
Robert Muir
f41eabdc5f
LUCENE-8279: fix javadocs wrong header levels and accessibility issues
...
Java 13 adds a new doclint check under "accessibility" that the html
header nesting level isn't crazy.
Many are incorrect because the html4-style javadocs had horrible
font-sizes, so developers used the wrong header level to work around it.
This is no issue in trunk (always html5).
Java recommends against using such structured tags at all in javadocs,
but that is a more involved change: this just "shifts" header levels
in documents to be correct.
2020-02-08 10:00:00 -05:00
Shalin Shekhar Mangar
f5c132be6d
SOLR-14248: Improve ClusterStateMockUtil and make its methods public
2020-02-08 11:59:27 +05:30
Nicholas Knize
206a70e7b7
LUCENE-9149: Increase data dimension limit in BKD
2020-02-07 16:08:14 -06:00
Andrzej Bialecki
9a19093586
SOLR-14245: Validate Replica / ReplicaInfo on creation.
2020-02-07 17:56:39 +01:00
Robert Muir
0d339043e3
LUCENE-9209: fix javadocs to be html5, enable doclint html checks, remove jtidy
...
Current javadocs declare an HTML5 doctype: !DOCTYPE HTML. Some HTML5
features are used, but unfortunately also some constructs that do not
exist in HTML5 are used as well.
Because of this, we have no checking of any html syntax. jtidy is
disabled because it works with html4. doclint is disabled because it
works with html5. our docs are neither.
javadoc "doclint" feature can efficiently check that the html isn't
crazy. we just have to fix really ancient removed/deprecated stuff
(such as use of tt tag).
This enables the html checking in both ant and gradle. The docs are
fixed via straightforward transformations.
One exception is table cellpadding, for this some helper CSS classes
were added to make the transition easier (since it must apply padding
to inner th/td, not possible inline). I added TODOs, we should clean
this up. Most problems look like they may have been generated from a
GUI or similar and not a human.
2020-02-06 22:30:52 -05:00
Robert Muir
63be99bf12
SOLR-14118: default embedded zookeeper port to localhost
2020-02-05 21:33:37 -05:00
Marcus
bc5f837344
SOLR-14147 change the Security manager to default to true. ( #1141 )
...
* change the Security manager to default.
* update the ref-guide.
* uncomment init scripts update changes.
* changed the ref guide and re-commented file.
* remove added comment.
* modified shell script.
* removed comment in windows file.
Signed-off-by: marcussorealheis <marcuseagan@gmail.com>
* bashism and fix windows
* remove space
Signed-off-by: marcussorealheis <marcuseagan@gmail.com>
2020-02-05 19:17:55 -05:00
Houston Putman
80ed8c281b
SOLR-13887: Use the default idleTimeout instead of 0 for HTTP2 ( #991 )
2020-02-05 11:15:37 -08:00
Chris Hostetter
c5d0391df9
SOLR-14241: New delete() Stream Decorator
2020-02-05 10:49:24 -07:00
Adrien Grand
fe349ddcf2
SOLR-14242: HdfsDirectory#createTempOutput. ( #1240 )
2020-02-05 16:38:53 +01:00
Adrien Grand
2d8428ec2e
SOLR-14238: Fix HdfsDirectory to no longer overwrite existing files. ( #1237 )
2020-02-04 19:35:15 +01:00
Tomas Fernandez Lobbe
bb90569f1d
SOLR-14219: Revert changes in OverseerSolrRespose and move serialization ( #1227 )
...
SOLR-14095 Introduced an issue for rolling restarts (Incompatible Java serialization). This change fixes the compatibility issue while keeping the functionality in SOLR-14095
2020-02-04 10:26:57 -08:00
Munendra S N
c91dd9d0e4
SOLR-14090: fix delete-copy-field when source is dynamic field
2020-02-04 21:33:31 +05:30
Munendra S N
4eff9c9b5e
SOLR-10567: add support for DateRangeField in JSON facet range
2020-02-04 21:26:40 +05:30
Erick Erickson
b0bb299dc4
LUCENE-9134: Port ant-regenerate tasks to Gradle build ( #1230 )
...
LUCENE-9134: Port ant-regenerate tasks to Gradle build (Solr javacc)
2020-02-04 09:16:38 -05:00
Erick Erickson
d3ac1329a3
LUCENE-8656: Deprecations in FuzzyQuery ( #1229 )
...
LUCENE-8656: Deprecations in FuzzyQuery
Closes #1229
2020-02-03 08:52:33 -05:00
Mikhail Khludnev
d8bc9bcfcf
SOLR-12325: uniqueBlock(\{!v=foo:bar})
2020-02-02 15:15:35 +03:00
Jan Høydahl
16b8d50284
SOLR-14221: Upgrade restlet to version 2.4.0 ( #1211 )
2020-02-02 11:35:14 +01:00
Munendra S N
a2c53dad72
fix typo in schema-api documentation
2020-02-01 10:21:52 +05:30
Joel Bernstein
db78f6cd00
SOLR-14139: Support backtick phrase queries in Streaming Expressions
2020-01-31 11:54:14 -05:00
Jason Gerlowski
719b38c8d8
SOLR-13892: Add 'top-level' docValues Join implementation ( #1171 )
2020-01-31 11:21:01 -05:00
Chris Hostetter
517438e356
New /stream test cases showing authn+authz edge cases in cloud mode
...
This triggers various places in the Streaming Expressions code that use background threads
to confirm that the expected credentails (or lack of) are propogarded along.
Test currently has comments + workarounds for 2 known client issues:
- SOLR-14226: SolrStream reports AuthN/AuthZ failures (401|403) as IOException w/o details
- SOLR-14222: CloudSolrClient converts (update) 403 error to 500 error
2020-01-30 10:01:03 -07:00
Adrien Grand
7941d109bd
SOLR-13897: Fix precommit.
2020-01-28 20:11:47 +01:00
Cassandra Targett
1a14c67426
Ref Guide: Remove outdated or invalid links to Solr Wiki; update URL of those that remain
2020-01-27 16:38:31 -06:00
Cassandra Targett
b2f51f1941
Ref Guide: fix undefined substitution error caused by formatting of variables in paths
2020-01-27 16:38:30 -06:00
Robert Muir
975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task
2020-01-27 12:05:34 -05:00
Robert Muir
8e357b167b
LUCENE-9180: dos2unix files that don't need dos line endings
2020-01-27 11:29:59 -05:00
Robert Muir
5f964eeef2
SOLR-14217: tests respect tests.workDir correctly (prevent SSD destruction)
2020-01-27 06:07:48 -05:00
Shalin Shekhar Mangar
776631254f
SOLR-13897: Fix unsafe publication of Terms object in ZkShardTerms that can cause visibility issues and race conditions under contention
2020-01-27 12:08:20 +05:30
Uwe Schindler
fd49c903b8
SOLR-14189: Add changes entry
2020-01-26 12:06:13 +01:00
andywebb1975
efd0e8f3e8
SOLR-14189 switch from String.trim() to StringUtils.isBlank() ( #1172 )
2020-01-26 12:03:39 +01:00
Gus Heck
127ce3e360
SOLR-13749 adjust changes to reflect backport to 8.5
2020-01-25 00:53:27 -05:00
Cassandra Targett
ba77a5f2eb
SOLR-14214: Clean up client lists and references
2020-01-24 15:46:30 -06:00
Mike
eaa3dbe440
SOLR-14162 TestInjection can leak Timer objects ( #1137 )
2020-01-24 14:04:22 -06:00
Mikhail Khludnev
16e537db7e
SOLR-12045: Know how Analytic Component deployment.
2020-01-23 23:22:32 +03:00
Cassandra Targett
64cb1c8fe8
SOLR-12930: Create developer docs directories in source repo ( #1164 )
2020-01-23 14:00:23 -06:00
Kevin Risden
b150202c85
SOLR-11554: Support handling OPTIONS request for Hadoop authentication filter
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 13:45:54 -05:00
Andrzej Bialecki
434f90265b
SOLR-14211: Fix a bug introduced in SOLR-14192.
2020-01-23 19:33:12 +01:00
Anshum Gupta
3c0146196a
SOLR-14206: Annotate HttpSolrCall as thread-safe ( #1203 )
...
* SOLR-14206: Annotate HttpSolrCall and V2HttpCall as thread-safe
2020-01-23 08:37:03 -08:00
Nick Vercammen
60a2926546
SOLR-14205 Do not fail when given timeout to connectionImpl.isValid() = 0
...
Closes #1204
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 10:12:43 -05:00
Kevin Risden
9b6fc1b9fc
SOLR-14132: Upgrade Angular JS 1.3.8 to 1.7.9
...
* Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular Chosen v1.3.0 and Chosen to v1.8.7
* Remove older jquery 1.7.2 version
* Remove non minified Angular JS files
Closes #1196
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 09:20:12 -05:00
Jan Høydahl
e744f7977e
SOLR-14196: AdminUI login not working for JWTAuth when blockUnknown=false ( #1190 )
2020-01-23 14:51:36 +01:00
Shalin Shekhar Mangar
84270dc6cf
SOLR-14172: Collection metadata remains in zookeeper if too many shards are requested.
...
This also fixes a bug where an inability to assign a node based on existing autoscaling policy resulted in a server error instead of a bad request.
This closes #1152 .
2020-01-23 15:19:53 +05:30
Shalin Shekhar Mangar
04193d5252
SOLR-14207: Fix logging statements with less or more arguments than placeholders
2020-01-23 14:00:08 +05:30
Houston Putman
c53cbb12f4
SOLR-11746: Adding CHANGES.txt entry
2020-01-22 23:44:25 -05:00
Houston Putman
ffba54a827
SOLR-11746: Adding existence queries for PointFields
...
* DocValuesFieldExistsQuery and NormsFieldExistsQuery are used for existence queries when possible.
* Added documentation on the difference between field:* and field:[* TO *]
2020-01-22 18:00:55 -05:00
Chris Hostetter
6b3e7feba1
SOLR-14159: Eliminate some 'spin loops' in tests that may be contributing factors to odd test failures
2020-01-22 14:44:56 -07:00
Jan Høydahl
75c64089a1
SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext ( #1192 )
2020-01-22 21:39:43 +01:00
David Smiley
f1db918e20
SOLR-14040: restore legacy Collection auto-creation
2020-01-22 15:26:37 -05:00
Chris Hostetter
95dfddc7d4
SOLR-12859: Fixed DocExpirationUpdateProcessorFactory to work with BasicAuth and other auth plugins that delegate to PKI for server initiated node-to-node communication.
2020-01-22 09:32:25 -07:00
Joel Bernstein
25ba52d1a0
SOLR-14130: Update CHANGES.txt
2020-01-22 09:52:20 -05:00
Ishan Chattopadhyaya
cc9c494a34
Synchronizing 8.4.1 changes
2020-01-22 11:31:12 +05:30
Ishan Chattopadhyaya
f6ca662f33
Synchronizing 8.4.1 changes
2020-01-22 11:21:53 +05:30
Christine Poerschke
1af171e47f
SOLR-13965: Factor out public static StreamHandler.addExpressiblePlugins method.
2020-01-21 18:33:26 +00:00
David Smiley
ab924fd4ea
SOLR-14040: shareSchema support for SolrCloud
...
* Use Caffeine impl and weak values (to the schema). Previously the cache never evicted!
* now populating the configSet name from ZK into CloudDescriptor when CloudDescriptor is loaded
* actual schema name needs to be deterministic now; fallback from non-existent managed-schema to schema.xml will thwart this cache
* a test conf/core.properties wasn't actually used and became a problem in it's weird location after I refactored some logic
2020-01-21 13:18:37 -05:00
Andrzej Bialecki
6244b7150e
SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader.
2020-01-20 17:11:47 +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
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
Chris Hostetter
5f2d7c4855
SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
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
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
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
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 5cb5151421
.
2020-01-15 12:59:35 +01:00
Dawid Weiss
5cb5151421
SOLR-12490: corrected link.
2020-01-15 12:57:18 +01:00
Mikhail Khludnev
0e4abf7179
SOLR-12490: reverting ref-guide-fix.
2020-01-15 13:08:05 +03:00
Dawid Weiss
08d2c2d0df
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-15 09:54:45 +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
2992e7dd86
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 19:11:04 +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
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
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
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
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
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
09fb6f196f
Don't assemble solr ref guide by default.
2020-01-09 13:48:06 +01:00
Dawid Weiss
2ba3ec7173
LUCENE-9124: updated build script for solr-ref-guide; newer plugin version and a workaround against gem proxy down.
2020-01-09 13:31:50 +01:00
Dawid Weiss
0674fada65
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-09 11:56:02 +01:00
Houston Putman
08b64aab8f
Revert "SOLR-11746: Existence query support for numeric point fields"
...
This reverts commit f5ab3ca688
.
2020-01-08 18:33:15 -05:00
Houston Putman
ee66e5ef23
Revert "SOLR-11746: Adding docs for negative existence queries."
...
This reverts commit 9edb143efd
.
2020-01-08 18:32:31 -05:00
Tomas Fernandez Lobbe
a9beeb1d1e
SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common
2020-01-08 11:16:32 -08:00
Dawid Weiss
7e4c841aa7
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-08 12:26:10 +01:00
Jason Gerlowski
a17c486424
Revert "SOLR-13985: Bind to localhost interface by default"
...
This temporarily reverts commit 479e73 while a potentially related
networking hiccup is investigated.
2020-01-07 09:05:13 -05:00
Dawid Weiss
405d227c55
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-07 08:45:12 +01:00
Houston Putman
9edb143efd
SOLR-11746: Adding docs for negative existence queries.
2020-01-06 13:08:13 -05:00
Houston Putman
f5ab3ca688
SOLR-11746: Existence query support for numeric point fields
2020-01-06 12:12:22 -05:00
Martijn Koster
ac777a5352
SOLR-13089: Fix lsof edge cases in the solr CLI script
2020-01-06 13:20:14 +01:00
Chris Hostetter
0fac7c1a26
SOLR-13486: Text improvements
...
* force a hard commit of all docs in TestCloudConsistency to work around bug in that test
* add new AwaitsFix'ed TestTlogReplayVsRecovery that more explicitly demonstrates the bug via TestInjection.updateLogReplayRandomPause
2020-01-03 15:12:23 -07:00
Mikhail Khludnev
8fba8eba13
SOLR-12490: Introducing json.queries to define many named queries in Query DSL.
2020-01-03 23:28:11 +03:00
Jason Gerlowski
479e736469
SOLR-13985: Bind to localhost interface by default
...
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.
2020-01-03 15:17:24 -05:00
Nick Vercammen
1e0471a247
SOLR-14153: Return correct isolation level when retrieving it from the SQL Connection
...
As transactions are not supported a request to getTransactionIsolation() should return TRANSACTION_NONE (https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE )
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-03 14:24:55 -05:00
Eric Pugh
50176fd6fc
SOLR-14157: Document backup/restore 'name' param ( #1133 )
2020-01-03 10:18:27 -05:00
Joel Bernstein
8df304d12e
SOLR-14130: Harden parsing logic
2020-01-03 08:47:19 -05:00
Joel Bernstein
8784d7c787
SOLR-14130: Fix precommit
2020-01-03 08:47:19 -05:00
Joel Bernstein
29c00d4fe7
SOLR-14130: Add postlogs command line tool for indexing Solr logs
2020-01-03 08:47:19 -05:00
Dawid Weiss
d2409fe499
Follow-up unused import removal.
2020-01-03 14:20:52 +01:00
Dawid Weiss
6d1e34d0cc
Follow-up unused import removal.
2020-01-03 14:20:21 +01:00