7488 Commits

Author SHA1 Message Date
David Smiley
dc134be449 SOLR-5211: ignore temporarily pending moshe fixing 2018-11-26 10:11:21 -05:00
Moshe
a346ba0d3c SOLR-5211: Always populate _root_ (if defined).
And, small refactor: Clarified how _version_ is transferred from root to children.
2018-11-25 21:47:49 -05:00
Mikhail Khludnev
d7b878e90c SOLR-12546: Let csv response writer to handle docValues fields by default. 2018-11-25 11:26:39 +03:00
Alan Woodward
2459072286 SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory 2018-11-22 13:54:39 +00:00
Noble Paul
492c3440de SOLR-13006: ZkNodeProps to be able to load from both javabin and JSON 2018-11-21 18:20:03 +11:00
Cao Manh Dat
05167ed01d SOLR-12986: HttpPartitionTest reliably failing seed 2018-11-20 15:01:19 +00:00
Noble Paul
25bca6f165 SOLR-12992: When using binary format, ExportWriter to directly copy BytesRef instead of creating new String 2018-11-20 14:58:32 +11:00
Christine Poerschke
eb8010405d SOLR-12972: remove deprecated, unused SolrIndexConfig.luceneVersion 2018-11-19 14:51:13 +00:00
Christine Poerschke
7abb25eff5 SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion 2018-11-19 14:06:09 +00:00
Alan Woodward
65486442c4 LUCENE-8497: Replace MultiTermAwareComponent with normalize() method 2018-11-19 10:09:37 +00:00
Jim Ferenczi
759af0127c LUCENE-8464: Fix legacy.TestMultiValuedNumericRangeQuery to count the number of hits accurately 2018-11-19 09:42:48 +01:00
Jim Ferenczi
dc2c7784e6 Fix legacy.TestNumericRangeQuery to count the number of hits accurately 2018-11-17 21:20:27 +01:00
Christophe Bismuth
b4449c73e4 LUCENE-8464: ConstantScoreScorer now implements setMinCompetitveScore in order to early terminate the iterator if the minimum score is greater than the constant score.
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-11-16 15:14:11 +01:00
Adrien Grand
3302ed2ac6 LUCENE-8470: Remove legacy doc values APIs from lucene/core. 2018-11-16 14:24:34 +01:00
Erick Erickson
763e64260f SOLR-12881: Remove unneeded import statements 2018-11-14 17:48:15 -08:00
Cao Manh Dat
f357c06276 SOLR-12969: Inconsistency with leader when PeerSync return ALREADY_IN_SYNC 2018-11-12 10:10:22 +00:00
Cao Manh Dat
397b88aefa SOLR-12313: No need to wait for in-sync with leader in RecoveryAfterSoftCommitTest since we only care about recovery 2018-11-10 06:01:19 +00:00
Chris Hostetter
77a4bfaa90 SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap size due to unexpected attempts to sort/facet/function on non-docValue fields. 2018-11-09 08:30:04 -07:00
Tim Underwood
fbb987282e SOLR-12880: Show the FacetProcessor class name instead of the
FacetRequest in the JSON Facets debug-trace output
2018-11-08 23:32:26 -05:00
Tim Underwood
243a8a668a SOLR-12964: Use DocValuesIterator.advanceExact() instead of the advance()/docID() pattern 2018-11-08 14:34:17 -05:00
Gus Heck
53482e510c SOLR-12938 - fix test case for handling of bogus collection names
that was failing when HttpClusterStateProvider is used instead of
ZkClusterStateProvider
2018-11-07 20:05:32 -05:00
David Smiley
d0cd4245bd LUCENE-8557: LeafReader.getFieldInfos should always return the same instance
MemoryIndex: compute/cache up-front
Solr Collapse/Expand with top_fc: compute/cache up-front
Json Facets numerics / hash DV: use the cached fieldInfos on SolrIndexSearcher
SolrIndexSearcher: move the cached FieldInfos to SlowCompositeReaderWrapper
2018-11-06 14:45:32 -05:00
Alexandre Rafalovitch
0ddbc4bf95 SOLR-12966: Add Javadoc @since tag to URP classes 2018-11-06 08:05:07 -05:00
Alexandre Rafalovitch
c07df19666 SOLR-12956: Add Javadoc @since tag to Analyzer component classes 2018-11-06 07:38:20 -05:00
Cao Manh Dat
13a83564bb SOLR-12313: Make the test finish quicker by lower down intervals 2018-11-06 11:19:13 +00:00
Steve Rowe
01808eee93 SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms 2018-11-05 10:32:49 -05:00
Gus Heck
45b772f4a9 SOLR-12938 - Cluster status now returns results for aliases instead of
throwing an exception
2018-11-04 12:01:51 -05:00
Jason Gerlowski
f669a1fb0e SOLR-12555: Use expectThrows for expected exceptions
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.

