Commit Graph

14764 Commits

Author SHA1 Message Date
Robert Muir 568156b710 LUCENE-4321: Don't extend the trappy/broken FilterReader and simplify CharFilter so subclasses are correct readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376158 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 17:51:19 +00:00
Chris M. Hostetter eaad73b6d1 SOLR-3746: fix inadvertant schema change from manual testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:20:43 +00:00
Chris M. Hostetter 0183711e22 SOLR-3746: more context to error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375723 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:19:21 +00:00
Chris M. Hostetter 41c067bc18 SOLR-3746: Proper error reporting if updateLog is configured w/o necessary _version_ field in schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375674 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 17:25:34 +00:00
Uwe Schindler fa89e07750 Silence Java 7 warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375657 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 16:48:13 +00:00
Robert Muir 4769480e7a LUCENE-4316: deprecate Fields.getUniqueTermCount, remove AtomicReader.getUniqueTermCount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375580 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:39:13 +00:00
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
Uwe Schindler a699f3c338 LUCENE-3312: Applied Javadocs fix from lucene-3312-patch-14.patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1375040 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 14:39:44 +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 1c9398be8a LUCENE-3312: Fix incorrect License headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1374842 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 20:37:41 +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 bb6c2582d8 LUCENE-3312: Merged revision(s) 1373336-1374717 from lucene/dev/trunk:
test this cleaner, we don't need a nested test, just want to ensure MDW throws exception on close
........
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
........
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
........
SOLR-2981: Fixed StatsComponent to no longer return duplicated information when requesting multiple stats.facet fields
........
SOLR-3690: need to copy the license + sha1 files to be included in solr artifacts
........
LUCENE-4308: don't delete a test's files if the test fails
........
LUCENE-4308: clean up imports, move below license
........
add more missing javadocs
........
javadocs
........
add hostContext to solr.xml by default
........
SOLR-2857: restore /update/json and /update/csv
........
improve javadocs
........
use assertEquals so we will see whats going on when this fails
........
added javadocs to SortedBytesMergeUtils public inner classes
........
added javadocs to SortedBytesMergeUtils public inner classes
........
fix javadocs
........
javadocs
........
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?
........
javadocs
........
Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
........
Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
........
SOLR-3737: fix Stempel factory resource loading, use singleton instance
........
javadocs
........
enforce all lucene core classes have javadocs
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
LUCENE-4310: revert ... new test is failing
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
Rewrite the copying loop slightly; scratch.grow has an assert offset == 0
so moved this reset up before grow.
........
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
........
license
........
SOLR-3691: SimplePostTool: Mode for indexing a web page
........
SOLR-3707: Upgrade Solr to Tika 1.2
........
SOLR-3691: Fixed javadocs-lint errors
........
use hasNext not .next() == null to detect empty iterator
........
2nd fix: The same problem had size()
........
Solr extraction contrib should have compile time dependency on lucene, not just test.
........
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)
........
Fix javadocs
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1374718 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:35:25 +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
Uwe Schindler ca1059f194 LUCENE-3312: Small refctoring and final field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1374710 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 08:45:25 +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