30683 Commits

Author SHA1 Message Date
Erick Erickson
74b53b1a67 SOLR-12728: RequestLoggingTest fails on occasion, not reproducible 2018-09-03 10:19:33 -07:00
Mikhail Khludnev
b4f9042a43 SOLR-12726: Removing obsolete sentences from SolrCloud Auto Scaling Ref Guide. 2018-09-03 20:00:39 +03:00
Nhat Nguyen
b8dfb7e911 LUCENE-8472: Always rewrite soft-deletes retention query
This change ensures that we always rewrite the soft-deletes merge
retention policy before passing it into `createWeight` as some Query
does not support `createWeight` directly.
2018-09-03 11:19:40 -04:00
Adrien Grand
a1ec716e10 Update javadocs for Lucene 8.
This fixes a couple mistakes, puts more emphasis on BM25 compared to Classic and
gives more guidance regarding custom scores without a custom query.
2018-09-03 12:22:26 +02:00
David Smiley
d93c46ea94 LUCENE-8267: adjust CHANGES.txt advise 2018-09-01 17:24:44 -04:00
Varun Thacker
606e529f93 SOLR-10697: HttpShardHandler now uses a default of 100k as maxConnections (10k previously) and default maxConnectionsPerHost as 100k (20 previously). They are now consisent with the UpdateShardHandler defaults 2018-09-01 07:20:15 -06:00
Varun Thacker
d55a81df84 SOLR-12704: Guard AddSchemaFieldsUpdateProcessorFactory against null field names and field values 2018-08-31 23:53:30 -06:00
Erick Erickson
e7b4495343 SOLR-12055: Last patch had the entry in the wrong place in CHANGES.txt 2018-08-31 20:43:26 -07:00
Erick Erickson
8e75f393b3 SOLR-12055: Enable async logging by default 2018-08-31 20:39:05 -07:00
Shalin Shekhar Mangar
4d78db26be SOLR-11990: Set waitForFinalState=true for the move replica API call so that the cluster is at steady state when the test ends. 2018-08-31 09:42:00 +05:30
Shalin Shekhar Mangar
5670d612e3 SOLR-11990: When a Collection CREATE command fails because of a policy rule violation, the collection metadata remains in ZooKeeper, even though no replicas are added, so the user has to manually delete the zombie collection.
This is due to a change in behavior made in this issue where collection metadata creation was moved before attempting to use policy to place replicas. This change reverts the behavior by explicitly deleting the metadata when an AssignmentException occurs. Since the policy depends on collection metadata such as WITH_COLLECTION and COLOCATED_WITH properties, moving metadata creation after policy use would have resulted in passing these properties through the entire call stack quite invasively. Therefore the current approach is adopted.
2018-08-31 09:23:25 +05:30
Steve Rowe
8667132999 SOLR-12689: Add example of collection creation when autoscaling policy/prefs are configured 2018-08-30 20:01:28 -04:00
Adrien Grand
81eeae6db2 LUCENE-8465: Remove more references to auto-prefix terms. 2018-08-30 16:44:56 +02:00
Adrien Grand
ba83c5a26a LUCENE-8432: TopFieldComparator stops calling the comparator when only counting hits. 2018-08-30 16:44:56 +02:00
Namgyu Kim
a30eeae795 LUCENE-8460: Better argument validation in StoredField
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-08-30 16:44:56 +02:00
Adrien Grand
e2fc49cce2 LUCENE-765: Improved oal.index javadocs. 2018-08-30 16:44:56 +02:00
David Smiley
4096decd8f SOLR-12591: ParseDateField URP should default to "en_US" locale (not ROOT) which is implied by common formats.
Should fix Java 9,10,11 test fails; Java 8 continues to work.
2018-08-30 09:53:43 -04:00
Joel Bernstein
86ba65c107 SOLR-10651, SOLR-10784: Add new statistical and machine learning functions to CHANGES.txt for 7.5 release 2018-08-30 08:56:44 -04:00
Shalin Shekhar Mangar
ad513cb621 Fixed wrong documentation in ScheduledTrigger. The property name is preferredOperation instead of preferredOp. 2018-08-30 16:58:44 +05:30
Alan Woodward
0fbb2d19d6 LUCENE-8471: Javadocs 2018-08-30 10:30:11 +01:00
Alan Woodward
e170dc3568 LUCENE-8471: Add IndexWriter.getFlushingBytes() method 2018-08-30 10:11:47 +01:00
Dawid Weiss
54f2565038 LUCENE-8469: Inline calls to the deprecated StringHelper.compare, removed StringHelper.compare from master. 2018-08-30 09:59:51 +02:00
David Smiley
b19ae942f1 LUCENE-8286: UnifiedHighlighter: new HighlightFlag.WEIGHT_MATCHES for MatchesIterator API.
Other API changes: New UHComponents, and FieldOffsetStrategy takes a LeafReader not IndexReader now.
Closes #409
2018-08-29 23:29:25 -04:00
David Smiley
18874a6e36 SOLR-12591: Expand default configSet's date patterns to subsume those of extract contrib 2018-08-29 14:17:44 -04:00
David Smiley
cae91b1eaf SOLR-12519: fix testGrandChildFilterJSON
Simplified differentiating random docs we don't care about from those we do by using IDs less than 0
2018-08-29 13:35:42 -04:00
Steve Rowe
098f475a67 SOLR-12662: Eliminate possible race conditions by moving Type-by-name map construction to Variable.Type, accessible via Variable.Type.get(name) 2018-08-29 11:26:31 -04:00
David Smiley
5a0e7a615a SOLR-12519: child doc transformer can now produce a nested structure.
Fixed SolrDocument's confusion of field-attached child documents in addField()
Fixed AtomicUpdateDocumentMerger's confusion of field-attached child documents in isAtomicUpdate()
2018-08-29 10:02:09 -04:00
Dawid Weiss
545b0dcd04 SOLR-12360: fully numeric host names are valid based on RFC1123, so this test makes no sense. 2018-08-29 10:50:55 +02:00
Dawid Weiss
ce504f4f81 LUCENE-8468: add ByteBuffersDirectory to randomized Directory implementations in LuceneTestCase (master branch only). 2018-08-29 10:43:00 +02:00
Joel Bernstein
1cfc735fff SOLR-12634: Add gaussfit to the Math Expressions user guide 2018-08-28 17:01:15 -04:00
Steve Rowe
6430749d46 SOLR-12662: Reproducing TestPolicy failures: NPE and NoClassDefFoundError 2018-08-28 12:42:59 -04:00
Dawid Weiss
ca54137c8e LUCENE-8468: use NoSuchFileException instead of FileNotFoundException. 2018-08-28 15:12:41 +02:00
Andrzej Bialecki
8d1dce933f SOLR-12392: Fix several bugs in tests and in trigger event serialization.
Add better support for converting MapWriter instances to JSON.
2018-08-28 15:11:18 +02:00
Dawid Weiss
f762953aab LUCENE-8468: A ByteBuffer based Directory implementation (and associated classes). 2018-08-28 15:02:53 +02:00
Dawid Weiss
a452dd9ce3 LUCENE-8467: RAMDirectory, RAMFile, RAMInputStream, RAMOutputStream are deprecated. 2018-08-28 08:51:31 +02:00
Joel Bernstein
04a50b6a2e SOLR-12701: Improve Monte Carlo example 2018-08-27 20:46:26 -04:00
Tomas Fernandez Lobbe
d833b4c9d3 SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest 2018-08-27 14:05:50 -07:00
Joel Bernstein
659aed2de1 SOLR-12702: Add math expression userguid documentation 2018-08-27 16:10:15 -04:00
Joel Bernstein
f4212a1df0 SOLR-12687: Add to math expressions user guide 2018-08-27 14:15:22 -04:00
Tomas Fernandez Lobbe
55af898b4b LUCENE-8466: Added Vish to CHANGES.txt 2018-08-27 10:42:23 -07:00
Jim Ferenczi
5ef67e9f17 LUCENE-8466: IndexWriter.deleteDocs(Query... query) incorrectly applies deletes on flush if the index is sorted 2018-08-27 19:18:47 +02:00
Joel Bernstein
94503719ec SOLR-12702: Add zscores Stream Evaluator 2018-08-27 10:54:36 -04:00
Joel Bernstein
08a6d13c92 SOLR-12701: Remove statistical-programming page which is superceded by the new math-expressions paged 2018-08-27 10:30:48 -04:00
Andrzej Bialecki
7a3f837a32 SOLR-12669: Rename tests that use the autoscaling simulation framework. 2018-08-27 15:14:03 +02:00
Joel Bernstein
b72ff3babb SOLR-12687: Add functions to cache data structures and mathematical models 2018-08-26 19:48:56 -04:00
Nhat Nguyen
f26dd13b34 LUCENE-8458: Ensure init PendingSoftDeletes when carry-over deletes
Today when carrying over hard-deletes after merging segments, we might
not adjust soft-deletes count accordingly because we do not always
ensure that the PendingSoftDeletes of the new segment is initialized.

This change fixes the initialization condition in PendingSoftDeletes and
makes sure it is initialized before accepting deletes.

Co-authored-by: Simon Willnauer <simonw@apache.org>
2018-08-24 08:33:18 -04:00
Varun Thacker
fc9aac11f7 SOLR-12684: Document speed gotchas and partitionKeys usage for ParallelStream. Standardize search streams to specify the export handler in the examples for expressions that operate on all the tuples 2018-08-24 01:20:06 -07:00
Varun Thacker
cee309a6f7 SOLR-12572: revert numDocs to be indexed to 1k 2018-08-24 01:02:35 -07:00
Varun Thacker
9e78be40c3 SOLR-11598: Fix bug while setting and resetting string doc-values while exporting documents 2018-08-23 23:57:48 -07:00
Erick Erickson
aa10cb7802 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-23 16:59:58 -07:00