Commit Graph

30534 Commits

Author SHA1 Message Date
Varun Thacker 828d2815f1 SOLR-12599: Add more query routing params to the ref guide 2018-07-27 14:31:55 -07:00
Nicholas Knize 1888bb5d3e LUCENE-8418: Fix tessellation failure on polygon with holes due to
vertex index clashing.
2018-07-27 11:00:46 -05:00
Adrien Grand d78feb2236 LUCENE-8429: Avoid stack overflows in DaciukMihovAutomatonBuilder. 2018-07-27 11:11:28 +02:00
Adrien Grand 534204890a LUCENE-8423: Make generation carrying more robust. 2018-07-27 11:11:28 +02:00
Adrien Grand 5f539442a9 LUCENE-8420: Fix soft-deletes optimization. 2018-07-27 11:11:28 +02:00
Adrien Grand 914e264165 LUCENE-8428: PriorityQueue takes sentinels via a Supplier as a constructor argument. 2018-07-27 11:11:28 +02:00
Shalin Shekhar Mangar 3119fbb947 SOLR-12597: Migrate API should fail requests that do not specify split.key parameter 2018-07-27 11:53:53 +05:30
Noble Paul dfb18a6d72 SOLR-12536: ref guide typo fixed 2018-07-27 14:27:51 +10:00
Noble Paul 90424cbe27 SOLR-12536: ref guide 2018-07-27 12:37:32 +10:00
David Smiley e2b08a4d47 SOLR-11542: Add more logging via @LogLevel to diagnose rare failures 2018-07-26 12:22:26 -04:00
Noble Paul d87ea6b1cc SOLR-12536: autoscaling policy support to equally distribute replicas on the basis of arbitrary properties 2018-07-26 21:32:45 +10:00
Nicholas Knize 6ab3ff8392 LUCENE-7314: Graduate LatLonPoint and query classes to core 2018-07-25 18:10:26 -05:00
Chris Hostetter 71c0bddd14 SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option using the extended type:func syntax 2018-07-25 10:06:30 -07:00
David Smiley 528e8bceac SOLR-10243: Apply @AwaitsFix on TestExtractionDateUtil.testParseDate to be fixed by SOLR-12593 2018-07-25 11:10:32 -04:00
Dawid Weiss d25f62634b LUCENE-8415: test quirk follow up. MockDirectoryWriter uses AccessDeniedException (a subclass of IOException) to signal files still open for writing when read access is requested. 2018-07-25 11:34:31 +02:00
Adrien Grand 65f6e6c150 LUCENE-8427: Fix bug in BlockMaxConjunctionScorer.
In case a scorer would return information about a block that doesn't contain
any matches, BlockMaxConjunctionScorer could use invalid score bounds. This
would never occur when building a conjunction of term queries but possibly when
building a conjunction of phrase queries for instance.
2018-07-25 10:57:11 +02:00
Simon Willnauer 35fa0b4f55 LUCENE-8425: Expose hard live docs on SegmentReader level
Today if soft deletes are used we expose a union of hard and soft deletes
via LeafReader#getLiveDocs. Yet, if a users wants to take advantage of
searching also soft-deleted documents the only option today is to search
all documents even though some of them are hard deleted. The recommendation
is to not mix those but in exceptional cases ie. when a document hits a
non-aborting exception during indexing the document is marked as hard
deleted which is the correct action. In order to filter those out having
access to the hard live docs on the segment reader level allows to filter out
these documents.
2018-07-25 09:34:36 +02:00
Varun Thacker a254e7d7bc SOLR-11598: Fix test failure due to ordering of sub-tests 2018-07-24 13:09:04 -07:00
Chris Hostetter 98d463ae48 SOLR-12567: JSON Facet "functions" now support an extended "type:func" syntax, similar to other types of facets
This also allows additional local params to be specified for if the aggregation function can take advantage of them.
2018-07-24 10:43:49 -07:00
Nhat Nguyen d66c05ce4f LUCENE-8414: Make segmentInfos private in IndexWriter
Today IW#SegmentInfos is package-private and can be accessed directly.
Unlike the production code which accesses the SegmentInfo with IW lock,
tests can access it without holding IW lock. This causes these tests
sometimes fail because they are checking an inconsistent view of
SegmentInfos due to a concurrent modification.

