Commit Graph

31066 Commits

Author SHA1 Message Date
Alan Woodward 2459072286 SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory 2018-11-22 13:54:39 +00:00
Simon Willnauer f7fa25069e [TEST] Prevent merges in simple tests that compare doc stats from IW 2018-11-22 14:20:29 +01: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
Simon Willnauer 56cb42d200 LUCENE-8569: Never count soft-deletes if reader has no hard-deletes
Today we count the actual soft-deletes during a merge which is
unnecessary if there are no hard-deletes present. In this case, which
is considered to be the common case we can get accurate counts by substracting
the number of deleted docs in the wrapped reader from the number of soft-deletes
in that reader.
2018-11-21 14:29:00 +01:00
Simon Willnauer 5f8855ee0b LUCENE-8571: Don't block on FrozenBufferedUpdates#apply during IW#processEvents
While indexing we try to apply frozen deletes packages concurrently
on indexing threads if necessary. This is done in an opaque way via
IndexWriter#processEvents. Yet, when we commit or refresh we have to
ensure we apply all frozen update packages before we return.
Today we execute the apply method in a blocking fashion which is unncessary
when we are in a IndexWriter#processEvents context, we block indexing
threads while they could just continue since it's already being applied.
We also might wait in BufferedUpdatesStream when we apply all necessary updates
were we can continue with other work instead of waiting.
This change also tries to apply the packages that are not currently applied
first in order to not unnecessarily block.
2018-11-21 14:20:19 +01:00
Jim Ferenczi 08dd681f0f LUCENE-8216: improve error message when field weight is invalid 2018-11-21 10:27:51 +01:00
Jim Ferenczi fd96bc5ca6 LUCENE-8216: Added a new BM25FQuery in sandbox to blend statistics across several fields using the BM25F formula 2018-11-21 10:24:30 +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
Dawid Weiss bd3ce916bd LUCENE-8568: TestMockDirectoryWrapper/ RAMInputStream NPE. 2018-11-20 13:37:29 +01: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 db9542526e LUCENE-8552: Optimize getMergedFieldInfos for zero or one segment 2018-11-16 16:45:09 -05:00
Christophe Bismuth cd61a926fb LUCENE-8463: TopFieldCollector can now early-terminates queries when sorting by SortField.DOC.
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-11-16 19:13:29 +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 5aa6782d87 LUCENE-8508: IndexWriter can set the created version major. 2018-11-16 14:24:34 +01:00
Adrien Grand 3302ed2ac6 LUCENE-8470: Remove legacy doc values APIs from lucene/core. 2018-11-16 14:24:34 +01:00
Adrien Grand 57334721f0 Remove extra colons. 2018-11-16 11:14:18 +01:00
Christophe Bismuth 116cc28fa4 LUCENE-8026: ExitableDirectoryReader does not instrument points
Closes #497

Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-11-16 10:32:20 +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
Dawid Weiss 4e2481b04b LUCENE-8560: TestByteBuffersDirectory.testSeekPastEOF() failures with ByteArrayIndexInput. ByteArrayIndexInput removed entirely, without a replacement. 2018-11-10 16:54:28 +01: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
Uwe Schindler 42ee96642c fix merge relict 2018-11-09 23:58:01 +01:00
Uwe Schindler efd3f17f9a LUCENE-8537: ant test command fails under lucene/tools 2018-11-09 23:53:14 +01: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
iverase 74e3ff509e LUCENE-8556: Use latitude and longitude instead of encoding values to check if triangle is ear when using morton optimisation 2018-11-09 07:22:10 +01: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