Commit Graph

11423 Commits

Author SHA1 Message Date
Christopher John Male fe3982c746 LUCENE-3455: Moved remaining Analysis consumers over to using reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176191 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 04:07:38 +00:00
Michael McCandless 33893d0e88 LUCENE-3445: silly concurrency bug -- get and swapSearcher need to be sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176114 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:52:42 +00:00
Chris M. Hostetter 9bdaa028d6 SOLR-2757: min/max functions now take unlimited number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Michael McCandless 1e554bd943 switch packed ints impl from IndexInput/Output to DataInput/Output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175984 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:25:01 +00:00
Chris M. Hostetter 4287d1bb52 SOLR-2739: more assumptions to ensure file is not writable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175975 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:05:25 +00:00
Robert Muir 74ebea2a3f wrap 3.5 changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175956 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:56:32 +00:00
Robert Muir 8f23139191 wrap trunk changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175955 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:55:38 +00:00
Robert Muir cad1c53ed3 LUCENE-2215: move Changes.txt entry to 3.5 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175942 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:34:29 +00:00
Robert Muir 970bed4bca use textField not Stringfield in this test (it was intended to analyze the english)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175936 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:22:46 +00:00
Michael McCandless e1d1d34e56 LUCENE-3461: catch same doc-values field added twice in one doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175935 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:20:10 +00:00
Mark Robert Miller f5d625821f be careful when shutting down - in some cases in tests we did not yet fully start up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175862 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:31:37 +00:00
Shalin Shekhar Mangar c9637196ae SOLR-2791 -- Placing change log entry in the right release section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175699 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:17:22 +00:00
Shalin Shekhar Mangar 9ed62f999b SOLR-2791 -- Replication: abortfetch command is broken if replication was started by fetchindex command instead of a regular poll.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175696 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:13:44 +00:00
Christopher John Male a6157373d8 LUCENE-3455: Fixed TestLongPostings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175685 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 06:12:53 +00:00
Christopher John Male 0bed3142bb LUCENE-3455: Test Analysis consumers now use reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:58:48 +00:00
Mark Robert Miller c033ca6b10 1 second is too small a timeout for busy/slow comps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175657 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:15:29 +00:00
Mark Robert Miller 68d098fbef it's possible to get an NPE here on shutdown in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175656 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:13:38 +00:00
Mark Robert Miller 44b56415a8 relax the timing on these two tests so that tests pass on my setup much more often
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175652 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:30:09 +00:00
Mark Robert Miller 4de85b89ff SOLR-2793: Somtimes you must dec ref twice, and add fix to the other submit calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175651 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:28:55 +00:00
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