Commit Graph

12166 Commits

Author SHA1 Message Date
Robert Muir 7c04dc5ed1 LUCENE-3661: remove unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1235991 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:04:06 +00:00
Mark Robert Miller b87045f8f1 comment out debug sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235988 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 23:26:37 +00:00
Uwe Schindler 717bcfce23 LUCENE-2858: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1235969 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:56:44 +00:00
Mark Robert Miller e4cc1d009c bump up wait fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:38:06 +00:00
Mark Robert Miller f81f7f60cd ignore these tests for a bit while i look into hardening them against hudson fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235949 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:10:51 +00:00
Robert Muir 58e5ec6979 merge trunk (1233476:1235908)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1235919 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 20:32:44 +00:00
Mark Robert Miller 9fed484fb1 SOLR-2358: merge in solrcloud branch (watch out hudson!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Yonik Seeley 1e79c3b98e LUCENE-3721: CharFilters were not being invoked in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235810 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 16:21:33 +00:00
Robert Muir 3f7fd25cc1 LUCENE-3724: compute stats based on FREQ, not POS, in cased positions are omitted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235808 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 16:20:45 +00:00
Robert Muir e30eff30ed fix eclipse classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235790 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:59:42 +00:00
Robert Muir ad9969b9f7 LUCENE-3639: fix ShardSearchingTestBase bugs for stats accumulation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235772 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:43:17 +00:00
Robert Muir b6f3c1f911 LUCENE-3723: beef up stats bounds assertion checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235758 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:25:18 +00:00
Jan Høydahl 8f550126f7 SOLR-2901: Upgrade Solr to Tika 1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235753 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:18:06 +00:00
Robert Muir 1b9e732bed LUCENE-3723: add basic sanity checks for stats in sims
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235747 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 13:59:28 +00:00
Shai Erera 640741783d minor jdoc fixes for PerfTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235714 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 10:42:00 +00:00
Jan Høydahl d0e4e731d9 SOLR-2280: commitWithin ignored for a delete query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Uwe Schindler 20d3c8335e LUCENE-3712: Removed unused and untested ReaderUtil#subReader methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235228 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 12:52:07 +00:00
Robert Muir 6edfe4f157 LUCENE-3717: add tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235199 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 10:40:46 +00:00
Doron Cohen 0aad3d64ad LUCENE-3718: fix Lucene40PostingsReader.linearScan() to set its doc state also when refill()ing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235190 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 10:00:47 +00:00
Robert Muir 35a73d5f55 LUCENE-3717: fix broken offsets in ngramtokenizers, and check return value of Reader.read
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235187 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 09:50:21 +00:00
Uwe Schindler b3a23daca8 LUCENE-2858: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1235028 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 22:15:15 +00:00
Robert Muir b1da6f5041 LUCENE-3706: add offsets into lucene40 postings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235022 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 22:03:08 +00:00
Steven Rowe edd8b91895 LUCENE-3690: Maven configuration: Added test resources solr/core/src/test/**/* (except *.java) to the solr-core module, to allow LegacyHTMLStripCharFilterTest to find its test resource htmlStripReaderTest.html. (Jenkins builds were failing because of this.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 16:27:23 +00:00
Steven Rowe 9157338066 LUCENE-3690: Added info about changes in HTMLStripCharFilter surrogate handling to solr/CHANGES.txt.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234867 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 15:56:06 +00:00
Robert Muir 7fafdd3576 LUCENE-3717: add checkRandomData to more analyzers and fix more offsets bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234850 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 15:19:58 +00:00
Uwe Schindler 66f17c3bab LUCENE-2858, LUCENE-3716: Move all commit/version/indexExists/reopen/open stuff to DirectoryReader, IR/AIR/CIR is now only an abstract index to search on, nothing more. In the future we might create an interface Reopenable that has all methods. For now SearcherManager & Co. simply check for instanceof DirectoryReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234719 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 09:55:26 +00:00
Steven Rowe 059410d424 LUCENE-3690: fix handling of unpaired numeric character entity UTF-16 surrogates to output U+FFFD REPLACEMENT CHARACTER; and add handling of properly paired numeric character entity UTF-16 surrogates, to output the corresponding pair of code units.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234687 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 07:36:38 +00:00
Robert Muir c754c1c9c8 LUCENE-3717: add better offsets testing to BaseTokenStreamTestCase, fix offsets bugs in ThaiWordFilter and ICUTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234652 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 00:08:52 +00:00
Uwe Schindler f7a474d603 LUCENE-3671: Fix wrong issue number!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234598 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 20:35:22 +00:00
Uwe Schindler 6b5ef1dead SOLR-3054, LUCENE-3671: Remove useless assureMatchVersion check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234579 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:57:24 +00:00
Uwe Schindler 366e1a2cd2 SOLR-3054, LUCENE-3671: Add TypeTokenFilterFactory that creates TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:50:10 +00:00
Robert Muir a7cfee6b07 SOLR-2891: fix CompoundWordTokenFilter to not create invalid offsets when the length of the text was changed by a previous filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234546 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 16:41:06 +00:00
Uwe Schindler d986e6442b LUCENE-2858: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234501 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 12:25:22 +00:00
Uwe Schindler 005fe75a48 LUCENE-2858: Move docFreq methods back to abstract IndexReader, as its used quite often (and reenable asserts). Move merge for FieldInfos to MultiFields where it is more useful
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234500 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 12:20:19 +00:00
Uwe Schindler 02ae8b97bc LUCENE-2858: Restructure/move ReaderContexts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 10:59:10 +00:00
Steven Rowe f3a363708f LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Shai Erera 17fe719bb5 LUCENE-3703: Calling DirectoryTaxonomyReader.refresh() could mess up reference counting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234451 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:14:45 +00:00
Uwe Schindler 42b2c86116 LUCENE-2858: First steps, still incomplete. No tests pass or even compile, but core code now compiles. See issue!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 23:22:50 +00:00
Uwe Schindler 0e64939f81 Create a branch for LUCENE-2858
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 23:18:26 +00:00
Simon Willnauer acf9e1333d LUCENE-3709: properly release primary output lock if wrapper creation fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234398 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 19:10:41 +00:00
Uwe Schindler af9b4d816f LUCENE-3671: Add TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234396 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 19:02:44 +00:00
Robert Muir f6c6f5dd4c LUCENE-3661: remove duplciate delete-file-handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234357 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 16:18:11 +00:00
Uwe Schindler 9b86beea98 Remove obsolete javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 12:50:25 +00:00
Steven Rowe b383f4a044 Added a junit test scope dependency in the grandparent POM to work around a Maven 2.2.X bug in which transitive test dependency resolution omits junit as duplicate everywhere it occurs, resulting in the absence of the junit jar from the test classpath, and then test compilation failure. This manifested only in Solr's clustering contrib, but I'm putting it in the grandfather POM to insure it doesn't happen elsewhere. Under Maven 3.0.4, this behavior no longer occurs, so when we upgrade the minimum Maven version to 3.0.4+, the junit test scope dependency in the grandfather POM can be removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234219 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 00:31:03 +00:00
Steven Rowe e5e4434bdb Skip compile:test-compile under Maven 3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234197 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 23:05:12 +00:00
Robert Muir ac9bb797e1 LUCENE-3661: remove unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234056 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 18:36:14 +00:00
Robert Muir 7a3542f16a LUCENE-3661: clean up how we handle the case of files outside of CFS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234051 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 18:10:22 +00:00
Simon Willnauer 315b6ab63d LUCENE-3709: only load norms if they are present in at least on Field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234013 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:19:41 +00:00
Robert Muir aadd4725cc LUCENE-3661: get tests passing with simpletext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234002 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:55:47 +00:00
Robert Muir d95b8943c6 LUCENE-3661: hack test for simpletext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233994 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:40:02 +00:00