Robert Muir
4c47c26686
javadocs summary consistency and sentence bounds fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376514 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 14:48:33 +00:00
Michael McCandless
3048b635c0
also gen all other sources from ant target; fixed gen_Packed64SingleBlock.py to match current sources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376483 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 13:37:25 +00:00
Uwe Schindler
5dc0969da1
Fix exec targets to use <arg value=""/>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376475 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 13:07:35 +00:00
Michael McCandless
b02c7581fc
LUCENE-3892: fixed extra L problem on 32 bit python; add ant target to gen bulk ops; use sparse array not switch for the single block case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376468 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 12:49:21 +00:00
Uwe Schindler
580c92a55a
More compact representation of BulkOperations.java. Fix line endings (missing SVN prop)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376434 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 11:05:54 +00:00
Dawid Weiss
95b22040ca
Correcting the test for the pessimistic random seed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376390 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 06:57:10 +00:00
Michael McCandless
03473400bb
LUCENE-3892: add experimental note to BlockPostingsFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376313 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 23:29:12 +00:00
Michael McCandless
28c80c2a35
refactor BulkOperation.java into separate sources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376305 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 23:13:40 +00:00
Uwe Schindler
518fc20d1c
LUCENE-4315: Add ReusableStringReader to Field.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376261 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 21:29:36 +00:00
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
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
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
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
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
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
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
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
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
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
Robert Muir
bbde9adecb
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374009 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:45:03 +00:00
Michael McCandless
c5b5bb7008
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374006 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:41:10 +00:00
Simon Willnauer
ae79b917ca
added javadocs to SortedBytesMergeUtils public inner classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374004 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:37:40 +00:00
Simon Willnauer
0ee2c67ab9
added javadocs to SortedBytesMergeUtils public inner classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373995 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:38 +00:00
Michael McCandless
fb05e8ba3f
improve javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373989 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:19:44 +00:00
Uwe Schindler
36014af614
LUCENE-3312: Apply patch lucene-3312-patch-13.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373940 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 17:38:02 +00:00
Robert Muir
85c6e76ab8
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373895 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 16:00:36 +00:00
Robert Muir
b655cf78bf
add more missing javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373851 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 14:14:38 +00:00
Robert Muir
119df148b8
LUCENE-4308: clean up imports, move below license
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373803 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 12:28:47 +00:00
Robert Muir
04df51f90d
LUCENE-4308: don't delete a test's files if the test fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373801 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 12:26:32 +00:00
Michael McCandless
6d86815f65
LUCENE-3892: add initial package.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373673 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 23:16:03 +00:00
Chris M. Hostetter
769c9003cd
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Michael McCandless
f7a0f00724
LUCENE-3892: comment out all sops
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 14:08:40 +00:00
Michael McCandless
1da92326c7
LUCENE-3892: move bufferSkip to startDoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373367 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:27:36 +00:00
Michael McCandless
1c637c5e9b
LUCENE-3892: merge trunk take 2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373365 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:22:02 +00:00
Michael McCandless
e36febe7e2
LUCENE-3892: revert wrong trunk merge commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373363 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:11:13 +00:00
Michael McCandless
7b6955d42a
LUCENE-3892: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373358 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:58:34 +00:00
Robert Muir
ef4d87246f
test this cleaner, we don't need a nested test, just want to ensure MDW throws exception on close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373343 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:38:37 +00:00
Uwe Schindler
86afe66472
LUCENE-3312: Merged revision(s) 1372429-1373335 from lucene/dev/trunk:
...
move class to o.a.l.index and make pkg-private, silence java7 warnings
........
SOLR-3727: improve solrcloud close/shutdown
........
LUCENE-4303 Use ResourceLoader not Class.forName
........
LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
........
LUCENE-4152: add one syllable method to enumerate subreaders
........
LUCENE-4152: use simpler sugar
........
SOLR-3670: New CountFieldValuesUpdateProcessorFactory
........
SOLR-3727: improve solrcloud close/shutdown
........
Ignore process reaper (forked subprocess on unixish systems).
........
document what IW.close is doing and how to 'actually close' if you want that
........
LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
........
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
........
solrcloud: improve some logging, improve some testing, other minor tweaks
........
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
........
SOLR-3572: Make schema-browser show custom similarities
........
better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
........
Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373337 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:23:02 +00:00
Michael McCandless
922efb15b8
remove final nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373332 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:03:54 +00:00
Uwe Schindler
73b8ca65ca
Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373246 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 08:01:50 +00:00
Robert Muir
e1ec1e7932
better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373204 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 04:07:47 +00:00
Robert Muir
796fb31c89
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 20:43:16 +00:00
Uwe Schindler
2573a23996
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:54:46 +00:00
Robert Muir
81bff57343
LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372858 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:33:36 +00:00
Robert Muir
0eda73aa3c
document what IW.close is doing and how to 'actually close' if you want that
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372839 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 11:05:32 +00:00
Dawid Weiss
46b8a90c11
Ignore process reaper (forked subprocess on unixish systems).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372731 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 05:27:30 +00:00
Robert Muir
e64057ccd9
LUCENE-4152: use simpler sugar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:22:24 +00:00
Robert Muir
0e9d4c7459
LUCENE-4152: add one syllable method to enumerate subreaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372645 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:03:16 +00:00
Uwe Schindler
f1969b13c7
LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372633 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:43:00 +00:00
David Wayne Smiley
a42f13cbf0
LUCENE-4303 Use ResourceLoader not Class.forName
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372631 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:36:30 +00:00
Robert Muir
f08b7105b4
move class to o.a.l.index and make pkg-private, silence java7 warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372456 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 15:10:36 +00:00
Uwe Schindler
ac38630855
LUCENE-3312: Merged revision(s) 1371132-1372428 from lucene/dev/trunk:
...
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
........
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
........
SOLR-3715: remove sync around tlog serialization
........
fix test msg
........
add recovery strat to commented out list of log configs for tests
........
change log format - core= rather than Core:
........
add some tests mixing up payload options
........
tests: specify a seed to Random()
........
tests: use random seed of doc base
........
set the SVN variables so this task can build the unsigned release
........
Remove smoke again, this is now a new ReleaseNightly job on ASF Jenkins (without scripts, only ANT). I will later remove the artifact building from the standard nightly scripts, too. Those will now only run tests and clover.
........
Smoketester should also run with OpenJDK to be able to run on FreeBSD
........
clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
........
LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
........
SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
........
LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
........
ignore silly bugs in sun's regex impl
........
LUCENE-4187: Die, shell scripts, die, die, die!
........
LUCENE-4187: Allow disabling validation tasks and javadocs-linting from jenkins
........
nuke useless scripts - part #1
........
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
........
LUCENE-4187: Remove remaining clover reference
........
LUCENE-4187: Add jenkins clover task
........
LUCENE-4187: Nuke remaining shell scripts
........
LUCENE-4187: exclude backwards (when it comes)
........
LUCENE-4187: simplier pattern
........
LUCENE-4187: Fix title for clover
........
LUCENE-4187: Make clover configuration for jenkins fixed and faster
........
Don't allow negatives in the positions file
........
LUCENE-1888: added option to store payloads on the term vectors
........
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
........
fix test to actually compare index1 vs index2, not index1 against itself
........
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
........
fix test bug
........
re-enable test
........
Allow better debugging this test
........
fix clustering and DIH problems with conflicting servlet-api dependencies by making scope be provided in solr's test-framework POM
........
revisit payloads API in DocsAndPositionsEnum
........
maven build: reduce solr test logging output, to allow Jenkins mailer to succeed
........
disable test timeouts until nightly builds have been addressed
........
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:18:26 +00:00
Uwe Schindler
481c6d952d
LUCENE-3312: Apply lucene-3312-patch-12a.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:06:05 +00:00
Adrien Grand
aa19f76829
Use PackedInts.COMPACT as the default acceptable overhead ratio.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372425 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 13:55:27 +00:00
Adrien Grand
ebdd6a5089
LUCENE-3892: Fix variable name.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372408 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 12:58:38 +00:00
Michael McCandless
789981c9fd
LUCENE-3892: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372366 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 11:16:57 +00:00
Michael McCandless
91a4425f79
LUCENE-3892: use vInt to store the fixed value for entire block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372357 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 10:54:21 +00:00
Dawid Weiss
95e3213c79
LUCENE-4301: re-enable suite timeouts. default increased to 2 hours, test2bpostings increased to 4 hours.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372302 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 07:59:08 +00:00
Dawid Weiss
d15dee8ca9
Adding J9 sys thread to known threads. Interesting what this is triggered by (I can make it happen by calling mgmnt factory directly).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372301 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 07:57:50 +00:00
Robert Muir
80811d02f5
remove FieldsEnum and replace with Iterator<String>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 02:25:19 +00:00
Uwe Schindler
e1295dc3d8
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372218 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 00:01:59 +00:00
Robert Muir
d4e264648a
disable test timeouts until nightly builds have been addressed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 20:38:57 +00:00
Robert Muir
0f3b19899e
revisit payloads API in DocsAndPositionsEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372171 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 18:45:46 +00:00
Uwe Schindler
e2518705e8
Allow better debugging this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372125 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 15:10:56 +00:00
Robert Muir
d1447b47f3
re-enable test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372071 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:37:24 +00:00
Robert Muir
b3174c271e
fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372069 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:29:32 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Robert Muir
00fa302942
fix test to actually compare index1 vs index2, not index1 against itself
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372045 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 01:41:00 +00:00
Michael McCandless
6bc248b017
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 20:51:34 +00:00
Robert Muir
1397cbd2de
LUCENE-1888: added option to store payloads on the term vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371996 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 18:58:26 +00:00
Robert Muir
d0dd5fadcc
Don't allow negatives in the positions file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371961 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 14:31:56 +00:00
Michael McCandless
423354db48
LUCENE-3892: make BlockPostingsWriter package private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371944 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:10:25 +00:00
Uwe Schindler
5259fcd0c5
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371839 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:18:18 +00:00
Michael McCandless
0db218838d
LUCENE-3892: add assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371770 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 16:57:45 +00:00
Michael McCandless
0df8e43b22
LUCENE-3892: resolve some of the nocommits...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371762 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 16:29:44 +00:00
Robert Muir
813f5344dd
ignore silly bugs in sun's regex impl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:46:30 +00:00
Robert Muir
e2935c224e
LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371709 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:16:20 +00:00
Robert Muir
f1c79b69b6
LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371644 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 10:46:03 +00:00
Robert Muir
93ebd8d5bd
clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371630 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 09:51:45 +00:00
Michael McCandless
4a5496ac97
LUCENE-3892: replace Block with BlockPacked
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371519 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 22:29:36 +00:00
Robert Muir
0910133f3a
add some tests mixing up payload options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371412 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:31:34 +00:00
Robert Muir
858f4ed040
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371291 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:19:08 +00:00
Adrien Grand
90918ad2d6
LUCENE-3892: fix constant names, cache encoded sizes instead of formats and move readVIntBlock to the postings reader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371184 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 12:52:24 +00:00
Uwe Schindler
2c38158032
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
...
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371150 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:34:30 +00:00
Uwe Schindler
148d99cbbc
LUCENE-3312: Merged revision(s) 1366639-1371131 from lucene/dev/trunk:
...
SOLR-3259: default /get to json
........
minor tweaks to update script example
........
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
........
LUCENE-4268: Fix test bug
........
SOLR-3648: Fix Velocity template loading in SolrCloud mode
........
fix confusing IW infoStream message
........
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
........
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
........
Disable test failing with Java 8
........
Allow detecting of Java 8
........
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
........
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4269: deprecate BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
........
fix the monkey: connection loss and expiration cause NPE
........
upgrade checkJavaDocs.py to python3
........
LUCENE-3884: Move ElisionFilter out of .fr package
........
fix encoding in javadocs checker
........
LUCENE-2501: fix thread hazard when threads add same field with different IndexOptions at the same time
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371142 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:20:53 +00:00
Adrien Grand
0be8bfb4fc
LUCENE-3892: backporting r1371010 and r1371011 to BlockPacked.
...
I changed the comment on the value of BLOCK_SIZE. Indeed, since PackedInts
encoding/decoding is long-aligned, all numbers of bits per value that are
co-prime with 64 cannot encode/decode less than 64 values per iteration, so the
block size should be at least 64. Switching it to a lower value (eg. 32) should
work but will perform many unnecessary operations in the encoding/decoding step.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371114 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 09:16:09 +00:00
Michael McCandless
98ae806ba6
add comment; use BLOCK_SIZE static import not blockSize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371011 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 23:02:58 +00:00
Michael McCandless
1ff9383a84
LUCENE-4283: further optimize scan-after-advance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371010 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 23:02:05 +00:00
Robert Muir
7d90e98c77
remove dead code / 3.x hacks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:36:34 +00:00
Adrien Grand
207c0c6d13
LUCENE-3892: Backport of Mike's last changes + removal of unnecessary casts.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370850 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:28:16 +00:00
Adrien Grand
c8fb5b38d5
Fix test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370847 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:26:49 +00:00
Adrien Grand
c06b36c762
LUCENE-3892: Use int[] arrays to buffer data instead of long[] arrays.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370819 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 16:12:29 +00:00
Adrien Grand
5e948be185
LUCENE-3892: Ability to decode to int[] arrays (in addition to long[] arrays).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370817 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 15:46:28 +00:00
Robert Muir
3979cc97f3
LUCENE-4297: BooleanScorer2 sometimes multiplies coord() twice into the score
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370805 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 15:17:28 +00:00
Adrien Grand
8eaed3c865
LUCENE-3892: Ability to select the right format based on an `acceptableOverheadRatio`.
...
The `acceptableOverheadRatio` is currenlty configurable through
BlockPackedPostingsWriter's constructor and defaults to PackedInts.DEFAULT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370781 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 14:15:22 +00:00
Adrien Grand
482bd77c51
LUCENE-3892: add the all-values-same case back.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370710 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 09:08:16 +00:00
Steven Rowe
a4c3b3577e
fix doc bugs (thanks to Oren Bochman)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:56 +00:00
Adrien Grand
0db24114ec
LUCENE-3892: byte[] decoding for PACKED_SINGLE_BLOCK format.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370582 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:54:28 +00:00
Michael McCandless
eab777c3d3
LUCENE-4283: check next skip point to see if it's worth invoking skipper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370534 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:26:14 +00:00
Michael McCandless
9d7cb7de69
LUCENE-3892: remove nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370533 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:25:45 +00:00
Steven Rowe
148407b2d0
Mention ReusableAnalyzerBase -> Analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:00:42 +00:00
Michael McCandless
ae8787358a
remove 32 bit case (all our int values are >= 0)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370330 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:01:27 +00:00
Michael McCandless
36e9b06bd6
carry back some code improvements from BlockPacked -> Block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:57:58 +00:00
Robert Muir
c40b037560
rename confusing variables: numDocs is really docFreq, docFreqs is really termFreqs, termDocFreq is termFreq
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370309 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:21:12 +00:00
Adrien Grand
378cbd4523
LUCENE-3892: performance improvements to the 'BlockPacked' codec.
...
- backport of Mike's changes to the 'Block' codec,
- revert of oal.util.packed.BulkOperation in order not to use java.nio.*Buffer,
- add direct byte[] decoding and encoding to PackedInts.Decoder and PackedInts.Encoder.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370267 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 13:56:30 +00:00
Robert Muir
1ff47b2c08
add test for when fixed dv is not really fixed length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370241 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 13:17:37 +00:00
Michael McCandless
844ffc433f
LUCENE-3892: add nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:36:08 +00:00
Michael McCandless
a858470de1
LUCENE-3892: only store numBits in the block header; compute numBytes @ read time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370204 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:25:07 +00:00
Michael McCandless
7a0cdacb6e
LUCENE-3892: fix incorrect numBits computation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370194 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:45:54 +00:00
Michael McCandless
51987642c2
LUCENE-3892: up skipMultiplier to 8 (vs 4): it seems to help a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370180 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:16:01 +00:00
Michael McCandless
b18e428f41
remove fixed nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370179 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:15:11 +00:00
Robert Muir
7ca42b800a
add 4.0 section
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370107 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 03:34:00 +00:00
Michael McCandless
4de0089844
LUCENE-3892: decouple level 0 skipInterval from level 1+
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370055 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 22:57:00 +00:00
Michael McCandless
92c90bf7cb
LUCENE-4292: cannot assert numSearches > 0 in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369911 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 18:27:07 +00:00
Michael McCandless
7bf0d1f804
LUCENE-3892: inline nextDoc() for DocsAndPositionsEnum.advance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369885 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 17:25:00 +00:00
Robert Muir
9898822e28
LUCENE-4291: reduce jflex buffer sizes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369883 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 17:16:47 +00:00
Michael McCandless
3930247e77
add missing IR.close() in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:36:58 +00:00
Robert Muir
462ff90d8e
LUCENE-4289: fix highlighter idf inconsistencies/inefficiencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 14:55:41 +00:00
Michael McCandless
d4c27acb1a
LUCENE-3892: inline scanning after DocsEnum.advance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369703 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 23:33:00 +00:00
Michael McCandless
de9586104c
LUCENE-3892: some cleanup/refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369697 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 22:39:32 +00:00
Robert Muir
b4540d6369
LUCENE-4286: add unibigram option to CJKBigramFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:37:14 +00:00
Michael McCandless
aed1b5d760
LUCENE-3982: trunk upgrade
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369470 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:26:10 +00:00
Robert Muir
034207be25
clean up binary patterns for consolidated licenses/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369232 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:11:07 +00:00
Robert Muir
4e43511bad
exclude tools as it contains a lib jar and a clover README and sneaks its way into binary packaging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369227 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:03:00 +00:00
Robert Muir
60deff559f
remove dead code (same as superclass impl)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369205 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:53:53 +00:00
Robert Muir
8f726e254b
LUCENE-3616: throw exception on some illegal field configurations (applying boost to omitNorms or unindexed field), fix TextField(Reader) ctor as it cannot Store
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369196 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:26:13 +00:00
Robert Muir
33fd61bb3a
LUCENE-4089: add documentation for termsIndexInterval/Divisor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:20:38 +00:00
Robert Muir
91833f0bc8
LUCENE-4140: make this getter/setter pkg-private as it has pkg-private parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368991 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:44:13 +00:00
Robert Muir
7465266b20
add safety so we don't generate checksums for any stale jars when regenerating
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368977 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:18:17 +00:00
Robert Muir
2f63ddc1fb
jar-checksums should only generate checksums for third party jars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368969 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:11:53 +00:00
Robert Muir
16dbab69b2
fix jar-checksums task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368966 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:05:26 +00:00
Robert Muir
a8ebce8f73
LUCENE-4282: Automaton FuzzyQuery didnt always deliver all results
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368927 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 13:00:59 +00:00
Michael McCandless
21e7728e57
LUCENE-4203: add IndexWriter.tryDeleteDocument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368745 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 22:46:27 +00:00
Michael McCandless
ccb43109e2
LUCENE-4225: fix offset delta encoding to be startOffset - lastStartOffset, not startOffset - lastEndOffset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368678 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:58:22 +00:00
Michael McCandless
9130567fa6
LUCENE-4225: fix NPEs when index doesn't have payloads nor offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368664 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:48:15 +00:00
Michael McCandless
3c112d15e7
LUCENE-4177: possible fix for thread-safety issue causing test to never stop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368618 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:45:23 +00:00
Michael McCandless
7fd7610b7a
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:41:04 +00:00
Robert Muir
275eff26a6
prevent test from getting Direct postingsformat either
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368614 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:39:27 +00:00
Mark Harwood
ad2cefee00
New addition: Lucene-4069 BloomFilterPostingsFormat for faster access to low-frequency terms such as primary keys.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368567 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:04:20 +00:00
Michael McCandless
08209761d3
LUCENE-2501: make test a bit more random
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 14:10:44 +00:00
Michael McCandless
b75834bded
fix TestShardSearching to make a new _TestUtil.getTempDir for each shard, so it does not reuse dirs across test runs when you fix the seed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368255 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 21:26:38 +00:00
Robert Muir
f1ae7dad35
LUCENE-4279: regenerate snowball stemmers so they aren't so heavy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368188 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:41:45 +00:00
Simon Willnauer
b26dd733f7
LUCENE-4277: fix IndexWriter deadlock during rollback
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368157 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:20:46 +00:00
Robert Muir
ed0e33bb6d
LUCENE-4278: ensure we fail test when directories arent closed (and add test-the-tester)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367834 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 00:31:29 +00:00
Michael McCandless
b43fd8ab8a
merge trunk changes over
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367777 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:58:32 +00:00
Robert Muir
5244693ebf
LUCENE-4273: fix DocsEnum freq flag consistent with DPEnum flags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:51:24 +00:00
Michael McCandless
72525cb1df
use less RAM in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367496 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:17:14 +00:00
Robert Muir
c81d882c5b
disable multiplier to prevent test from OOM'ing until its more ram efficient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 02:15:44 +00:00
Michael McCandless
ac55f762b0
LUCENE-3892: register new PF
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367339 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:21:19 +00:00
Michael McCandless
94aecff6c3
LUCENE-3892: remove oal.codecs.pfor (it's slower than block); add new BlockPacked postings format (copy of Block postings format except it uses oal.util.packed for packed ints encode/decode)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367338 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:15:06 +00:00
Michael McCandless
72f99b47b4
LUCENE-4230: allow consumer to specify that payloads are not require when pulling D&PEnum, so codec can optimize if possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:31:34 +00:00
Chris M. Hostetter
8f20844ee9
SOLR-3674: better docs, example, test for PathHierarchyTokenizerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:08:58 +00:00
Robert Muir
bf73f1f28b
LUCENE-3884: Move ElisionFilter out of .fr package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 14:03:27 +00:00
Michael McCandless
e101167585
upgrade checkJavaDocs.py to python3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367071 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 12:49:40 +00:00
Michael McCandless
08baaf03e5
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 17:59:49 +00:00
Michael McCandless
85b13adcd4
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366872 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 16:41:47 +00:00
Robert Muir
2b10f1617d
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366854 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:38:37 +00:00
Uwe Schindler
4a54cc8b16
Allow detecting of Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366850 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:04:16 +00:00
Uwe Schindler
c6455c6da2
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366832 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:36:14 +00:00
Uwe Schindler
8318dff526
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366823 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:08:32 +00:00
Michael McCandless
9798ad2498
fix confusing IW infoStream message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366809 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:41:38 +00:00
Uwe Schindler
0ebfb6a2f7
LUCENE-4268: Fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366756 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:57:32 +00:00
Uwe Schindler
92af111ca3
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:23:44 +00:00
Uwe Schindler
81cf4938ca
LUCENE-3312: Merge up to trunk r1366638
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366643 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:27:51 +00:00
Uwe Schindler
a536dbf6ed
LUCENE-3312: Apply patch 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 10:56:46 +00:00
Uwe Schindler
7efa75e04a
LUCENE-4259: Make AnalysisSPILoader pkg-private again. Minor improvements in ResourceAsStreamResourceLoader (we should rename this one to ClassPathReassourceLoader maybe)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366631 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 09:51:24 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
David Wayne Smiley
6e91227797
LUCENE-3925 RecursivePrefixTree spatial strategy should not store doc freq or pos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366477 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:25:49 +00:00