29912 Commits

Author SHA1 Message Date
Karl Wright
85c182607b LUCENE-8220: Add general makeGeoPolygon variant that decides the best technology for you. 2018-03-25 12:20:41 -04:00
Alan Woodward
bbf8306615 LUCENE-8202: Fix positionlength for FixedShingleFilter and add limits to shingle size and count 2018-03-25 13:22:49 +01:00
Karl Wright
273a829c46 LUCENE-8220: Switch over to using GeoComplexPolygon if we can't tile a polygon. 2018-03-25 08:17:08 -04:00
Karl Wright
5e1d6f36f7 LUCENE-8220: Code cleanup in preparation for returning GeoComplexPolygon as an alternative instead of tiling. 2018-03-25 07:41:20 -04:00
Karl Wright
9e5468adcd LUCENE-8220: need a continue, not a break 2018-03-25 03:58:51 -04:00
Karl Wright
d49ba5c333 LUCENE-8220: Refine how handle tiling coplanarities further. 2018-03-25 03:46:08 -04:00
Karl Wright
94c360dc1c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-24 11:03:29 -04:00
Karl Wright
086682bc33 LUCENE-8220: Handle polygon tiling issues in a more robust way. 2018-03-24 11:03:15 -04:00
Jason Gerlowski
c4abbfd5f7 SOLR-11551: Standardize CoreAdmin API status codes 2018-03-24 10:48:15 -04:00
markrmiller
ea504091e5 SOLR-10075: Remove test code. 2018-03-23 13:38:21 -05:00
markrmiller
5a61a18304 SOLR-10075: Move assumes to @BeforeTest instead of changing to if statements to prevent false fails. 2018-03-23 13:33:57 -05:00
markrmiller
848a410ca1 SOLR-10075: TestNonWritablePersistFile fails when run as a single test under root. 2018-03-23 10:35:43 -05:00
Noble Paul
e364f5be31 SOLR-12015: fixed typo in CHANGES.txt 2018-03-23 13:52:25 +11:00
Noble Paul
e340cef68d SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name> 2018-03-23 13:48:28 +11:00
Karl Wright
ea12b5fd22 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-22 11:10:38 -04:00
Karl Wright
7cadada441 LUCENE-8219: Do a better job of estimating automaton array sizes up front, to save on reallocation. Committed on behalf of Christian Ziech. 2018-03-22 11:10:29 -04:00
Cao Manh Dat
92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
Alan Woodward
2c4b78c43f LUCENE-8202: Add checks for shingle size 2018-03-21 17:38:05 +00:00
David Smiley
8e87a3e336 Remove obsolete comment 2018-03-21 11:41:36 -04:00
Steve Rowe
51a6bec48d SOLR-10912: fix routing of Solr non-contrib build output dirs (e.g. solr/core -> ../build/solr-core; previously -> ../build/core) 2018-03-21 11:31:11 -04:00
Alan Woodward
fac84c01c8 LUCENE-8202: Add FixedShingleFilter 2018-03-21 13:45:03 +00:00
Simon Willnauer
d4e69c5cd8 LUCENE-8217: Remove IndexFileDeleter#decRefWhileHandlingExceptions
This method is a duplicate of IDF#decRef(...) and hides exceptions
from the caller. This change removes this method and replaces it with
it's counterpart that escalades the exception.
2018-03-21 09:41:08 +01:00
Simon Willnauer
f664896d1f LUCENE-8212: Ensure all closeables are closed even if an VMError is thrown 2018-03-21 09:35:56 +01:00
Cao Manh Dat
d2ef38d784 SOLR-12110: Remove debug log for test 2018-03-21 11:25:53 +07:00
Cao Manh Dat
63a145aa7b SOLR-12129: After the core is reloaded, term of the core will not be watched 2018-03-21 09:35:51 +07:00
Chris Hostetter
9cda074e55 EarlyTerminatingSortingCollector is no longer a public class on master (LUCENE-8059) so we should stop linking to it from the ref-guide 2018-03-20 15:20:25 -07:00
Cassandra Targett
db62ffe94a Ref Guide: two more bad javadoc links 2018-03-20 15:33:01 -05:00
Cassandra Targett
48512cc68f Ref Guide: fix a few wrong javadoc links 2018-03-20 13:54:37 -05:00
Cassandra Targett
a845023652 SOLR-12024: fix parameter name from "encoding" to "encoder" 2018-03-20 12:58:48 -05:00
Steve Rowe
0c61c857c8 LUCENE-8106: Handle IncompleteRead exceptions while downloading the Jenkins log by retrying a limited number of times 2018-03-20 11:11:33 -04:00
Adrien Grand
04120273f8 LUCENE-8197: Fix CHANGES entry. 2018-03-20 14:30:38 +01:00
Andrzej Bialecki
3afb8b15bf SOLR-11134: This test fails reproducibly, mark it as AwaitsFix. 2018-03-20 13:47:13 +01:00
Adrien Grand
710993435f LUCENE-8197: Efficient integration of static scoring factors. 2018-03-20 11:57:29 +01:00
Simon Willnauer
2e35ef2b3d LUCENE-8215: Fix several fragile exception handling places in o.a.l.index
Several places in the index package don't handle exceptions well or ignores them.
This change adds some utility methods and cuts over to make use of try/with blocks
to simplify exception handling.
2018-03-20 10:50:12 +01:00
Adrien Grand
3048e5da22 LUCENE-8008: Remove unintended changes. 2018-03-20 09:52:24 +01:00
Simon Willnauer
65559cb94d LUCENE-8212: Make sure terms hash is always closed
if stored fields writer barfs we still need to close terms hash to
close pending files. This is crucial for some tests like TestIndexWriterOnVMError
that randomly failed due to this.
2018-03-19 22:08:25 +01:00
Karl Wright
a832411844 LUCENE-8214: Move message to a different place 2018-03-19 16:47:15 -04:00
Karl Wright
9b4b7c6bbe LUCENE-8214: Update CHANGES.txt 2018-03-19 16:42:15 -04:00
Chris Hostetter
8bd7e5c9d2 SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used

