Commit Graph

7708 Commits

Author SHA1 Message Date
Michael McCandless 19c70cab54 LUCENE-6395: MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 14:22:49 +00:00
Michael McCandless 2e5bc486e2 add a couple TermAutomatonQuery tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671538 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 14:18:17 +00:00
Michael McCandless 86fe84c1ee fix empty string corner cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671497 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 09:03:35 +00:00
Robert Muir aa82d48423 add more equivalence tests for SpanNotQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671424 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 20:20:25 +00:00
Robert Muir 7f4379762e LUCENE-6393: Add two-phase support to SpanPositionCheckQuery and subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671420 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 19:44:31 +00:00
Michael McCandless 2418769c85 LUCENE-5879: turn off too-slow term range checking for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671380 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 08:54:02 +00:00
Robert Muir 024df3e4a0 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 15:36:17 +00:00
Michael McCandless 4297e28f7a defensively switch to AtomicLong for IndexWriter's changeCount; make failing test a bit more evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 09:49:48 +00:00
Areek Zillur 474b304f37 LUCENE-6339: fix test (ensure the maximum requested size is bounded to 1000)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671196 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 22:40:37 +00:00
Ramkumar Aiyengar 796416d43c Remove unnecessary svn:executable from some files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671175 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:56:33 +00:00
Robert Muir 1052ae1c48 LUCENE-6271: PostingsEnum should have consistent flags behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:27:03 +00:00
Robert Muir 70b7a2ca1b LUCENE-6271: add vectors tests for postings enum api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671160 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:59:31 +00:00
Robert Muir 363fc49258 merge trunk up to r1671137
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:13:06 +00:00
Robert Muir 7ee772616f LUCENE-6393: add equivalence tests for SpanFirstQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671137 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 19:43:41 +00:00
Robert Muir dcdb496bef LUCENE-6391: Give SpanScorer two-phase iterator support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671123 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 18:38:27 +00:00
Shawn Heisey d5749d6ecc SOLR-6865: Upgrade HttpClient/Core/Mime to 4.4.1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671085 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 15:10:00 +00:00
Robert Muir 0666344038 LUCENE-6388: Optimize SpanNearQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671078 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 14:39:33 +00:00
Robert Muir db2faf0c25 LUCENE-6385: add null check to WeightedSpanTermExtractor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671064 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 13:16:58 +00:00
Martijn van Groningen c4d9d6b3f1 LUCENE-6352: Added a new query time join to the join module that uses global ordinals, which is faster for subsequent joins between reopens.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670990 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 22:00:26 +00:00
Areek Zillur 548edc5406 LUCENE-6339: fix test bug (ensure opening nrt reader with applyAllDeletes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670972 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 21:17:34 +00:00
Michael McCandless 989cf86533 LUCENE-6386: correct javadocs about temp disk space required for forceMerge(1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670959 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 20:23:03 +00:00
Robert Muir 90207aaf24 merge trunk up to r1670936
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670937 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 16:43:59 +00:00
Robert Muir d1be8c3b2b fix excessive file handle usage in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670934 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 16:38:42 +00:00
Robert Muir 5ea36eb992 merge trunk up to r1670923
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670929 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:37:39 +00:00
Robert Muir 61166afce7 LUCENE-5879: fix test compilation (this enum no longer exists)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670923 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:18:08 +00:00
Michael McCandless 30807709e6 LUCENE-5879: add auto-prefix terms to block tree, and experimental AutoPrefixTermsPostingsFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670918 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:05:48 +00:00
Robert Muir 3b8d3f9674 LUCENE-6271: fold these tests into BasePostingsFormatTestCase, so we know all codecs adhere. TODO: clean up BPFTC reuse hooks, TODO: do the same for vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670750 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 18:32:57 +00:00
Robert Muir f99b6556e4 LUCENE-6271: remove hardcoded foo and use field parameter in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670748 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 18:12:01 +00:00
Robert Muir 7dfe8b6635 LUCENE-6271: Don't let Direct get a free pass on this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670745 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 18:10:51 +00:00
Robert Muir 93969f6d8b LUCENE-6271: bring test up to the new world
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670698 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 16:00:14 +00:00
Robert Muir 8ba1496a83 merge trunk up to r1670672
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670673 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:24:20 +00:00
Robert Muir 0b8e5fb822 LUCENE-6271: add simple test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670670 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:19:44 +00:00
Simon Willnauer 58202b255a LUCENE-6377: Pass previous reader to SearcherFactory#newSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 13:45:26 +00:00
Adrien Grand d3b81fc812 Fix SuggestFieldTest to not always expect IndexWriter.tryDelete to succeed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670604 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 10:40:28 +00:00
Michael McCandless ac0eca6254 LUCENE-6381: defensively wait for a limited time during DWPT stall
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670585 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 09:25:41 +00:00
Robert Muir a9b3fdebf1 merge trunk changes up to r1670558
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670559 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 04:03:29 +00:00
Robert Muir 5211c25c73 fix nightly test fail with memorypf and variable length payloads (its inefficient)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670558 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 04:02:33 +00:00
Robert Muir de5b443d5b make this test more verbose when it fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670551 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 03:55:45 +00:00
Robert Muir f1ba29ada4 make this test more verbose when it fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670550 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 03:46:53 +00:00
Robert Muir 4ae686243b LUCENE-6271: merge trunk changes up to r1670546
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670547 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 03:00:55 +00:00
Robert Muir 809998adff spin off NIGHTLY DuelingCodecs into separate test that excludes memory-hungry codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670546 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 02:59:57 +00:00
Robert Muir 7c10df8b65 fix misleading code comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670539 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:40:31 +00:00
Robert Muir 41ba046a93 LUCENE-6271: merge trunk changes up to r1670529
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:10:11 +00:00
Robert Muir 86bea1d123 merge unrelated nightly test bugfixes from LUCENE-6271 branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670529 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:55:00 +00:00
Robert Muir 87b3bfaee4 LUCENE-6271: fix another test bug (happens in nightly more often) unrelated to this branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670525 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:29:21 +00:00
Michael McCandless 10565e237d LUCENE-6271: fix LineFileDocs to not close itself; don't set daemon threads for ThreadedIndexingAndSearchingTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670511 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 22:55:54 +00:00
Michael McCandless dd0c69cac5 LUCENE-6271: fix test to fail faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670508 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 22:44:11 +00:00
Michael McCandless 4a1d1c7c31 LUCENE-6271: fix bug in CheckIndex: don't ask for offsets from postings if they didn't have them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670494 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 22:09:22 +00:00
Robert Muir 0565536b7f LUCENE-6271: fix bug in SortingDocsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 21:15:27 +00:00
Robert Muir 4128f5b563 LUCENE-6271: fix this bad naming ref too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670481 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 21:09:49 +00:00