Commit Graph

10218 Commits

Author SHA1 Message Date
Robert Muir 68061ef921 LUCENE-2560: add basic stress tests for analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096178 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 16:55:15 +00:00
Simon Willnauer 990a5d6f3a LUCENE-3023: merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1096120 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 08:07:28 +00:00
Uwe Schindler 2714ba90ca LUCENE-3042: Add a more specific test that can be backported to 3.x and prev
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096077 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 23:03:26 +00:00
Uwe Schindler 49ab81b316 LUCENE-3042: When a filter or consumer added Attributes to a TokenStream chain after it was already (partly) consumed [or clearAttributes(), captureState(), cloneAttributes(),... was called by the Tokenizer], the Tokenizer calling clearAttributes() or capturing state after addition may not do this on the newly added Attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096073 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 22:45:08 +00:00
Yonik Seeley d566917576 SOLR-1566: fix json formatting to indent at start of each doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096046 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 21:19:17 +00:00
Yonik Seeley 8be940dc1f minor: improve err msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095976 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 18:12:02 +00:00
Yonik Seeley 9db2ff41ae SOLR-2383: /browse improvements: generalize range and date facet display
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095950 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 15:39:07 +00:00
Robert Muir b48ad6841f LUCENE-2796: Lucene tests need to clean up after themselves
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095937 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 14:46:14 +00:00
Robert Muir 04d1646611 add some very basic asserts to BaseTokenStreamTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095861 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 04:29:47 +00:00
Chris M. Hostetter 1c75ae2fbb SOLR-2461: QuerySenderListener and AbstractSolrEventListener are now public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095545 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 22:46:06 +00:00
Chris M. Hostetter afe7a54112 SOLR-2394: don't assume 'standard' exists in the web ui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095526 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 21:48:46 +00:00
Uwe Schindler 20f261ca14 SOLR-2474: The helper TokenStreams in analysis.jsp and AnalysisRequestHandlerBase did not clear all attributes so they displayed incorrect attribute values for tokens in later filter stages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095521 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 21:35:05 +00:00
Chris M. Hostetter affaa37983 SOLR-1709: Distributed support for Date and Numeric Range Faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095517 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 21:29:13 +00:00
Mark Robert Miller 1773808025 SOLR-2324: SolrCloud solr.xml parameters are not persisted by CoreContainer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095455 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 16:38:51 +00:00
Mark Robert Miller 9d901879b3 SOLR-2105: Rename RequestHandler param 'update.processor' to 'update.chain'.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095432 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 15:11:38 +00:00
Mark Robert Miller ec366d2c52 LUCENE-2939: Highlighter should try and use maxDocCharsToAnalyze in WeightedSpanTermExtractor when adding a new field to MemoryIndex as well as when using CachingTokenStream
SOLR-2390: Performance of usePhraseHighlighter is terrible on very large Documents, regardless of hl.maxDocCharsToAnalyze

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095260 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 03:43:27 +00:00
Yonik Seeley ccf84e155e LUCENE-3037: replace idiv with imul in log
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095169 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 19:09:14 +00:00
Robert Muir 4a20fa5782 LUCENE-3037: calculate log with integer math
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095147 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 17:51:10 +00:00
Robert Muir 8906ff3cc2 LUCENE-3037: fix skiplevel computation for some cases where skipInterval^N == df
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095125 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 16:13:36 +00:00
Mark Robert Miller a440c8c018 SOLR-2333: The "rename" core admin action does not persist the new name to solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095120 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 15:44:05 +00:00
Simon Willnauer 01ffe0ba84 LUCENE-3023: some clean-up and nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1094916 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 07:52:55 +00:00
Yonik Seeley 2b87910440 SOLR-2403: fix facet.mincount>0 && facet.sort=index errors, add some algorithmic improvements, introduce more random testing for distrib faceted testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1094214 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 22:24:45 +00:00
Yonik Seeley 77e4b65134 fix SolrDocumentList.toString() maxScore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1094163 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 16:02:37 +00:00
Yonik Seeley b2530b74aa SOLR-2409: edismax: treat invalid fieldnames as a literal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1094014 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 16:51:11 +00:00
Yonik Seeley a336d4b940 build: add fake notices for bdb to work around license validation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1094012 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 16:22:08 +00:00
Yonik Seeley 00e6bc2e41 build: move license validation to only happen with test, not with compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092851 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 00:50:56 +00:00
Yonik Seeley 28332fff50 SOLR-2466: set HttpClient retryCount to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092848 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 00:25:29 +00:00
Yonik Seeley e88cd9a1c8 doc: keep CHANGES in sync w/ 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092841 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 23:01:50 +00:00
Yonik Seeley 0742b30b72 SOLR-2469: remove saveCommitPoint for replicate on startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092812 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:13:42 +00:00
Simon Willnauer f0b56fd92e merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092636 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 09:00:20 +00:00
Simon Willnauer f90bf1aee8 LUCENE-3032: TestIndexWriterException fails with NPE on realtime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092627 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 08:31:17 +00:00
Simon Willnauer 95b0aa44da LUCENE-3031: setFlushPending fails if we concurrently hit a aborting exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092625 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 08:26:16 +00:00
Simon Willnauer b95a78384c only try to flush if there is a DWPT ready for flushing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092622 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 08:10:28 +00:00
Simon Willnauer ccd4d4a1e1 prevent rolling updates from relying on num of CPUs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092614 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 07:42:34 +00:00
Simon Willnauer 3128a64121 disabled fragile assert in healthiness test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092613 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 07:41:51 +00:00
Robert Muir 3db2d87b9f mergeprop cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092483 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:54:07 +00:00
Simon Willnauer 9faf9d9c35 fixed assert location
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092478 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:48:35 +00:00
Michael McCandless 0e928f593c more verbosity in Test2B (merged from 3.x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092462 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:38:18 +00:00
Chris M. Hostetter a5d2b89dff SOLR-2468: fix test added by SOLR-2335 that doesn't work on windows (double-quote in file name)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092451 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:32:41 +00:00
Robert Muir c3f6331639 LUCENE-3016: add analyzer for Latvian
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092396 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 17:07:10 +00:00
Robert Muir 9b8cfb80b5 SOLR-2468: ignore test for now to unbreak build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092394 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 16:56:23 +00:00
Simon Willnauer db1270e5f7 prevent mockDirectory from failing during rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092329 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:16:05 +00:00
Robert Muir ecd795c585 LUCENE-3026: SmartChineseAnalyzer's WordTokenFilter threw NullPointerException on sentences longer than 32,767 characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092328 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:15:31 +00:00
Simon Willnauer cf52aa04c2 added license header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092208 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 13:05:05 +00:00
Simon Willnauer 7f22bd1118 LUCENE-3028: IW.getReader() returns inconsistent reader on RT Branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092194 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:41:18 +00:00
Simon Willnauer c28df3e572 disable random exception ratio for running rollback during test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092190 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:37:46 +00:00
Simon Willnauer 368644bfd0 fixing testHealthyness since we now don't stall on bytesUsed explicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092144 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 11:40:00 +00:00
Dawid Weiss 191706df70 SOLR-2378: A new, automaton-based, implementation of suggest (autocomplete)
component, offering an order of magnitude smaller memory consumption
compared to ternary trees and jaspell and very fast lookups at runtime.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092136 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 11:16:43 +00:00
Michael McCandless 2133423e2b LUCENE-3027: remove redundant assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092110 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:39:38 +00:00
Michael McCandless 0fb7c3e41f LUCENE-3027: disregard FieldInfo.storesPayloads if omitTFAP is true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092105 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:33:01 +00:00