Commit Graph

17308 Commits

Author SHA1 Message Date
Uwe Schindler a3692c23dd Javadocs bugs seem to be fixed in Java 8 b82. Reenable Javadocs linting on Java 8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460042 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:47:11 +00:00
Uwe Schindler 55478afcb7 LUCENE-4808: Undo the workaround for compilation in Java 8, the bug is fixed in b82
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460039 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:41:55 +00:00
Robert Muir 1642b70fcb LUCENE-4571: Speed up BooleanQuerys with minShouldMatch to use skipping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459938 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 19:22:36 +00:00
Simon Willnauer d56fa5175e LUCENE-4870: Lucene deletes entire index if and exception is thrown due do TooManyOpenFiles and OpenMode.CREATE_OR_APPEND
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 17:07:10 +00:00
Adrien Grand 8df4265ef0 LUCENE-4839: Add CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:03:49 +00:00
Adrien Grand 7adf68d067 LUCENE-4867: Allow custom SorterTemplates to override merge.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459851 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:47:14 +00:00
Mark Robert Miller 3cc1919645 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:31:51 +00:00
Robert Muir 81cae44015 LUCENE-4571: also verify scores in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459841 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:22:39 +00:00
Robert Muir 786e3ddf22 LUCENE-4571: fix rare test bug and beef up matching tests some more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459819 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:55:45 +00:00
Michael McCandless 0e830fbae4 LUCENE-4860: per-field control over scoring and formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:50:11 +00:00
Adrien Grand 97ec69bb69 LUCENE-4752: Added SortingMergePolicy that sorts documents when merging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459794 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:22:58 +00:00
Adrien Grand 276edac42e LUCENE-4871: Better compress positions, offsets and payloads in SortingDocsAndPositionsEnum.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459790 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:14:54 +00:00
Mark Robert Miller 3a8318ccd1 simplify
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 06:55:01 +00:00
Mark Robert Miller be4edb9ca4 tests: make test a little nastier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 05:34:34 +00:00
Mark Robert Miller efe78df1e8 tests: raise timeout from 15 to 30
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459624 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:39:25 +00:00
Mark Robert Miller 39f1b02fd2 SOLR-4629: More Replication testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459618 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:07:17 +00:00
Mark Robert Miller 324806c7b1 tests: improve logging around sync slice test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459616 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 03:39:27 +00:00
Mark Robert Miller 3dab717eaf tests: raise fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459611 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:10:33 +00:00
Robert Muir e119331149 fix one more violation in this breakiterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459609 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:04:39 +00:00
Robert Muir e3150fc20c remove UOE and make this breakiterator well-behaved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459607 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 01:56:37 +00:00
Mark Robert Miller a5fd71f0ee tests: try waiting for collection first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 00:05:37 +00:00
Mark Robert Miller f6fa8c215d SOLR-4624: remove leftover forceNew params.
SOLR-4626: getIndexWriter(null) should also respect pauseWriter.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459570 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 23:03:21 +00:00
Mark Robert Miller 5b3cdaca44 SOLR-4624: CachingDirectoryFactory does not need to support forceNew any longer and it appears to be causing a missing close directory bug. forceNew is no longer respected and will be removed in 4.3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459565 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:44:14 +00:00
Yonik Seeley 7584c40c7a SOLR-4625: fix boosts and phrase slops on sub parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459537 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:31:19 +00:00
Robert Muir ba7fabb680 LUCENE-4571: improve minShouldMatch testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 20:50:30 +00:00
Robert Muir c6bc3fdd28 don't waste ram
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459487 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 19:32:50 +00:00
Michael McCandless 26b6e88533 this ctor doesn't throw IOE anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459441 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:33:20 +00:00
Uwe Schindler 6385447660 LUCENE-4848: Use Java 7 NIO2-FileChannel instead of RandomAccessFile for NIOFSDirectory and MMapDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459437 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:19:19 +00:00
Yonik Seeley 27f5cd5fb8 SOLR-4608: use default update processor chain during log replay and peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459424 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:56:31 +00:00
Adrien Grand a40674e778 LUCENE-4862: Test early termination with executor services too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459414 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:29:29 +00:00
Adrien Grand 986444de44 LUCENE-4862: Added CollectionTerminatedException to allow permature termination of the collection of a single IndexReader leaf.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459400 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:04:10 +00:00
Steven Rowe 0dbb4d92c1 IntelliJ configuration: language level from 1.6 -> 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 16:09:41 +00:00
Shai Erera 915d9a3d11 LUCENE-4868: SumScoreFacetsAggregator used an incorrect index into the scores array
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459304 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 13:35:42 +00:00
Jan Høydahl 810f740409 SOLR-4621: SYSTEM_REQUIREMENTS.txt points to non-existing BUILD.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459263 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 12:30:20 +00:00
Robert Muir 865982dbe3 make sure the simple tests run against both cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459155 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 05:25:58 +00:00
Simon Willnauer 734c426fa7 LUCENE-4865: BytesRefArray#append returns wrong index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459051 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 21:01:48 +00:00
Adrien Grand affb12e11b LUCENE-4752: Preliminaries:
- move useful assert*Equals from TestDuelingCodecs to LuceneTestCase,
 - rename sort to wrap in SortingAtomicReader to better suggest that the returned reader is a view.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459037 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 20:40:22 +00:00
Robert Muir 05a1bb2cb9 do checkReader in newSearcher a lot less often for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459018 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 19:46:12 +00:00
Robert Muir 4027f79370 emulate jvm bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458987 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 18:13:43 +00:00
Michael McCandless 1ba0dd51ce LUCENE-4853: fix param name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458950 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 17:00:51 +00:00
Michael McCandless f7e106bd71 LUCENE-4853: fix sort order bug with returned snippets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458944 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 16:56:25 +00:00
Shai Erera dd3a8dff69 LUCENE-4859: Expose more stats on IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458907 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 16:05:45 +00:00
Michael McCandless 9946aeffb0 LUCENE-4856: If there are no matches for a given field, return the first maxPassages sentences
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458889 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:36:14 +00:00
Chris M. Hostetter ad81236c7d SOLR-4589: Fixed CPU spikes and poor performance in lazy field loading of multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458887 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:33:55 +00:00
Mark Robert Miller a26e0dd616 SOLR-4617: SolrCore#reload needs to pass the deletion policy to the next SolrCore through it's constructor rather than setting a field after.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458880 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:18:19 +00:00
Michael McCandless 3d0696f4f4 LUCENE-4856: revert ... need to add option to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458869 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:06:49 +00:00
Michael McCandless 0e7f97b261 LUCENE-4856: If there are no matches for a given field, return the first maxPassages sentences
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458865 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:02:05 +00:00
Simon Willnauer e33b01bc50 LUCENE-4857: Don't unnecessarily copy stem override map in StemmerOverrideFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458857 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 14:38:03 +00:00
Simon Willnauer 2f8c2cff03 LUCENE-4857: Don't unnecessarily copy stem override map in StemmerOverrideFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458848 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 14:21:52 +00:00
Uwe Schindler bac0ad9d1c Fix Java 7 compiler warning. This method only calls a SafeVarargs method and is also safe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458818 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 13:18:23 +00:00