markrmiller
e3cbdd0505
SOLR-13032: Add @AwaitsFix annotation to test.
2018-12-03 11:07:40 -06:00
markrmiller
1408f5255f
SOLR-12801: Disable TimeRoutedAliasUpdateProcessorTest because the feature leaks threads.
2018-12-03 09:07:27 -06:00
Gus Heck
b6b9f9554e
SOLR-12801 fix cut/paste oops in comment
2018-12-02 16:41:55 -05:00
Gus Heck
cf4d749410
SOLR-12801 Revert breaking commit a3ec5b5fdf
and improve test
...
to be more complete. Also, add comments to make it easier for
others to understand TimeRoutedAliasUpdateProcessorTest
2018-12-02 16:34:40 -05:00
Jason Gerlowski
c951578fca
SOLR-6117: Unify ReplicationHandler error handling
...
Prior to this commit, ReplicationHandler had a few inconsistencies
in how it reported errors:
- Sometimes the 'status' field was used as an enum (e.g. 'success'
v. 'failure'. Elsewhere it is used to hold error messages.
- Sometimes an explicit 'message' field was used, but often not.
- Sometimes a stack trace was provided in place of an error message.
This commit tweaks the various error cases in ReplicationHandler to
report errors consistently. 'status' is always an enum-type value. A
'message' field is provided for all errors, with an optional 'exception'
field.
2018-12-02 16:23:04 -05:00
Jason Gerlowski
6e4c9b3b58
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.core`.
2018-12-01 17:19:34 -05:00
markrmiller
e5281ef3d5
SOLR-12801: Don't possibly block forever in this test in remaining spots.
2018-12-01 13:02:58 -06:00
markrmiller
b294d8460f
SOLR-12801: Don't possibly block forever in this test in another spot.
2018-12-01 12:55:05 -06:00
markrmiller
b5a9cca168
SOLR-12801: Raise THREAD_POOL_MAX_IDLE_TIME_MS.
2018-12-01 12:42:28 -06:00
markrmiller
cbe9f82202
SOLR-12801: Don't possibly block forever in this test.
2018-12-01 08:58:13 -06:00
markrmiller
755044b58f
SOLR-12801: Wait for collection creation in test.
2018-12-01 08:09:03 -06:00
markrmiller
9b0b9032e2
SOLR-12801: Fix thread leak in test.
2018-12-01 00:53:12 -06:00
markrmiller
33c40a8da4
SOLR-13027: Change retries to work across JVM impls properly by looking for an IOException.
2018-12-01 00:26:15 -06:00
markrmiller
7f88bfa112
SOLR-12801: Wait for collections properly.
2018-12-01 00:26:03 -06:00
markrmiller
a3ec5b5fdf
SOLR-12801: Wait for executor to finish shutdown.
2018-12-01 00:26:03 -06:00
markrmiller
d8f482f5fb
SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito & HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better.
2018-12-01 00:26:02 -06:00
markrmiller
a01d0d9ef9
SOLR-13030: Close MetricsHistoryHandler inline.
2018-11-30 18:13:26 -06:00
Chris Hostetter
5dc988f5ee
SOLR-12839: JSON 'terms' Faceting now supports a 'prelim_sort' option to use when initially selecting the top ranking buckets, prior to the final 'sort' option used after refinement.
2018-11-30 15:49:06 -07:00
Cassandra Targett
5c4ab188eb
SOLR-13023: Ref Guide: Add section to blob store docs on how to delete blobs
2018-11-30 12:31:03 -06:00
javanna
cf016f8987
LUCENE-8563: Remove k1+1 constant factor from BM25 formula numerator.
...
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-11-30 09:42:49 +01:00
markrmiller
75b1831967
SOLR-12801: Make massive improvements to the tests.
...
SOLR-12804: Remove static modifier from Overseer queue access.
SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)
SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)
SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)
SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)
SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)
SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
David Smiley
2611c22b6b
SOLR-12398: retroactively add CHANGES.txt back-compat break for 7.5
2018-11-28 07:21:34 -08:00
Cassandra Targett
2715beb6df
SOLR-12497: fix typo
2018-11-27 13:56:19 -06:00
Joel Bernstein
c2cac88770
SOLR-12984: The search Streaming Expression should properly support and push down paging when using the /select handler
2018-11-27 11:22:02 -05:00
David Smiley
1534bbe4ae
SOLR-5211: fix test
2018-11-27 07:50:01 -08:00
Cassandra Targett
68c0774458
SOLR-12740: revise migration docs for clarity and typos
2018-11-26 12:15:15 -06:00
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
Andrzej Bialecki
67cdd21996
SOLR-9856: Update the Ref Guide to no longer list this issue as unresolved.
2018-11-21 19:13:02 +01: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
Christine Poerschke
ea304a3a32
Remove excess <metrics> element in metrics-reporting.adoc file.
2018-11-20 18:50:25 +00: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
Cassandra Targett
4efaecac34
SOLR-12746: Fix formatting for callout list numbers and preamble sections
2018-11-19 14:53:05 -06: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
c2bd3aed22
LUCENE-8497: Fix reference to MultiTermAwareComponenent in Solr reference guide
2018-11-19 12:12:24 +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
Joel Bernstein
a0788a7b5e
SOLR-12997: Fix broken link on admin Stream panel
2018-11-18 14:24:02 -05:00
Jason Gerlowski
d17c6d8897
SOLR-12981: Introduce SolrJ type for JSON facet response parsing
...
Recent JIRA's (SOLR-12947, SOLR-12965) have added support making it
easier to compose JSON query/faceting requests using SolrJ. But neither
made parsing the responses to these queries any easier.
This commit introduces NestableJsonFacet (along with several companion
types) which are Java representations of the JSON faceting response.
They can be accessed via the new QueryResponse method:
`getJsonFacetingResponse()`.
2018-11-17 17:14:40 -05: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
Cassandra Targett
df5540acc9
SOLR-12497: Add documentation for Hadoop credential provider-based keystore/truststore
2018-11-15 00:35:25 -06:00
Erick Erickson
763e64260f
SOLR-12881: Remove unneeded import statements
2018-11-14 17:48:15 -08:00
Cassandra Targett
95d01c6583
SOLR-12927: fix ByteBuffersDirectoryFactory name
2018-11-13 08:37:10 -06:00
Cassandra Targett
c80726d968
SOLR-12913: small grammatical fixes
2018-11-13 08:03:29 -06:00
Cassandra Targett
92c83264c8
SOLR-12927: copy edits (i.e., e.g., capitalized titles, etc.)
2018-11-12 20:02:30 -06:00
Cassandra Targett
8791a38d75
SOLR-12927: Add upgrade notes for Solr 7.6
2018-11-12 20:02:30 -06:00
Noble Paul
e81dd4e870
SOLR-12977: fixed bug
2018-11-13 00:10:04 +11:00
Cao Manh Dat
f357c06276
SOLR-12969: Inconsistency with leader when PeerSync return ALREADY_IN_SYNC
2018-11-12 10:10:22 +00:00
Noble Paul
cd1e829732
SOLR-12978: In autoscaling NPE thrown for nodes where value is absent
2018-11-12 18:53:16 +11:00
Noble Paul
e6e6ad2c83
SOLR-12977: Autoscaling tries to fetch metrics from dead nodes
2018-11-12 18:44:26 +11:00
Noble Paul
605c3f6f1a
SOLR-12977: Autoscaling tries to fetch metrics from dead nodes
2018-11-12 18:39:05 +11:00
Jason Gerlowski
52998fa50e
SOLR-12965: Add facet support to JsonQueryRequest
2018-11-10 21:44:25 -05: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
Nicholas Knize
6d9c714052
Add 7.7.0 version
2018-11-09 15:20:33 -06:00
David Smiley
0330372f04
SOLR-12759: fix regexp (case insensitive)
2018-11-09 15:58:40 -05:00
Jason Gerlowski
4410ef941a
SOLR-12947: Misc JsonQueryRequest code cleanup
2018-11-09 13:15:08 -05: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
Joel Bernstein
780305cf44
SOLR-12913: Fix typo in User Guide
2018-11-08 20:06:05 -05:00
Cassandra Targett
73005d482d
Ref Guide: fix pages missing header license info
2018-11-08 15:02:33 -06:00
Joel Bernstein
01397c1b88
SOLR-12913: Add ltrim and rtrim to the Math Expressions User Guide
2018-11-08 15:29:15 -05:00
Tim Underwood
243a8a668a
SOLR-12964: Use DocValuesIterator.advanceExact() instead of the advance()/docID() pattern
2018-11-08 14:34:17 -05:00
Jason Gerlowski
1b084db901
SOLR-12947: Add MapWriter compatibility to JsonQueryRequest
...
JsonQueryRequest had `setQuery` methods that took in a query either as a
String or as a Map. But no such overload for MapWriter, a SolrJ
interface used to transmit Maps via "push writing" over the wire. This
commit adds an overload taking this type, so that users can specify
their queries this way as well.
This commit also changes JsonQueryRequest writes out the request, to
ensure it uses "push writing" in non-MapWriter cases as well.
2018-11-07 21:40:06 -05:00
Joel Bernstein
65dc312daf
SOLR-12975: Update CHANGES.txt
2018-11-07 21:03:01 -05:00
Joel Bernstein
2d0e565c62
SOLR-12975: Add ltrim and rtrim Stream Evaluators
2018-11-07 20:47:07 -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
Joel Bernstein
9594ee38bb
SOLR-12913: grammer fix
2018-11-07 15:29:13 -05:00
Joel Bernstein
531b16633a
SOLR-12913: Add new facet expression and pivot docs
2018-11-07 15:07:46 -05:00
Joel Bernstein
f2cb93605c
SOLR-12829: Update CHANGES.txt
2018-11-07 11:22:03 -05:00
Joel Bernstein
a197904743
SOLR-12936: Update CHANGES.txt
2018-11-07 09:43:41 -05:00
Joel Bernstein
7bde5e2343
SOLR-11572: Update CHANGES.txt
2018-11-07 09:38:19 -05:00
Joel Bernstein
bc88d78c84
SOLR-12795: Update CHANGES.txt
2018-11-07 09:28:47 -05:00
Joel Bernstein
e1bdb9a751
SOLR-12971: Update CHANGES.txt
2018-11-07 09:20:33 -05:00
Joel Bernstein
259925d12f
SOLR-12795: Require bucketSorts
2018-11-07 08:58:57 -05:00
Joel Bernstein
80efc23999
SOLR-12971: Add pivot Stream Evaluator to pivot facet co-occurrence counts into a matrix
2018-11-07 08:14:17 -05:00
Alexandre Rafalovitch
936ecf12fb
Remove hyperlink to - now spammy - heliosearch domain
2018-11-07 07:26:12 -05:00
Alexandre Rafalovitch
50cf1cca26
SOLR-12600: Add missing name in CHANGES
...
Missed it on the last commit
2018-11-07 07:11:03 -05:00
Alexandre Rafalovitch
419d42bf7b
SOLR-12600: Fix parameter names in Solr JSON documentation
2018-11-07 07:01:06 -05:00
Noble Paul
6f6a880ec2
SOLR-12023: correcting wrong git merge
2018-11-07 12:56:00 +11: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
Joel Bernstein
b230543b47
SOLR-12795: Fix precommit
2018-11-06 11:53:00 -05:00
Joel Bernstein
3d94213110
SOLR-12795: Introduce 'rows' and 'offset' parameter in FacetStream
2018-11-06 11:23:40 -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
Jason Gerlowski
2d95b740db
SOLR-12947: Add SolrJ helper for making JSON DSL requests
...
The JSON request API is great, but it's hard to use from SolrJ. This
commit adds 'JsonQueryRequest', which makes it much easier to write
JSON API requests in SolrJ applications.
2018-11-06 07:34:53 -05:00
Noble Paul
08fcce4c98
SOLR-11997: Suggestions API/UI should show an entry where a violation could not be resolved
2018-11-06 22:27:26 +11:00
Cao Manh Dat
13a83564bb
SOLR-12313: Make the test finish quicker by lower down intervals
2018-11-06 11:19:13 +00:00
Christine Poerschke
be65b95e80
SOLR-12699: Make contrib/ltr LTRScoringModel immutable and cache its hashCode.
...
(Stanislav Livotov, Edward Ribeiro, Christine Poerschke)
2018-11-05 18:56:40 +00:00
Steve Rowe
01808eee93
SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms
2018-11-05 10:32:49 -05:00
Cassandra Targett
1e3cc4861a
SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files for Asciidoctor HTML conversion.
2018-11-05 09:07:01 -06: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
Noble Paul
eb359ca079
SOLR-12023: Autoscaling policy engine shuffles replicas needlessly
2018-11-04 19:23:56 +11: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