Commit Graph

13194 Commits

Author SHA1 Message Date
David Wayne Smiley 2e666feda9 SOLR-3161 An incoming isShard=true should be limited to a SearchHandler. Protects against shards.qt=/update attack
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 04:44:39 +00:00
David Wayne Smiley 9491346128 SOLR-3161 limit qt=/... (leading /) to refer to a SearchHandler for safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305217 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 04:43:37 +00:00
Robert Muir b0d36c82db improve debugging a tad bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305189 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 01:22:06 +00:00
Robert Muir 35705cc396 LUCENE-3919: fix czechstemmer aioobe on the empty term
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305177 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 23:40:44 +00:00
Michael McCandless cb1a9a0cdf LUCENE-3897: if best scoring path is ahead of current pos, move forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305149 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 21:37:55 +00:00
Michael McCandless c876a1b850 on analysis consistency fail, print the text for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305143 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 21:23:49 +00:00
Michael McCandless a278ba7a0c LUCENE-3897: fix silly bug in forced backtrace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305086 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 17:51:26 +00:00
Uwe Schindler 7a43dc7432 Move DocSetBase to a separate Java file to prevent compile failures on partially updated source files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305061 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 15:30:53 +00:00
Christian Moen c3ddb9dc67 Added KuromojiReadingFormFilter (LUCENE-3915)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305046 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:17:23 +00:00
Steven Rowe fb33754168 LUCENE-3881: Added UAX29URLEmailAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304975 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 01:20:55 +00:00
Steven Rowe bf93518a38 LUCENE-3913: use ENGLISH locale for reproducibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304929 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 21:26:45 +00:00
Dawid Weiss 8e8b55d32c LUCENE-3908: include test method even in a failure is caught in a non-test thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304923 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 21:14:34 +00:00
Steven Rowe dd41d8d3bb LUCENE-3913: mention in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304916 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 21:00:25 +00:00
Steven Rowe ada9780484 LUCENE-3913: Fix HTMLStripCharFilter invalid final offset for input containing </br>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304912 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 20:54:31 +00:00
Michael McCandless 1f7c31d711 LUCENE-3905: add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304847 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 16:25:47 +00:00
Michael McCandless da1a723a3b LUCENE-3905: if real doc's text is too big, take a random slice (not just the prefix string)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304839 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 16:08:56 +00:00
Robert Muir 44695f0f3f LUCENE-3883: add multitermaware to the irish case filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304838 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 16:05:41 +00:00
Robert Muir f597b9a1cc LUCENE-3883: Irish Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304836 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:59:04 +00:00
Michael McCandless ee411e09e9 test fixes: add missing reader.close(); cutover to newDirectory() instead of new RAMDirectory()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304833 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:52:18 +00:00
Robert Muir 47a702b44d use a-z rather than only a-f in randomSimpleString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304826 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:41:01 +00:00
Robert Muir 8f53e6eaa7 LUCENE-3911: always use the same unicode block in the realistic case, sometimes use regexpish for lots of punctuation, fix off-by-one in randomRegexpIshString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304823 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:30:58 +00:00
Robert Muir a738c94656 LUCENE-3911: improve BaseTokenStreamTestCase random string generation, fix off-by-ones in TestUtil string gen methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304816 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 14:54:04 +00:00
Michael McCandless c16c7fb173 LUCENE-3905: don't split up a surrogate pair when truncating too-long text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304798 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 14:06:03 +00:00
Christian Moen 63f1c48b7d Added katakana stem filter (LUCENE-3901)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304719 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 06:38:53 +00:00
David Wayne Smiley e0141c7350 SOLR-3270 edismax blank q bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304704 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:06:48 +00:00
Steven Rowe 6fc8fa052c Enable comparisons between Solr distribution artifact names (apache-solr-*) and those of Maven artifacts (solr-*)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304662 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:47:55 +00:00
Chris M. Hostetter d7bccac40b SOLR-2291: bug doesn't exist on trunk, but forward porting test to prove it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304628 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 22:14:19 +00:00
Uwe Schindler 3a29e80f31 LUCENE-3867: Remove useless catch block, print more diagnotic information (32 bit HVMs never suppoort OBJECT_ALIGNMENT detection)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304564 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:11:31 +00:00
Michael McCandless 7291d38535 LUCENE-3905: sometimes run real-ish content (from LineFileDocs) through the analyzers too; fix end() offset bugs in the ngram tokenizers/filters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304525 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:39:13 +00:00
Dawid Weiss eca9908cbe Added Apache (c) header to new type template.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304521 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:32:07 +00:00
Uwe Schindler 35619772c7 LUCENE-3867: Add missing License headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304513 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:28:19 +00:00
Michael McCandless 9f186982aa LUCENE-2621: add description of new term vectors API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304505 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:23:50 +00:00
Uwe Schindler 56a177774e LUCENE-3867: Fix incorrect short-circuit, improve memory usage.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304485 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:05:58 +00:00
Robert Muir 3a8241485d SOLR-3112: rename abstract -Test to -TestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304455 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:43:30 +00:00
Robert Muir c1cab4323a SOLR-3112: license header on test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:37:18 +00:00
Robert Muir 2590469186 SOLR-3112: Fix tests not to write to src/test-files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304441 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:32:44 +00:00
Steven Rowe 37acabf4a8 allow checkout dir cmdline arg to be relative
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304365 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 14:20:35 +00:00
Martijn van Groningen e36ee74921 SOLR-3156: Check for Lucene directory locks at startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304359 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 14:12:24 +00:00
Martijn van Groningen 4ba2d0b972 Revert typo fix. Wasn't a type after all...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304338 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 13:41:35 +00:00
Martijn van Groningen eb06e60687 fixed small typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304320 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 12:50:14 +00:00
Robert Muir 8bd540f1db LUCENE-3904: fix Similarity javadocs when java7's javadoc is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304302 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 12:14:29 +00:00
Robert Muir 052bc32ae2 don't make such huge (up to 800 bytes) strings when making random docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304281 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 11:19:40 +00:00
Michael McCandless 8f21ee61cb make the connetion between TPBJC's trackScores and TPBJQ's ScoreMode more transparent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304269 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 10:33:17 +00:00
Simon Willnauer 6c73b26c93 LUCENE-3902: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 08:05:02 +00:00
Michael McCandless adfac074ec use singleton BytesRefIterator.EMPTY (no public class)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304134 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 23:33:19 +00:00
Tommaso Teofili e3056ee81d [SOLR-2983] - fix custom merge policy instantiation issue in SolrIndexConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304098 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 22:20:23 +00:00
Robert Muir c9c1166d07 fix javadocs for uima contrib from top level (copy the hack and comment from analysis-extras)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304088 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:54:14 +00:00
Robert Muir 6df50d5486 SOLR-2921: enable multitermqueries for these filters too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304059 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:03:58 +00:00
Dawid Weiss c8cd6210cc LUCENE-3847: eh, no comments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304030 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:25:02 +00:00
Dawid Weiss c9189ed8c9 LUCENE-3847: ignore user.timezone because it is set by java logging system and this is hard to predict.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304019 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:00:35 +00:00