Commit Graph

11654 Commits

Author SHA1 Message Date
Robert Muir e927a69698 LUCENE-3456: use MockTokenizer in analysis tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175650 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:24:02 +00:00
Mark Robert Miller 67fe9a6b81 SOLR-2793: Be sure to only dec ref if we inc ref'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175646 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 02:13:23 +00:00
Mark Robert Miller 50b31b2a4e SOLR-2793: In rare cases (most likely during shutdown), a SolrIndexSearcher can be left open if the executor rejects a task.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175637 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 00:48:02 +00:00
Robert Muir e7229ee7a4 LUCENE-3456: more use of MockTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 21:10:50 +00:00
Robert Muir 1e577e15b5 LUCENE-3456: use MockTokenizer instead of WhitespaceTokenizer in test configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 19:10:17 +00:00
Doron Cohen e57f2ca698 LUCENE-3457: Upgrade commons-compress to 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175475 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 18:15:18 +00:00
Uwe Schindler 0a1d2dd8ec Fix Javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 16:24:41 +00:00
Michael McCandless 4d44198e0d LUCENE-3445: add SearcherManager to simplify handling of multiple search threads and reopening IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175413 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 15:18:13 +00:00
Michael McCandless 2028a88d4f add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 14:10:42 +00:00
Uwe Schindler f0ca4c49ef LUCENE-3458: Change BooleanFilter to have only a single clauses ArrayList (so toString() works in order). It now behaves more like BooleanQuery, implements Iterable<FilterClause>, and allows adding Filters without creating FilterClause. Also cleaned up formatting and Test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:48:56 +00:00
Robert Muir 0ea0ca6b60 if there is a leak here, don't cause every subsequent test in the JVM to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175376 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:04:41 +00:00
Shai Erera 151c26e7d9 LUCENE-3261: Faceting module userguide
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175341 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 09:20:59 +00:00
Shai Erera d48960ae05 LUCENE-3447: port to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175317 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 07:43:07 +00:00
Robert Muir a6e8434085 fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175300 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:42:33 +00:00
Christopher John Male fdde857f24 SOLR-2769: Fixed bad javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175299 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:17:21 +00:00
Christopher John Male 74d05c3664 LUCENE-3396: Removing Analyzer.java.old
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175298 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:11:11 +00:00
Christopher John Male 4ff0b2f82c LUCENE-3396: Collapsing Analyzer and ReusableAnalyzerBase together, mandating use of TokenStreamComponents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175297 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:10:25 +00:00
Jan Høydahl 48e53be99a SOLR-2769: Added factory for the new Hunspell stemmer (janhoy, cmale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175200 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 17:17:27 +00:00
Christopher John Male 5d4502ad0a LUCENE-2309: Moved to Field.tokenStream(Analyzer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174506 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 03:16:37 +00:00
Uwe Schindler c8b7bb7aac LUCENE-3448: Added missing tests for FixedBitSet.and(other/DISI), andNot(other/DISI)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174407 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 21:56:24 +00:00
Uwe Schindler ecc2d6bd6e LUCENE-3446: missing CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174401 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 21:44:04 +00:00
Uwe Schindler 573ecd5d7b LUCENE-3446: Fix NPE in BooleanFilter when DocIdSet/DocIdSetIterator is null. Converted code to FixedBitSet and simplified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174380 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:49:00 +00:00
Uwe Schindler 3133d65617 LUCENE-3448: Added FixedBitSet.and(other/DISI), andNot(other/DISI)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174377 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:43:01 +00:00
Martijn van Groningen bad428d7f8 SOLR-2780: Fixed issue where multi select facets didn't respect group.truncate parameter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 11:36:48 +00:00
Doron Cohen c54608b60d LUCENE-3215: SloppyPhraseScorer sometimes computed Infinite freq.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173961 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 06:27:43 +00:00
Michael McCandless 18008231ed missing copyright
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173778 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 18:25:33 +00:00
Robert Muir 2d5d5226a6 SOLR-2754: add similarity factories for new ranking algorithms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173776 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 18:20:44 +00:00
Uwe Schindler 80654ae7be LUCENE-3390: Merge changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:30:26 +00:00
Michael McCandless 733fe8aa27 LUCENE-3439: fix typo; reduce num docs in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173744 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:26:06 +00:00
Michael McCandless fb51a69173 LUCENE-3439: catch more cases where IW/IR is used after close; fix sneaky bug where IW can delete files after it was closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173720 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:33:54 +00:00
Uwe Schindler 7abaef7a7c LUCENE-3390: Merge changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173704 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:10:55 +00:00
Robert Muir 4149b56c9a correct javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173430 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 23:52:57 +00:00
Robert Muir e182c59b9d LUCENE-2215: add IndexSearcher.searchAfter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173423 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 23:26:09 +00:00
Uwe Schindler 0fd96b2526 LUCENE-3442: Merge changes only to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173312 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 19:20:02 +00:00
Martijn van Groningen d58350aead SOLR-2776: Added support for group.truncate for distributed search. Also added some more jdocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173286 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 18:15:23 +00:00
Jan Høydahl 3013098230 SOLR-2763: Extracting update request handler throws exception and returns 400 when zero-length file posted using multipart form post
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173139 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 13:38:01 +00:00
Steven Rowe 0047a77f83 SOLR-2771: Solr modules' tests should not depend on solr-core test classes; move BufferingRequestProcessor from solr-core tests to test-framework so that the Solr Cell module can use it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172428 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 05:13:52 +00:00
Christopher John Male ed2c8e97ea Fixed broken javadoc in QueryUtils and QueryCommand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172260 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 11:47:22 +00:00
Uwe Schindler 79671bd049 LUCENE-3420: Disable the finalness checks in TokenStream and Analyzer for implementing subclasses in different packages, where assertions are not enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172227 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 08:59:07 +00:00
Dawid Weiss eee77d22ef SOLR-2762: FSTLookup returns one less suggestion than it should when onlyMorePopular=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172006 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 16:12:36 +00:00
Martijn van Groningen 96c4bb7074 SOLR-2066: Added support for distributed grouping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171970 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 12:48:27 +00:00
Robert Muir ff383452b6 don't rely upon docid order in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171868 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 00:09:24 +00:00
Grant Ingersoll fca7eb820a LUCENE-3435: fix sort field calculation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171769 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 20:46:16 +00:00
Chris M. Hostetter 66db04c901 SOLR-2772: fix silly javadoc error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171739 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 19:18:26 +00:00
Chris M. Hostetter d8f4714da6 SOLR-2772: revert unneccessary 'public static' change to DateField.formatDate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171704 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 18:25:31 +00:00
Chris M. Hostetter 82b72ac3fe SOLR-2772: Fixed Date parsing/formatting of years 0001-1000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171691 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 17:42:40 +00:00
Robert Muir 72106bb37b SOLR-2726: Fixed NullPointerException when using spellcheck.q with Suggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171597 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:42:22 +00:00
Robert Muir edd8822929 LUCENE-3436: fix javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:16:33 +00:00
Robert Muir 28ae5a5763 LUCENE-3436: remove deprecations from trunk / dont use deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:05:46 +00:00
Robert Muir c0965ed3a2 LUCENE-3436: add spellchecker SuggestMode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:41:29 +00:00