This commit makes SegmentInfos private in IndexWriter and ensures that
we snapshot SegmentInfos in our tests.
2018-07-24 12:39:27 -04:00
Adrien Grand d010cdd87e LUCENE-8412: Fix TestDistributedGrouping failure. 2018-07-24 12:10:25 +02:00
Dawid Weiss 8892c0d9af LUCENE-8415: Clean up Directory contracts (write-once, no reads-before-write-completed). Minor test improvements and cleanups. 2018-07-24 08:47:50 +02:00
Erick Erickson 9d7aef6e77 SOLR-12576: Update ref guide for additional information displayed in cloud view 2018-07-23 20:58:32 -07:00
Jason Gerlowski 6ed9607f74 SOLR-12555: Add add'l expectThrows() test helper 2018-07-23 20:37:04 -04:00
Jason Gerlowski de16baaa2f Fix precommit: unused TestExportWriter imports 2018-07-23 20:14:58 -04:00
Varun Thacker 877bde7347 SOLR-11598: Fix test case + class name typo 2018-07-23 12:21:59 -07:00
Alan Woodward 028c86b1fa LUCENE-8306: Allow iteration over submatches
Also includes LUCENE-8404, adding match iteration to SpanQuery
2018-07-23 10:02:01 +01:00
koji 995a902d1a SOLR-12570: OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi fields because pattern replacement doesn't work correctly 2018-07-23 16:58:46 +09:00
Adrien Grand 55bfadbce1 LUCENE-8412: TopFieldCollector no longer takes a trackDocScores option. 2018-07-23 09:06:49 +02:00
koji 34686c00dd LUCENE-8420: Upgrade OpenNLP to 1.9.0 2018-07-23 13:55:22 +09:00
Cao Manh Dat 8c06dec16d SOLR-12305: When a replica is applying updates, some kind of updates can skip buffering for faster recovery 2018-07-23 09:33:28 +07:00
Alan Woodward 6e3f61f6f9 Revert "LUCENE-8306: Allow iteration over submatches"
Incorrect patch committed in error

This reverts commit a8839b7eab.
2018-07-22 22:36:46 +01:00
Alan Woodward a8839b7eab LUCENE-8306: Allow iteration over submatches 2018-07-22 21:42:46 +01:00
Varun Thacker 2826a9550b SOLR-12489: remove unused imports 2018-07-21 13:55:37 -07:00
Varun Thacker 18c29b7303 SOLR-12489: Fix test failures 2018-07-21 13:05:07 -07:00
Erick Erickson 1bea1da5dc SOLR-12028: BadApple and AwaitsFix annotations usage 2018-07-20 13:37:05 -07:00
Varun Thacker 9d9c3a0cd8 SOLR-11598: Support more than 4 sort fields in the export writer 2018-07-20 11:38:07 -07:00
Nicholas Knize 509561bf2a LUCENE-8418: Mute LatLonShape polygonWithHole test until fix is applied 2018-07-20 11:36:47 -05:00
David Smiley 20a7ee9e11 LUCENE-8408: Highlighter: Remove obsolete private AttributeFactory instance 2018-07-20 12:33:34 -04:00
Cassandra Targett c152caeb23 Ref Guide: fix URL example rendering in result-grouping.adoc so all characters appear properly 2018-07-20 07:40:24 -05:00
Jim Ferenczi a19bc5ecb6 LUCENE-8402: Remove invalid identityHashCode assertions in TestPriorityQueue. 2018-07-20 10:13:19 +02:00
Alexandre Rafalovitch f6e9d00b90 SOLR-12553: Check local params in SignificantTerms Query Parser 2018-07-19 22:12:22 -04:00
Nicholas Knize 9d3cc1e16f LUCENE-8399: Fix LatLonShapeBoundingBoxQuery to use orient method for computing edge intersections 2018-07-19 13:29:05 -05:00
Chris Hostetter 3a5d4a25df SOLR-12343: Fixed a bug in JSON Faceting that could cause incorrect counts/stats when using non default sort options
This also adds a new configurable "overrefine" option
2018-07-19 10:05:28 -07:00
Cassandra Targett d443ed088d SOLR-11453: Ref Guide: add info on location of solr_slow_requests.log 2018-07-18 15:55:12 -05:00
Cassandra Targett 8242fc8368 Ref Guide: tiny edit to standardize usages of "tlog" for "transaction log" 2018-07-18 15:51:20 -05:00
Cassandra Targett 722f7dabd0 SOLR-11277: Ref Guide: add parameters for defining kilo/mega/gigabyte suffixes 2018-07-18 15:49:40 -05:00
Cassandra Targett d6afe1d016 SOLR-12507: clean up italics in MODIFYCOLLECTION example 2018-07-18 15:48:29 -05:00
David Smiley eafc9ffc6f LUCENE-8407: Add SpanTermQuery.getTermStates getter 2018-07-18 09:09:31 -04:00
Adrien Grand 7d8fc543f0 LUCENE-8411: Remove fillFields from TopFieldCollector factory methods. 2018-07-18 12:55:05 +02:00