Commit Graph

34369 Commits

Author SHA1 Message Date
Alexandre Rafalovitch 7d62cad1a8
SOLR-14862: Update RefGuide page for support fied types (#1865)
Added mentions for BBoxField, NestPathField, RankField (and placehold for QParser, from SOLR-14590), RptWithGeometrySpatialField
Moved Deprecated types into separate table to improve reading comprehension
Added some cross-references for more in-depth reading.
2020-09-14 13:30:43 -04:00
Adrien Grand 97a4af6890
LUCENE-9510: Don't pull a merge instance when flushing stored fields out-of-order. (#1872)
With recent changes to stored fields that split blocks into several sub
blocks, the merge instance has become much slower at random access since
it would decompress all sub blocks when accessing a document. Since
stored fields likely get accessed in random order at flush time when
index sorting is enabled, it's better not to use the merge instance.

On a synthetic benchmark that has one stored field and one numeric
doc-value field that is used for sorting and fed with random values,
this made indexing more than 4x faster.
2020-09-14 18:07:04 +02:00
Julie Tibshirani fceab765c1
Make sure to test normal scorers with asserting wrappers. (#1834) 2020-09-14 18:06:41 +02:00
Houston Putman bc0b29eca3
SOLR-14789: Rename docker tests task, adding missing credit in CHANGES (#1871) 2020-09-14 10:55:43 -04:00
Eric Pugh 5edd4b21af
SOLR-14725 update batchSize parameter docs for update() and delete() stream expressions (#1729)
* batchSize is optional parameter with a default value

* typo
2020-09-14 09:35:12 -04:00
Dawid Weiss f92e2656b5
LUCENE-9522: Instructions for reproducing failing tests still mention ant (#1868) 2020-09-14 13:29:32 +02:00
Dawid Weiss 978446e4fd LUCENE-9521: Fix TestPassageSelector.randomizedSanityCheck failure (ensure input ranges for the formatter are within input value size). 2020-09-14 12:02:13 +02:00
Simon Willnauer 8f895d9075
LUCENE-9514: Include TermVectorsWriter in DWPT accounting (#1847)
TermVectorsWriter might consume some heap space memory that
can have a significant impact on decisions made in the IW if
writers should be stalled or DWPTs should be flushed if memory
settings are small in IWC and flushes are frequent. This change adds
RAM accounting to the TermVectorsWriter since it's part of the
DWPT lifecycle and not just present during flush.
2020-09-14 11:11:06 +02:00
noblepaul a8099d6367 Merge branch 'master' of github.com:apache/lucene-solr 2020-09-14 18:47:20 +10:00
Simon Willnauer 4d46caa05d
LUCENE-9515: Detach DWPT from DefaultIndexingChain (#1848)
This change removes the DWPT dependency from DefaultIndexingChain
and rather passes on the primitives needed for creating the chain.
2020-09-14 09:46:56 +02:00
Dawid Weiss 41c5c030aa LUCENE-9521: temporarily disable the offending test. 2020-09-14 09:39:19 +02:00
Dawid Weiss ff6e527a56 SOLR-14854: Add root project name lucene-solr (avoid automatic root project naming) 2020-09-14 09:21:30 +02:00
noblepaul cc31e23341 SOLR-14151: Fixing TestBulkSchemaConcurrent failures 2020-09-14 15:42:11 +10:00
noblepaul 27a14fe481 Revert "SOLR-14151: Bug fixes (#1815)"
This reverts commit 95ab98c920.

revert the previous change
2020-09-14 12:22:58 +10:00
Moses Schwartz 647bd5c59f
Update Json facet documentation (#1857)
Added missing preposition (to) in the sentence
2020-09-13 13:35:20 +05:30
Houston Putman 485d5fb41a
SOLR-14789: Absorb the docker-solr repo. (#1769) 2020-09-11 12:29:29 -04:00
Dawid Weiss ed930f4b29
SOLR-14417: Gradle build sometimes fails RE BlockPoolSlice (#1854)
* SOLR-14417: workaround the compiler scope problem.

* Make the list modifiable.
2020-09-10 22:25:33 +02:00
Julie Tibshirani 37e4dbef6d
LUCENE-9501: Fix invariant violation in IndexSortSortedNumericDocValuesRangeQuery. (#1833)
Previously the DocIdSetIterator returned an old value for docID advance
returned NO_MORE_DOCS. This violates the DocIdSetIterator contract and made it
possiblefor the iterator's advance method to be called even after it was
already exhausted.
2020-09-10 15:02:18 -04:00
Tomas Fernandez Lobbe 0250978869
SOLR-14510: Remove deprecations added with BlockMax WAND support (#1823) 2020-09-10 10:33:09 -07:00
Mike Drob 14e4edc1e9
SOLR-14847: Create Solr Server TGZ (#1844)
Create new targets for building solr binary release artifacts:

gradlew -p solr/packaging distTar distZip

Co-authored-by: Houston Putman <houston@apache.org>
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Mike Drob <mdrob@apache.org>
2020-09-10 10:55:48 -05:00
Dawid Weiss 59d83428bc
LUCENE-9519: Correct behavior for highlights that cross multi-value boundaries (#1853) 2020-09-10 16:15:51 +02:00
Dawid Weiss e2f3f626ee
LUCENE-9464: Add high(er)-level hit highlighter example that demonstrates and uses low-level components (#1820) 2020-09-10 13:17:13 +02:00
Uwe Schindler 8debc9d0c2
LUCENE-9517: Don't subclass Deflater and instead create a patch for setDictionary() using a functional interface (#1850) 2020-09-10 11:12:59 +02:00
Dawid Weiss a05a055d9d
LUCENE-9518: Add sanity to gradle archiving tasks (predictable order, default permissions, fail on duplicates) (#1851) 2020-09-10 09:48:04 +02:00
Tomas Fernandez Lobbe 2f86255b94 SOLR-14849: Add explicit sort order in testMinExactCount 2020-09-09 14:03:37 -07:00
Uwe Schindler 8b9f7cac3a Remove extra line after merge 2020-09-09 19:05:56 +02:00
Uwe Schindler f0d3bab321
LUCENE-9512: Move LockFactory stress test to be a unit/integration test (#1842)
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2020-09-09 18:42:30 +02:00
Frank Zhu 2e4fc14e62 use seconds instead of millisecs
It's a minor mistake and it doesn't affect the output due to the scale change (It will just make PAST_HOUR, PAST_SIX_HOURS not as intended). Still it's better to be correct.
2020-09-09 10:24:02 -04:00
Mike Drob e2deca0c2b CHANGES.txt 2020-09-09 09:21:39 -05:00
Mike Drob c902837bb2
SOLR-14846 Clean up Optional use (#1843)
* Remove Optional.ofNullable.orElse pattern
* Remove use of Optional as method parameter
2020-09-09 09:19:48 -05:00
Ignacio Vera 7da15706da
LUCENE-9470: make TestXYMultiPolygonShapeQueries more resilient for CONTAINS queries (#1776) 2020-09-09 16:06:25 +02:00
Christine Poerschke 12dab0f80e SOLR-14831: remove deprecated FacetParams.FACET_DISTRIB constant 2020-09-09 13:22:31 +01:00
Christine Poerschke 4716a0b2fa SOLR-14831: mark FacetParams.FACET_DISTRIB as deprecated 2020-09-09 13:21:41 +01:00
Christine Poerschke 04def94492
SOLR-14831: remove deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java (#1832) 2020-09-09 13:09:21 +01:00
Christine Poerschke f46515ee6b
Rename TestDirectoryFactory to DirectoryFactoriesTest (which is different from DirectoryFactoryTest). (#1790) 2020-09-09 13:08:20 +01:00
Christine Poerschke ccb299a2de Fix typo in help/ant.txt file. 2020-09-09 13:06:45 +01:00
Uwe Schindler dbf06dedfc fix imports 2020-09-09 01:01:05 +02:00
Uwe Schindler 3b47871c22 Assume no longer needed as bug no longer affects Java 11 2020-09-09 00:44:58 +02:00
Mayya Sharipova 99220677fe
LUCENE-9449 Skip docs with _doc sort and "after" (#1725)
- Enhance DocComparator to provide an iterator over competitive
documents when searching with "after". This iterator can quickly position
on the desired "after" document skipping all documents and segments before
"after".

- Redesign numeric comparators to provide skipping functionality
by default.

Relates to LUCENE-9280
2020-09-08 14:16:27 -04:00
Simon Willnauer 98e55f0ea8
LUCENE-9511: Include StoredFieldsWriter in DWPT accounting (#1839)
StoredFieldsWriter might consume some heap space memory that
can have a significant impact on decisions made in the IW if
writers should be stalled or DWPTs should be flushed if memory
settings are small in IWC and flushes are frequent. This change adds
RAM accounting to the StoredFieldsWriter since it's part of the
DWPT lifecycle and not just present during flush.
2020-09-08 18:18:13 +02:00
Mike Drob a46316e156
Clean up many small fixes (#1732)
* Abstract classes don't need public constructors since they can only be
  called by subclasses
* Don't escape html characters in @code tags in javadoc
* Fixed a few int/long arithmetic
* Use explicit Term.toString instead of implicit byte[].toString
* Javadoc typos
* Consistent capitalization for field and parameter names
2020-09-08 10:27:53 -05:00
Mike Drob 984466f31b
SOLR-14770 Avoid reregistering JVM Guage as well (#1469) 2020-09-08 10:18:24 -05:00
Mike Drob 4c5c8c4ead
LUCENE-9504 Remove extra lock in DocumentsWriterDeleteQueue (#1826) 2020-09-08 10:13:18 -05:00
Dawid Weiss b988d557d7
LUCENE-9506: Gradle: split validateSourcePatterns into per-project an… (#1830)
* LUCENE-9506: Gradle: split validateSourcePatterns into per-project and root-specific tasks (allow parallelism)

Co-authored-by: Uwe Schindler <uschindler@apache.org>
2020-09-08 10:08:51 +02:00
Ignacio Vera 59b17366ff
LUCENE-9292: Refactor BKD point configuration into its own class (#1697) 2020-09-08 09:03:41 +02:00
Varun Thacker f7cbde2ad8
Update CHANGES.txt
LUCENE-9497 is only for master ( since it's a gradle plugin )
2020-09-07 20:21:57 -07:00
Noble Paul 95ab98c920
SOLR-14151: Bug fixes (#1815) 2020-09-08 09:58:42 +10:00
Uwe Schindler e2003029e3 Merge branch 'master' of https://gitbox.apache.org/repos/asf/lucene-solr 2020-09-07 23:49:23 +02:00
Uwe Schindler 3cb2829a17 Fix tabs in MD files 2020-09-07 23:49:03 +02:00
Varun Thacker 121b262389
LUCENE-9497: Integerate Error Prone ( Static Analysis Tool ) during compilation (#1816)
LUCENE-9497:  Integrate Error Prone, a static analysis tool during compilation
2020-09-07 14:42:48 -07:00