Commit Graph

30660 Commits

Author SHA1 Message Date
Joel Bernstein b4a1548248 SOLR-12701: Fix knnSearch RefGuide 2018-09-05 14:14:59 -04:00
Cassandra Targett 4f05588007 SOLR-12625: fix typos..."an" -> "and" 2018-09-05 12:47:08 -05:00
Cassandra Targett e893f3480d SOLR-12715: change preferredOperation values to lowercase since that's how they're entered 2018-09-05 12:47:08 -05:00
Cassandra Targett 2565010261 SOLR-11690: put command examples in [source] blocks; make NOTE a CAUTION and move up to associated command 2018-09-05 12:47:08 -05:00
Christine Poerschke a3aa014d1a Fix typo in TermQuery.equals javadocs. 2018-09-05 17:51:01 +01:00
Christine Poerschke 3f9937bca2 Fix 'included' and 'number' typos in stream-source-reference.adoc file. 2018-09-05 17:51:00 +01:00
Christine Poerschke f385f02e4b Fix 'including' typo in cloud-screens.adoc file. 2018-09-05 17:46:47 +01:00
Joel Bernstein 719d922cbc SOLR-11863: Fix RefGuide typos 2018-09-05 11:30:27 -04:00
Joel Bernstein 0113adebce SOLR-11863: Add knnRegress to RefGuide 2018-09-05 11:20:30 -04:00
David Smiley e4f256be15 SOLR-12722: [child] transformer now processes 'fl' 2018-09-05 10:50:14 -04:00
Simon Willnauer c8b47e2024 LUCENE-8484: Only drop fully deleted segments in SoftDeletesDirectoryReaderWrapper
This specializes the change in LUCENE-8484 since there are valid usecases
where filtered reader should not modify the number of readers if a higher
level reader wants to expose the deleted or soft-deleted docs.
2018-09-05 16:00:54 +02:00
Simon Willnauer 7223a8bf7a LUCENE-8484: Drop fully deleted reader in SubReaderWrapper (#445)
Today we can only wrap readers in SubReaderWrapper but never filter them out
entirely. This causes a invariant for soft-deletes that exposes fully deleted
segments with SoftDeletesDirectoryReaderWrapper. This change drops fully
deleted readers after they are wrapped.
2018-09-05 12:44:54 +02:00
Shalin Shekhar Mangar df20c4b9e6 SOLR-11990: Wait for all nodes to be live before running tests.
A few tests have failed on jenkins where the very first call to Solr to set the policy fails because no live nodes were found. This commit adds a 30 second (max) wait for nodes to be registered live in ZK before attempting to run any test.
2018-09-05 16:07:10 +05:30
Shalin Shekhar Mangar b6ee0ed5d5 SOLR-12716: NodeLostTrigger should support deleting replicas from lost nodes by setting preferredOperation=deletenode
This commit adds support for preferredOperation configuration for NodeLostTrigger. The ComputePlanAction now creates DeleteNodeSuggester for each lost node serially when preferredOperation=deletenode. A new section for node lost trigger with exampls is added to the ref guide.
2018-09-05 15:40:10 +05:30
Dawid Weiss 6be01e2ade LUCENE-8485: Update randomizedtesting to version 2.6.4. 2018-09-05 11:51:02 +02:00
Namgyu Kim 97ccbc734b LUCENE-8476: Optimizations in UserDictionary (KoreanAnalyzer)
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-09-05 11:35:55 +02:00
Alan Woodward 3b1a335fb3 LUCENE-6228: Missed refactoring of CollapsingQParserPlugin delegating collector 2018-09-05 08:14:39 +01:00
David Smiley b1b0963947 SOLR-11861 baseConfigSet default 2018-09-04 14:02:46 -04:00
Andrzej Bialecki e0eb7bac02 SOLR-12723: Reduce object creation in HashBasedRouter. 2018-09-04 18:16:00 +02:00
Jan Høydahl d997e8b4a2 SOLR-11690: Improve documentation about DIH password encryption 2018-09-04 14:22:32 +02:00
Alan Woodward 94776bf311 Correct locations of English stopwords in MIGRATE.txt 2018-09-04 13:08:40 +01:00
Adrien Grand 2da53c32cb LUCENE-8475: Remove deprecated constants from RamUsageEstimator. 2018-09-04 14:03:24 +02:00
Adrien Grand a9acdfdb54 LUCENE-8340: Recency boosting. 2018-09-04 14:03:24 +02:00
Shalin Shekhar Mangar 34a85014d5 SOLR-12715: NodeAddedTrigger should support adding replicas to new nodes by setting preferredOperation=addreplica
This commit adds support for preferredOperation configuration parameter which defaults to movereplica. Changes ComputePlanAction to add all (collection,shard) pair as hints to AddReplicaSuggester when addreplica is selected as the preferred operation.
2018-09-04 17:05:44 +05:30
Jan Høydahl 982ee3931b LUCENE-5143: rm or formalize dealing with "general" KEYS files in our dist dir 2018-09-04 13:24:24 +02:00
Alan Woodward 910a0231f6 LUCENE-6228: Add Scorable class and make LeafCollector.setScorer() take Scorable 2018-09-04 11:01:44 +01:00
Alan Woodward 1acfca5ebc LUCENE-8422: Add matches to IntervalQuery 2018-09-03 21:12:01 +01:00
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