Commit Graph

19759 Commits

Author SHA1 Message Date
Robert Muir 6e9cbf3986 LUCENE-5638: pack the core attributes into one impl by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 14:36:27 +00:00
Robert Muir 94c513ad5b LUCENE-5642: Randomize attributeFactory in tests, use MockTokenizer more where possible, reduce use of esoteric Token ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592339 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 12:19:35 +00:00
Shalin Shekhar Mangar d67884a07c SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592195 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 13:01:36 +00:00
Uwe Schindler 7db6edeb75 LUCENE-5639: Fix token class to correctly implement PoistionLengthAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592078 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:37:32 +00:00
Ryan Ernst ad37014a3a SOLR-6022: Rename getAnalyzer() to getIndexAnalyzer()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:34:25 +00:00
Uwe Schindler 4bd9f8b0eb LUCENE-5639: Fix token class to correctly implement PoistionLengthAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592075 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:33:36 +00:00
Robert Muir 1613f1882c LUCENE-5634: Reuse TokenStream instances for string and numeric Fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591992 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 18:07:38 +00:00
Robert Muir f353c52e25 add more iterable testing to TestIndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591921 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 14:08:21 +00:00
Robert Muir 9839ad461e LUCENE-5611: lazy-init the stored fields writer like before to prevent leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591807 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 02:48:40 +00:00
Robert Muir ccccb0b377 improve block document exception testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591804 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 02:12:16 +00:00
Chris M. Hostetter 6821905d24 SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591800 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 00:33:28 +00:00
Robert Muir 4de244e214 LUCENE-5635: make this test more efficient at finding bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591748 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 19:28:32 +00:00
Robert Muir 4a535e2a47 LUCENE-5635: fold in dv updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591733 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 18:49:38 +00:00
Robert Muir 178b6b3f5e LUCENE-5635: speed up and improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591726 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 18:35:55 +00:00
Robert Muir 07eac25dd0 LUCENE-5635: add some deletes and open reader from writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591708 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:50:15 +00:00
Robert Muir 01829ad787 LUCENE-5611: nuke dup buggy test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591701 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:28:34 +00:00
Michael McCandless 30006cff7e LUCENE-5611: don't abort segment if term vector settings are wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591700 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:28:21 +00:00
Michael McCandless fff01837d7 LUCENE-5635: enable this nice new test; make all FieldsConsumers impl Closeable and move closing responsibility to caller
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591676 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:14:48 +00:00
Robert Muir cab3e360c7 LUCENE-5635: properly shutdown IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591665 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:49:06 +00:00
Robert Muir 15fe8f9cba LUCENE-5635: make CrankyCodec crankier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591662 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:40:45 +00:00
Robert Muir f94e4d611a LUCENE-5635: make these usable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591661 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:36:53 +00:00
Michael McCandless 5e19ec415d fix test bug / add toStrings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591658 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:32:56 +00:00
Michael McCandless 46ae34459c LUCENE-5611: always abort if we hit exc in StoredFieldsWriter.start/FinishDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591657 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:32:31 +00:00
Robert Muir 9968bd91df LUCENE-5635: add a prototype test (currently disabled with AwaitsFix)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591652 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:19:21 +00:00
Robert Muir 9ee1dcf40a LUCENE-5635: don't try to use CrankyTokenFilter in TestRandomChains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591629 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 12:04:38 +00:00
Robert Muir e6582aa850 LUCENE-5635: no spi for crankytokenfilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591611 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:32:27 +00:00
Robert Muir 798624fe8b LUCENE-5635: add CrankyTokenFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:19:33 +00:00
Robert Muir 1c77c9e5e9 improve test to ensure exceptions here really dont abort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591596 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 10:52:08 +00:00
Robert Muir b5171bb668 LUCENE-5611: fix dv exceptions to be non-aborting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591587 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 10:06:03 +00:00
Shalin Shekhar Mangar abe013d771 SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Robert Muir 4bd6b9918a fix tv randomization logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591562 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 08:30:09 +00:00
Shalin Shekhar Mangar a5c8d6b7a5 SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591555 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 07:39:39 +00:00
Shai Erera 2227cca025 LUCENE-5591: pass proper IOContext when writing DocValues updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591469 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 20:14:20 +00:00
Shai Erera b8c02f6267 LUCENE-5633: replace NoMergePolicy.COMPOUND/NO_COMPOUND by NoMergePolicy.INSTANCE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591432 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 18:13:04 +00:00
Michael McCandless 0a83273dfa LUCENE-5611: always call PerField.finish even on non-aborting exc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591399 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 17:12:54 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Dawid Weiss 13767516ca Follow up cleanups to LUCENE-5622.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591279 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 12:51:24 +00:00
Robert Muir ce69d26f8d rewrite broken test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 12:44:43 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss e1f76c5ab1 LUCENE-5622: Fail tests if they print over the given limit of bytes to System.out or System.err
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591222 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:38:47 +00:00
Dawid Weiss 8c17d6c662 Marking known offenders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591218 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:24:13 +00:00
Dawid Weiss 48d08fea07 Soft limit on the sysout bytes instead of a yes/no switch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591214 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:27:23 +00:00
Dawid Weiss 943f0cab26 Catching up with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591209 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 07:59:31 +00:00
Robert Muir 5fc6651fc2 fix test to actually throw exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591038 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 18:07:20 +00:00
Michael McCandless f5de5d01e8 LUCENE-5611: simplify the default indexing chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591025 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 17:18:41 +00:00
Michael McCandless 3b52e277ce make sure we are consistent for a given field name when we randomly enable term vector options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5611@1591009 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 15:56:46 +00:00
Joel Bernstein f98b248325 SOLR-6029: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590965 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 12:41:49 +00:00
Joel Bernstein 429d36a15c SOLR-6029: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590867 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 04:55:01 +00:00
Joel Bernstein 37e44ba41a SOLR-6029: CollapsingQParserPlugin throws ArrayIndexOutOfBoundsException if elevated doc has been deleted from a segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590865 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 04:43:07 +00:00
Robert Muir c4b632ef7f LUCENE-5611: indexing optimizations, dont compute CRC for internal-use of RAMOutputStream, dont do heavy per-term stuff in skipper until we actually must buffer skipdata
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5611@1590858 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 01:49:24 +00:00