This commit makes these changes in the core package: `o.a.solr.search`.

Closes #464
2018-11-03 10:48:16 -04:00
Chris Hostetter
c5ff4a4444 SOLR-12954: fix facet.pivot refinement bugs when using facet.sort=index and facet.mincount>1 2018-11-02 20:32:32 -07:00
Chris Hostetter
1e0e8d45e5 SOLR-7804: remove problematic assertions on lossy stats.field values that aren't fundemental to the purpose of the test anyway 2018-11-01 22:03:20 -07:00
Gus Heck
23595e5cc4 Supress an IDE warning with an annotation, and verify my commit karma 2018-11-01 21:27:16 -04:00
Tim Underwood
cf445ba549 SOLR-12882: Eliminate excessive lambda allocation in json facet FacetFieldProcessorByHashDV.collectValFirstPhase 2018-11-01 15:05:16 -04:00
Chris Hostetter
05f72a77ef SOLR-12946: tighten up request/expectations in test
This should prevent some non-reproducible failures where (i think) the problem was inconsistnet background merges between collections being compared, resulting in facet counts (of 0) for terms that weren't in equivilent (merged) indexes.

since the purpose of the test has nothing to do with mincount, force facet.mincount=0 and be more exact about how many terms we expect (in case the root problem lies somewhere else, be more assertive about finding it)
2018-10-31 15:33:39 -07:00
Andrzej Bialecki
3ed64375ef SOLR-12942: Add an option in IndexSizeTrigger to select the split shard method. 2018-10-31 18:47:34 +01:00
Mikhail Khludnev
5aa8ad5b14 SOLR-12875: AIOOBE fix when unique()/uniqueBlock() is used with DVHASH method in json.facet 2018-10-30 10:56:34 +03:00
Steve Rowe
d362439e27 SOLR-12861: Add Solr factory for new ByteBuffersDirectory 2018-10-29 08:23:14 -04:00
Noble Paul
f33be7a172 SOLR-12868: Request forwarding for v2 API is broken 2018-10-26 12:50:45 +11:00
Tommaso Teofili
26e14986af SOLR-12879 - added missing test for min_hash qp to QueryEqualityTest 2018-10-25 09:57:16 +02:00
Varun Thacker
71988c756b SOLR-12793: Move TestCloudJSONFacetJoinDomain amd TestCloudJSONFacetSKG to the facet test package 2018-10-24 13:57:35 -07:00
Christine Poerschke
ab14cc9566 SOLR-9425: fix NullPointerException in TestSolrConfigHandlerConcurrent 2018-10-24 19:30:44 +01:00
Christine Poerschke
c277674f0e SOLR-12873: Replace few remaining occurrences of LUCENE_CURRENT with LATEST for luceneMatchVersion. 2018-10-24 19:28:12 +01:00
Cao Manh Dat
e083b1501e Add log.warn when a replica become leader after timeout 2018-10-24 08:56:01 +07:00
David Smiley
3e89b7a771 SOLR-12754: New hl.weightMatches for UnifiedHighlighter WEIGHT_MATCHES
(defaults to true in master/8)
2018-10-23 13:28:10 -04:00
Tommaso Teofili
2e757f6c25 SOLR-12879 - registered MinHashQParserPlugin to QParserPlugin as min_hash 2018-10-23 09:12:46 +02:00
Cao Manh Dat
7512cd9425 SOLR-11812: Remove LIROnShardRestartTest since the transition from old lir to new lir is no longer supported 2018-10-23 09:58:59 +07:00
Anshum Gupta
d799fd53c7 SOLR-5004: Allow a shard to be split into 'n' sub-shards using the collections API 2018-10-22 15:01:24 -07:00
Noble Paul
c31a95d261 SOLR-12846: Added support for "host" variable in autoscaling policy rules 2018-10-23 00:03:59 +11:00
Andrzej Bialecki
8c70811f3a SOLR-12729: Unlock the shard on error. 2018-10-22 11:28:09 +02:00
Noble Paul
5de6332209 SOLR-12892: MapWriter to use CharSequence instead of String 2018-10-22 11:14:41 +11:00
Tommaso Teofili
a7c9c9d8ce SOLR-12879 - MinHash query parser 2018-10-20 08:28:02 +02:00