Commit Graph

14591 Commits

Author SHA1 Message Date
Uwe Schindler 5cb2b9b9f2 LUCENE-4315: Minor fixes for Fields abstract class, TermVectorsWriter, remove UnmodifiableIterator (added before, without issue).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375522 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:12:56 +00:00
Uwe Schindler e53aee7739 LUCENE-4317: Improve reuse of internal TokenStreams in oal.document.Field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375507 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 12:43:27 +00:00
Michael McCandless 48bd921374 remove unnecessary casts (covariant IndexInput.clone)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375499 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 12:25:13 +00:00
Michael McCandless 12167b5414 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375498 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 12:22:40 +00:00
Michael McCandless 03003209b4 LUCENE-3892: merge BlockPostingsFormat from branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375486 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 12:00:48 +00:00
Robert Muir 7b645727ea go nuclear on these mergeprops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1375470 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 11:05:37 +00:00
Uwe Schindler 7dc5897676 Improve Javadocs of IndexInput/IndexOutput. Remove useless casting when acquiring clones of IndexInput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375428 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 08:16:14 +00:00
Michael McCandless 34662efe02 fail if smoke tester hits exc reading Solr output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375340 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 00:16:43 +00:00
Michael McCandless 8b0b98e27d LUCENE-4313: make it clear that DISI.advance behavior is undefined if target <= current
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375332 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 23:56:43 +00:00
Michael McCandless 1984d69fce LUCENE-3892: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1375322 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 23:43:27 +00:00
Robert Muir 50710818e6 first start at some package javadoc for o.a.l.index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375119 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 17:29:02 +00:00
Adrien Grand 547ecaf11b LUCENE-3892: Add version checks to all PackedInts methods that expect a version number.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1375032 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 14:13:18 +00:00
Adrien Grand 06d9823783 LUCENE-3892: Re-use ForUtil#computeIterations to compute MAX_SATA_SIZE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1375008 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 13:21:45 +00:00
Robert Muir de27a9b87d LUCENE-3892: typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1375000 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 12:56:45 +00:00
Robert Muir 0636107ef5 LUCENE-3892: javadocs improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374996 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 12:43:44 +00:00
Adrien Grand 25b947a6b9 Remove useless imports.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374993 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 12:27:10 +00:00
Michael McCandless 32126e22d8 LUCENE-3892: use PackedInt's VERSION constants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374985 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 12:11:53 +00:00
Michael McCandless 44bf43fef6 LUCENE-3892: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 11:47:52 +00:00
Sami Siren 96767652d7 SOLR-3726 allow more flexibility in configuring solr http clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374964 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 10:32:52 +00:00
Yonik Seeley 97689f52f2 SOLR-3743: real-time get should not return copyField targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374912 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 04:22:10 +00:00
David Wayne Smiley 2b9823f678 LUCENE-4197 SpatialArgs- remove unused min and max params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374857 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 21:42:02 +00:00
Steven Rowe b0e23769d5 LUCENE-4313: IntelliJ classpath doesn't include phonetic and morfologik resources/ directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374852 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 21:04:30 +00:00
Uwe Schindler 22d7239af9 Add a test for new FilterIterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374835 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 20:06:55 +00:00
Steven Rowe 24b60f3a45 SOLR-3707: Maven configuration: Tika version: 1.1->1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374764 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 15:07:06 +00:00
Uwe Schindler 8e0b7e14e3 Fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374715 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:19:49 +00:00
Uwe Schindler 290355e80c Fix javadocs of Fields.size(), use FilteredIterator from StoredFields branch. Return -1 for Fields.size() in FieldFilterAtomicReader. If this breaks some test, we found a bug and have to change test to respect -1 (which is valid return value)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374713 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:16:24 +00:00
David Wayne Smiley 57b47505b3 Solr extraction contrib should have compile time dependency on lucene, not just test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374694 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 05:34:30 +00:00
Uwe Schindler 54a623db68 2nd fix: The same problem had size()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374646 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 19:53:50 +00:00
Michael McCandless 39435cdc23 use hasNext not .next() == null to detect empty iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374623 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 18:03:10 +00:00
Michael McCandless 328def8b97 LUCENE-3892: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374620 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 17:59:17 +00:00
Michael McCandless 77135fd5b2 LUCENE-3892: small cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374598 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 15:31:11 +00:00
Michael McCandless 573f6a734c LUCENE-3892: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 14:42:59 +00:00
Michael McCandless bfcd96c689 LUCENE-3892: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374578 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 13:35:11 +00:00
Michael McCandless dddbe41902 LUCENE-3982: improve javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374573 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 13:12:47 +00:00
Jan Høydahl 4c057cf4bf SOLR-3691: Fixed javadocs-lint errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374549 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 10:26:51 +00:00
Jan Høydahl 01cdc012a0 SOLR-3707: Upgrade Solr to Tika 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374501 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:47:40 +00:00
Jan Høydahl 92171e49a5 SOLR-3691: SimplePostTool: Mode for indexing a web page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374497 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:30:49 +00:00
Yonik Seeley 1e2fa0ad45 license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374490 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:05:47 +00:00
Yonik Seeley 84a8768b5d SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Dawid Weiss 00f61eb9cb Rewrite the copying loop slightly; scratch.grow has an assert offset == 0
so moved this reset up before grow.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374431 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 20:46:16 +00:00
Michael McCandless 9a00dbc928 LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374381 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 18:14:44 +00:00
Michael McCandless 852291e84e LUCENE-4310: revert ... new test is failing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 17:59:38 +00:00
Michael McCandless b9be13c0ea LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374378 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 17:55:41 +00:00
Robert Muir 2ccffb77ac enforce all lucene core classes have javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374237 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 13:12:23 +00:00
Robert Muir 817586eb34 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374120 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 01:37:27 +00:00
Robert Muir 04f3188bf9 SOLR-3737: fix Stempel factory resource loading, use singleton instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374115 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 00:40:52 +00:00
Uwe Schindler 5a940c12d8 Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374079 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:57:13 +00:00
Uwe Schindler 00167f1514 Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:50:41 +00:00
Robert Muir 4d53375c00 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374045 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:41:17 +00:00
Uwe Schindler a59f38a03a Better verbosity, also fix bug in while loop with char==0.
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:53:45 +00:00