This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.

- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
  the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Chris Hostetter
d6ed71b5c4 SOLR-12118: Solr Ref-Guide can now use some ivy version props directly as attributes in content 2018-03-19 10:13:34 -07:00
Uwe Schindler
aae07d9572 LUCENE-8155: Fix Solr example with Java 9 (was a problem when reverting an old commit) 2018-03-19 15:35:34 +01:00
Andrzej Bialecki
ed2d358330 SOLR-11670: Make sure defaults are applied in simulated cluster. 2018-03-19 15:16:50 +01:00
Andrzej Bialecki
9980f05ac3 SOLR-11911: Check for thread interrupted and stop looping. 2018-03-19 14:52:18 +01:00
Andrzej Bialecki
fa03a3843c SOLR-11670 This functionality was added in 7.4 and not in 7.3.0. 2018-03-19 11:27:09 +01:00
Shalin Shekhar Mangar
7d9783d201 SOLR-11648: Do not show suggestions menu item in standalone solr mode 2018-03-19 10:04:36 +05:30
Karl Wright
f282a855f2 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-18 16:15:57 -04:00
Karl Wright
cd39314a00 LUCENE-8214: Do a better job of selecting the test point for a geocomplexpolygon. 2018-03-18 16:12:29 -04:00
Dawid Weiss
d09cc1cb0b LUCENE-8206: improvements to TestIndexWriterWithThreads. 2018-03-18 19:14:18 +01:00
Simon Willnauer
916ed60eea LUCENE-8212: Never swallow Exceptions in IndexWriter and DocumentsWriter
IndexWriter as well as DocumentsWriter caught Throwable and ignored
it. This is mainly a relict from pre Java 7 were exceptions didn't have
the needed API to suppress exceptions. This change handles exceptions
correctly where the original exception is rethrown and all other exceptions
are added as suppressed.
2018-03-18 18:23:31 +01:00
Uwe Schindler
6eac67fe56 Fix changes 2018-03-18 11:47:48 +01:00