Commit Graph

32695 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya 3333ce7da6 Synchronizing 8.4.1 changes 2020-01-22 11:29:44 +05:30
Ishan Chattopadhyaya 2dd1a34f8c Synchronizing 8.4.1 changes 2020-01-22 11:22:38 +05:30
Robert Muir 582a746b87
LUCENE-9157: test speedup for slowest tests 2020-01-21 20:01:24 -05:00
David Smiley baab2fce43
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

Closes #1166
(cherry picked from commit ab924fd4ea)
2020-01-21 13:40:14 -05:00
Christine Poerschke 513d4758cd SOLR-13965: Factor out public static StreamHandler.addExpressiblePlugins method. 2020-01-21 18:34:49 +00:00
Bruno Roustant ef40be40f3
LUCENE-9135: Make UniformSplit FieldMetadata counters long. 2020-01-21 11:31:09 +01:00
Andrzej Bialecki 4c72b3d970 SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader. 2020-01-20 17:13:05 +01:00
Adrien Grand b6a7f29b54 CompetitiveImpactAccumulator should protect its costly invariant checks behind an `assert`. 2020-01-20 11:26:53 +01:00
Mike McCandless 155b099caa 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:54 -05:00
Chris Hostetter bb48773cdc SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
(cherry picked from commit 5f2d7c4855)
2020-01-16 11:47:36 -07:00
Christine Poerschke 2b1b2b1a58 Fix 'Restar[t]ing' typo in RecoveryStrategy INFO log message. 2020-01-16 18:15:51 +00:00
Christine Poerschke c82b4c0913 Update copyright year(s) in lucene/NOTICE.txt and solr/NOTICE.txt files. 2020-01-16 18:15:51 +00:00
Nicholas Knize c0c775799c LUCENE-8369: Remove obsolete spatial module 2020-01-16 11:26:19 -06:00
Joel Bernstein f48b5f9324 SOLR-14130: Continue to improve log parsing logic 2020-01-16 11:41:53 -05:00
Ignacio Vera ced06d7086 LUCENE-9144: Fix error message on OneDimensionBKDWriter when too many points are added to the writer. (#1178) 2020-01-16 16:26:55 +01:00
Cassandra Targett f04ec60e47 Ref Guide: make single shard requirement for TaggerRequestHandler slightly more prominent and descriptive 2020-01-16 09:19:00 -06:00
Joel Bernstein 99ec7dcd26 SOLR-14130: Add parsing instructions for different types of query records 2020-01-16 09:05:54 -05:00
Jason Gerlowski 8c2e800cae SOLR-14186: Introduce gitattributes to manage EOL 2020-01-16 08:44:52 -05:00
Alan Woodward 89cfb906b6 LUCENE-9068: Solr query handling code catches FuzzyTermsException 2020-01-16 09:52:52 +00:00
Alan Woodward 32af73511f 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 15:02:38 +00:00
Ignacio Vera f56f51fc3e LUCENE-8903: Add LatLonShape point query (#762) 2020-01-15 11:58:47 +01:00
Mikhail Khludnev a7ca613f01 SOLR-12490: reverting ref-guide-fix. 2020-01-15 12:19:16 +03:00
Mikhail Khludnev c90ef46497 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:08:23 +03:00
Ishan Chattopadhyaya 4a4f299101 Add back-compat indices for 8.4.1 2020-01-14 19:39:56 +05:30
Ishan Chattopadhyaya a6b2e6d250 Add bugfix version 8.4.1 2020-01-14 18:56:07 +05:30
Jason Gerlowski a6953bd976 SOLR-14186: Restore CRLF line endings to solr.cmd 2020-01-13 12:36:44 -05:00
Jason Gerlowski 2393b1ed58 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:45:11 -05:00
RompotiMiranda 32647034ef SOLR-13934: Improve SimplePostTool & bin/post docs (#1013)
Co-Authored-By: RompotiMiranda
2020-01-13 06:35:52 -05:00
Bruno Roustant eb84c04052
LUCENE-9125: Optimize Automaton.step() with binary search and introduce Automaton.next(). 2020-01-13 11:11:35 +01:00
Chris Hostetter 23fab1b6eb SOLR-13486: Fix trivial test bug in TestTlogReplayVsRecovery
Add TODOs for future test improvements once underlying race condition is fixed in core code

(cherry picked from commit 9a2497f637)
2020-01-11 16:48:26 -07:00
Bruno Roustant 72dea4919e
SOLR-6613: TextField.analyzeMultiTerm does not throw an exception when Analyzer returns no terms. (Bruno Roustant) 2020-01-10 16:52:49 +01:00
Joel Bernstein 1cb085afcb SOLR-14130: Improve robustness of the logs parser 2020-01-10 08:41:58 -05:00
Ishan Chattopadhyaya f701ffd8cf SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:34:09 +05:30
Adrien Grand 8784b2a4f1 Revert "LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)"
This reverts commit 18a2c25c46.
2020-01-09 17:38:20 +01:00
Kevin Risden 49a06a1a14
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:29:25 -05:00
Adrien Grand 18a2c25c46 LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)
All the metadata can be directly encoded in the `DataOutput`.
2020-01-09 15:27:57 +01:00
Adrien Grand be17386a32 LUCENE-9115: NRTCachingDirectory shouldn't cache files of unknown size. (#1145) 2020-01-09 15:27:57 +01:00
Adrien Grand 07ca08595a LUCENE-9118: BlockTreeTermsReader uses `Arrays#compareUnsigned` to compare suffixes. (#1150) 2020-01-09 15:27:57 +01:00
Eric Pugh b996635413 SOLR-13927: Correct v2 /schema APIs in docs (#1010) 2020-01-09 09:22:09 -05:00
noble b8ec731af6 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:15:20 +11:00
Mike McCandless 46fab3fd3c LUCENE-9084: fix potential deadlock due to circular synchronization in AnalyzingInfixSuggester 2020-01-08 19:42:47 -05:00
Houston Putman 6fde6dc504 Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit 1f1b719478.
2020-01-08 18:35:22 -05:00
Tomas Fernandez Lobbe c0e04692e4 SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common 2020-01-08 11:17:36 -08:00
Houston Putman 1f1b719478 SOLR-11746: Existence query support for numeric point fields 2020-01-06 13:09:05 -05:00
Adrien Grand 83999401ae LUCENE-8673: Avoid OOMEs because of IOContext randomization. 2020-01-06 14:43:13 +01:00
Adrien Grand e119d3fe53 Avoid OOMEs in TestIndexingSequenceNumbers. 2020-01-06 14:37:51 +01:00
Martijn Koster 2aa739ae87 SOLR-13089: Fix lsof edge cases in the solr CLI script
(cherry picked from commit ac777a5352)
2020-01-06 13:20:54 +01:00
Adrien Grand e2b39bd0ff LUCENE-9096: CHANGES entry. 2020-01-06 09:31:54 +01:00
kkewwei 7d6067000c LUCENE-9096:Simplify CompressingTermVectorsWriter#flushOffsets. (#1125) 2020-01-06 09:31:54 +01:00
Armin Braun e2dbc988e0 Fix Incorrect Constant Name in Codec Docs (#1047)
The name was wrong here. Also, added a link to make this doc more
fun to navigate in HTML form and make sure it doesn't go bad again.
2020-01-06 09:31:54 +01:00