Adrien Grand
6b9f11311a
LUCENE-7524: More detailed explanation of idf.
2016-11-10 15:01:49 +01:00
Adrien Grand
3e15233b23
LUCENE-5867: Add a BooleanSimilarity.
2016-11-10 15:01:49 +01:00
Adrien Grand
af60048097
LUCENE-7429: AnalyzerWrapper can now wrap the normalization analysis chain too.
2016-10-27 16:27:45 +02:00
Adrien Grand
9aca4c9d56
LUCENE-7462: Give doc values APIs an `advanceExact` method.
2016-10-24 10:51:23 +02:00
Dawid Weiss
bc0116af69
LUCENE-7515: RunListenerPrintReproduceInfo may try to access static rule fields without
...
the rule being called. This flag is needed to ensure this isn't the case.
2016-10-21 11:19:12 +02:00
Dawid Weiss
a19ec194d2
LUCENE-7513: Update to randomizedtesting 2.4.0.
2016-10-21 11:14:37 +02:00
Adrien Grand
c22725f0b5
LUCENE-7494: Give points a per-field API.
2016-10-18 10:14:27 +02:00
Adrien Grand
ea1212232d
LUCENE-7495: Fix doc values iterators' assertions in advance().
2016-10-14 14:38:32 +02:00
Mike McCandless
1b7a88f61e
LUCENE-7491: fix merge exception if the same field has points in some segments but not in others
2016-10-12 09:00:26 -04:00
yonik
98191225eb
SOLR-9579: SchemaField should implement lucene.IndexableFieldType to avoid repeated creation
2016-10-11 11:17:55 -04:00
Adrien Grand
63ef459022
LUCENE-7487: Remove unnecessary synchronization from Lucene70NormsProducer.
2016-10-11 08:31:29 +02:00
Mike McCandless
4fe3110e49
automaton initial state is always 0
2016-10-10 13:43:46 -04:00
Adrien Grand
fb088817eb
LUCENE-7479: SimpleText should directly implement the new doc values APIs.
2016-10-07 10:59:11 +02:00
Adrien Grand
9128bdbaf5
LUCENE-7475: Make norms sparse.
2016-10-06 14:07:27 +02:00
Mike McCandless
001a3ca55b
LUCENE-7407: speed up iterating norms a bit by having default codec implement the iterator directly
2016-10-05 14:18:55 -04:00
Adrien Grand
32446e9205
LUCENE-7453: Create a Lucene70Codec.
2016-10-04 10:50:34 +02:00
Noble Paul
e8767daa7b
SOLR-8995: use lambdas for CoreCloseListener
2016-09-29 11:33:22 +05:30
Mike McCandless
24ec3bd085
fix test bug
2016-09-23 06:13:26 -04:00
Mike McCandless
f7aa200d40
LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements
2016-09-21 09:41:41 -04:00
Mike McCandless
c7fb49d7b5
LUCENE-7439: FuzzyQuery now matches all terms within the specified edit distance, even if they are short
2016-09-15 14:44:26 -04:00
Robert Muir
f6253d5ed1
LUCENE-7426: remove deprecated DataInput/Output map/string methods
2016-08-25 12:02:52 -04:00
Mike McCandless
f0963b3b4f
add test case to ensure SearchManager can handle concurrent close, refresh, searching and IndexWriter closing
2016-08-19 09:28:17 -04:00
Robert Muir
18373e1129
LUCENE-7414: TestUtil.checkIterator can make tests very slow
2016-08-16 16:12:55 -04:00
Mike McCandless
36d67aaba9
use method reference instead of lambda in these tests
2016-08-09 08:07:07 -04:00
Mike McCandless
04086fbfc4
LUCENE-7409: improve MockDirectoryWrapper's IndexInput to detect if a clone is being used after its parent was closed
2016-08-09 05:03:29 -04:00
Mike McCandless
1aecdd28d1
LUCENE-7390: revert this change, since it's obsoleted by the much better LUCENE-7396
2016-07-29 14:02:00 -04:00
Adrien Grand
bc29a3d7ed
Add missing update of `lastDocId` in AssertingPointsFormat.
2016-07-28 15:27:14 +02:00
Mike McCandless
3a0a9fd2c2
LUCENE-7390: improve points indexing performance by letting the codec use transient heap in proportion to IndexWriter's indexing buffer, by default
2016-07-25 11:33:34 -04:00
Steve Rowe
51d4af6859
LUCENE-7013: add licence header position checker to -validate-source-patterns, and fix the violations it found
2016-07-13 13:21:36 -04:00
Christine Poerschke
15e8719b8a
LUCENE-7372: Factor out an org.apache.lucene.search.FilterWeight class.
2016-07-13 16:04:24 +01:00
Adrien Grand
866398bea6
LUCENE-7371: Better compression of values in Lucene60PointsFormat.
2016-07-12 17:57:56 +02:00
Adrien Grand
e92a38af90
LUCENE-7355: Add Analyzer#normalize() and use it in query parsers.
2016-07-12 16:33:07 +02:00
Adrien Grand
5def78ba10
LUCENE-7368: Remove queryNorm.
2016-07-12 14:38:36 +02:00
Mike McCandless
df9efb8b6d
LUCENE-7373: deprecate Directory.renameFile, which both renamed and fsync'd the directory, replacing it with separate rename and syncMetaData methods
2016-07-11 11:15:46 -04:00
Adrien Grand
f1528bf338
LUCENE-7369: Similarity.coord and BooleanQuery.disableCoord are removed.
2016-07-07 10:02:29 +02:00
Steve Rowe
17d113dac1
LUCENE-2605: Add classic QueryParser option setSplitOnWhitespace() to control whether to split on whitespace prior to text analysis. Default behavior remains unchanged: split-on-whitespace=true.
2016-07-05 18:03:42 -04:00
Adrien Grand
1e4d51f408
LUCENE-7352: Fix CheckHits for DisjunctionMax queries that generate negative scores.
2016-06-23 19:03:39 +02:00
Karl Wright
b11e48c755
LUCENE-7194: Ban Math.toRadians and Math.toDegrees
2016-06-22 03:53:47 -04:00
Mike McCandless
b338a0c0f0
LUCENE-7345: MDW now disables VirusCheckingFS while trying to corrupt files
2016-06-21 04:50:34 -04:00
Mike McCandless
c311eb1b7e
LUCENE-7345: RAMDirectory now enforces write-once as well
2016-06-20 10:03:19 -04:00
Mike McCandless
4c630b2216
LUCENE-7345: make sure MDW's efforts to corrumpt un-sync'd files is successful
2016-06-20 09:17:44 -04:00
Mike McCandless
87016b5f0c
LUCENE-7318: graduate StandardAnalyzer and make it the default for IndexWriterConfig
2016-06-14 16:38:04 -04:00
Mike McCandless
a893c64595
LUCENE-6171: pass the StandardOpenOption.CREATE_NEW so the filesystem ensures Lucene really is write-once
2016-06-14 15:15:57 -04:00
Christine Poerschke
95c7e6d716
LUCENE-7319: remove one more unused import
2016-06-13 11:11:02 +01:00
Christine Poerschke
52f5c50246
LUCENE-7319: remove unused imports
2016-06-13 09:59:14 +01:00
Uwe Schindler
cc7cede7a5
LUCENE-7333: Fix test bug where randomSimpleString() generated a filename that is a reserved device name on Windows
2016-06-11 11:31:12 +02:00
Mike McCandless
816fae9622
LUCENE-7326: don't use postings format by name in this test
2016-06-10 11:57:41 -04:00
Mike McCandless
067fb25e43
LUCENE-7323: compound file writing now verifies checksum and segment ID for the incoming sub-files, to catch hardware issues or filesystem bugs earlier
2016-06-09 14:48:58 -04:00
Mike McCandless
c8570ed821
LUCENE-7132: BooleanQuery sometimes assigned the wrong score when ranges of documents had only one clause matching while other ranges had more than one clause matchng
2016-06-06 10:35:16 -04:00
Mike McCandless
817c7f069a
sequence numbers: merge master
2016-05-26 15:30:12 -04:00
Adrien Grand
f85dc0fef2
LUCENE-7297: Clean up ArrayUtil.
2016-05-25 16:48:41 +02:00
Martijn van Groningen
d29ab1e812
LUCENE-7206: Improve the ToParentBlockJoinQuery's explain by including the explain of the best matching child doc
2016-05-25 15:24:17 +02:00
Mike McCandless
38e9822cb4
cutover RandomIndexWriter to return sequence numbers
2016-05-24 20:22:47 -04:00
Dawid Weiss
e44509f2df
LUCENE-7277: Make Query.hashCode and Query.equals abstract.
2016-05-24 10:33:15 +02:00
Mike McCandless
5fb7413ccb
LUCENE-6766: remove leftover sop
2016-05-12 15:57:22 -04:00
Mike McCandless
231cb3eb42
LUCENE-6766: implement STRING sort, using segment-local ordinals
2016-05-07 11:46:17 -04:00
Mike McCandless
8fe78da23c
LUCENE-6766: make new Lucene62Codec, with new segment info format that reads/writes the index sort, to support index sorting; remove all usage of SlowCompositeReaderWrapper; also sort ids when merging norms; CheckIndex verifies sort
2016-05-06 16:41:26 -04:00
Mike McCandless
54fa7dfd27
LUCENE-6766: initial patch
2016-05-04 05:37:37 -04:00
Adrien Grand
aa81ba8642
LUCENE-7264: Fewer conditionals in DocIdSetBuilder.
2016-04-29 10:35:27 +02:00
Robert Muir
837264a42e
LUCENE-7251: remove LatLonGrid, remove slow polygon methods, speed up multiple components
2016-04-25 15:31:54 -04:00
Mike McCandless
7acf8babae
LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points
2016-04-24 05:58:41 -04:00
Adrien Grand
927a44881c
LUCENE-7243: Removed the LeafReaderContext parameter from QueryCachingPolicy#shouldCache.
2016-04-22 13:09:26 +02:00
Adrien Grand
81446cf345
LUCENE-7235: Avoid taking the lock in LRUQueryCache when not necessary.
2016-04-21 15:31:13 +02:00
Robert Muir
ddb8d077ec
Don't pick crazy compression parameters for this monsterish test
2016-04-18 10:11:51 -04:00
Robert Muir
cc099d8fc6
LUCENE-7185: handle underflow
2016-04-18 09:15:04 -04:00
Robert Muir
c135e9a7d6
LUCENE-7185: improve random test point/box generation for spatial tests
2016-04-18 00:19:02 -04:00
Robert Muir
72cb73c6b9
LUCENE-7170: move BaseGeoPointTestCase to test-framework
2016-04-17 08:52:59 -04:00
Mike McCandless
aeea493311
catch user (me) silliness when using EarthDebugger
2016-04-16 05:35:19 -04:00
Mike McCandless
e076b4c5b4
improve randomized polygon generation to sometimes include regular ngons
2016-04-13 05:51:38 -04:00
Mike McCandless
e034b04b06
LUCENE-7189: improve geo debugging technology
2016-04-12 06:10:08 -04:00
Robert Muir
901a3af301
LUCENE-7185: fix random number generation used for spatial tests.
...
Note that GeoPoint tests are still on the old RNG as we haven't get made them happy.
2016-04-11 10:36:10 -04:00
Mike McCandless
739c752cd3
LUCENE-7189: use fewer sampling points for small earth-surface rectangles
2016-04-11 05:45:42 -04:00
Mike McCandless
07d99765f5
LUCENE-7189: make it easier to write WebGL earth HTML for debugging geo failures
2016-04-07 17:54:39 -04:00
Robert Muir
ef6a0d0013
LUCENE-7159: improve testing of polygon tree methods
2016-04-03 14:07:56 -04:00
Robert Muir
9a47912161
package-info.java -> package.html because this package is already defined in core/
2016-04-03 12:09:46 -04:00
nknize
6c219e99e4
LUCENE-7163: refactor GeoRect, Polygon, and GeoUtils tests to geo package in core.
2016-04-02 13:57:02 -05:00
Mike McCandless
7b93fc46b1
LUCENE-7142: BKDWriter wasn't splitting correctly with long ords; improve tests so we sometimes long ords even for small number of points
2016-03-27 05:52:29 -04:00
Mike McCandless
a9eb26c44a
randomize how BKDWriter splits in RandomCodec so we exercise geo shape APIs with more exotic rectangles
2016-03-25 15:40:16 -04:00
Mike McCandless
d392940092
LUCENE-7121: don't write ord for single-valued points, saving 4 bytes per point
2016-03-20 09:16:43 -04:00
Uwe Schindler
f93f90ca1b
SOLR-8874: Make Solr tests work with Java 9 Jigsaw
2016-03-19 14:53:59 +01:00
Mike McCandless
ef7a012513
LUCENE-7113: add best-effort checksum verification to temp files written by OfflineSorter and BKDWriter
2016-03-19 05:18:15 -04:00
Mike McCandless
7523ca1162
LUCENE-7086: move SlowCompositeReaderWrapper to misc module, and throw clear exc if you try to use in with points
...
Squashed commits:
commit e26b065c71388407bc6725256ca43d7bb30dee29
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:16:45 2016 -0500
simplify the checking for incoming points
commit b7254376dcb398c7739aab4544118bb4526961d5
Merge: 8ec82a0 d35d569
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:05:24 2016 -0500
Merge branch 'master' into slow_wrapper
Conflicts:
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCache.java
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheReopen.java
commit 8ec82a0d9a0dd946d96da20962bb2ea95758edbe
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 13:56:25 2016 -0500
LUCENE-7086: move SlowCompositeReaderWrapper to misc module
2016-03-10 16:08:59 -05:00
Mike McCandless
dacbf333e4
CheckIndex failed to say it was checking points
2016-03-09 11:03:37 -05:00
Simon Willnauer
588aeeaab7
LUCENE-7080: Sort files to corrupt to prevent HashSet iteration order issues across JVMs
2016-03-09 10:56:13 +01:00
Mike McCandless
62b3aaa526
improve testing for sparse points
2016-03-08 15:21:37 -05:00
Mike McCandless
e3fcbfe7ce
don't use slow composite reader in this test
2016-03-08 13:34:08 -05:00
David Smiley
9393a3190c
LUCENE-6952: Make most Filter* classes abstract.
2016-03-08 12:36:46 -05:00
Robert Muir
4cc9ad44df
LUCENE-7075: remove legacy numericutils usage from test.
2016-03-08 08:41:24 -05:00
Robert Muir
862bf7b5ac
LUCENE-7075: convert test class to use points
2016-03-08 07:36:34 -05:00
Mike McCandless
74e7e1509a
LUCENE-7070: insert missing 's' in PointFormat/Reader/Writer
2016-03-06 08:27:02 -05:00
Robert Muir
3ffeccab7e
LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils
2016-03-03 21:52:12 -05:00
Alan Woodward
682b179605
LUCENE-7058: Add getters for various Query implementations
2016-03-03 11:15:15 +00:00
Mike McCandless
2d5519a0ee
also assert points stats docCount <= maxDoc, and docCount >=0 and size >= 0
2016-03-03 05:48:15 -05:00
Mike McCandless
b5475d10e1
also add PointValues.getDocCount stat, and check it in CheckIndex
2016-03-02 18:39:57 -05:00
Mike McCandless
3c02ab2187
add PointValues.size() stat, to return total number of points
2016-03-02 17:53:28 -05:00
Mike McCandless
e3198cac54
LUCENE-7059: always visit 1D points in sorted order; fix tie-break but in BKDWriter; fix BKDWriter to pass on maxMBSortInHeap to the OfflineSorter too
2016-03-02 11:27:52 -05:00
Mike McCandless
6261767b33
remove dup'd code
2016-03-01 14:32:08 -05:00
Mike McCandless
37cf22895f
also test points in TestUtil.checkReader
2016-03-01 05:01:19 -05:00
Robert Muir
502b8800fc
Fix tests to randomized BKD parameters in tests (like TestPointQueries does).
...
Otherwise, even things like range queries are not tested well unless tests use thousands of documents.
2016-02-29 20:29:51 -05:00
Uwe Schindler
8ffa436f00
LUCENE-7053: Move comparator to better place in code; generalize to use CharSequence instead of String
2016-02-29 09:54:22 +01:00
Uwe Schindler
f48d23cd14
LUCENE-7053: Remove custom comparators from BytesRef class and solely use natural byte[] comparator throughout codebase. It also replaces the natural comparator in ArrayUtil by Java 8's Comparator#naturalOrder().
2016-02-29 09:25:55 +01:00
Mike McCandless
126ac9a5fe
BytesRefHash.sort always sorts in unicode order
2016-02-27 10:26:20 -05:00
Mike McCandless
9db0ddc22f
detect when the visitor is being re-used e.g. by SlowCompositeReaderWrapper
2016-02-26 19:29:44 -05:00
Robert Muir
099e031139
LUCENE-7045: remove all encode/decode hooks from PointRangeQuery
2016-02-23 17:03:55 -05:00
Robert Muir
54216c6f65
LUCENE-7043: Add BigIntegerPoint and InetAddressPoint to sandbox.
2016-02-23 07:24:38 -05:00
Robert Muir
54a544b307
LUCENE-7039: Improve PointRangeQuery & co
2016-02-22 15:10:15 -05:00
Uwe Schindler
3d34728c4b
Prevent warning on empty try-with-resources
2016-02-21 16:40:32 +01:00
Robert Muir
189e985b5c
LUCENE-7037: Switch all exceptions tests to expectThrows()
2016-02-19 12:07:47 -05:00
Mike McCandless
7ff31daeb0
use try-w-resources so Directory is closed even on assumption violation
2016-02-15 18:44:07 -05:00
Mike McCandless
a9dc40294e
fix this test to avoid MockRandomMergePolicy which leads to false failures
2016-02-15 05:17:40 -05:00
Mike McCandless
12b8721a44
Merge branch 'jira/lucene-5438-nrt-replication'
2016-02-11 11:20:18 -05:00
Mike McCandless
88fea23176
turn off debug prints; add lucene.experimental to javadocs
2016-02-09 05:22:16 -05:00
Mike McCandless
9afa560054
fix some nocommits; fix one stress test failure
2016-02-08 14:07:04 -05:00
Mike McCandless
2cee9f1693
LUCENE-6835, LUCENE-6684: keep the 'suppress NSFE on windows' hack inside IFD as well
2016-02-08 13:54:05 -05:00
Mike McCandless
9ba62e5e38
Merge branch 'master' into jira/lucene-5438-nrt-replication
...
Conflicts:
lucene/core/src/java/org/apache/lucene/index/IndexFileDeleter.java
lucene/test-framework/src/java/org/apache/lucene/store/MockDirectoryWrapper.java
2016-02-07 14:03:13 -05:00
Mike McCandless
6369012d33
fix a few nocommits
2016-02-07 13:58:01 -05:00
Mike McCandless
e0ba1e5bff
move verbosity to the right place
2016-02-07 09:26:23 -05:00
Mike McCandless
8e8aa0869e
MDW's assertNoUnreferencedFilesOnClose should still run even if checkIndexOnClose is turned off
2016-02-07 09:19:57 -05:00
Mike McCandless
2a7687641e
add verbosity for this test when it fails
2016-02-07 05:24:19 -05:00
Mike McCandless
bd6804bc63
Merge branch 'master' into nrt_replicas
...
Conflicts:
lucene/test-framework/src/java/org/apache/lucene/store/MockDirectoryWrapper.java
2016-02-06 11:14:15 -05:00
Mike McCandless
3c15c3f03d
LUCENE-6835: add test case confirming listAll is sorted; fix dir impls that weren't
2016-02-06 09:41:46 -05:00
Mike McCandless
5b4c1d963c
fix javadoc errors
2016-02-06 04:47:16 -05:00
Mike McCandless
d2a5c10326
Merge branch 'master' into lucene-6835
...
Conflicts:
lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAddTaxonomy.java
lucene/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/TestCompactLabelToOrdinal.java
2016-02-05 12:38:21 -05:00
Mike McCandless
24f55abfd5
improve tests; fix RAFDirectory.openInput to respect pending delete
2016-02-05 12:19:24 -05:00
Mike McCandless
85c546b742
disable random insertion of VirusCheckingFS, and instead add it to a few tests
2016-02-05 09:42:54 -05:00
Uwe Schindler
0f43705788
LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back)
2016-02-04 23:02:50 +01:00
Shai Erera
813ca77250
LUCENE-7013: Move license header to top of file
2016-02-04 15:51:19 +02:00
Shai Erera
30455f728b
LUCENE-7010: add MergePolicyWrapper
2016-02-04 09:24:24 +02:00
Mike McCandless
9cf74f791c
merge master
2016-02-03 17:03:23 -05:00
Mike McCandless
8cd731be50
fix some more nocommits; reduce retry-pending-deletes frequency so it's not O(N^2)
2016-02-03 16:56:10 -05:00
Mike McCandless
f0b9186f55
remove nocommit
2016-02-03 15:47:50 -05:00
Mike McCandless
845eec1036
cutover more places back to deleteFile
2016-02-03 15:44:08 -05:00
Ryan Ernst
732b8fb3b9
LUCENE-7009: Add expectThrows utility to LuceneTestCase
2016-02-03 12:18:12 -08:00
Mike McCandless
a741ea53c9
cut back to Directory.deleteFile(String); disable 'could not removed segments_N so I don't remove any other files it may reference' heroics
2016-02-03 10:35:57 -05:00
Mike McCandless
b4a2bf2b41
fix a few tests; add some nocommits
2016-02-02 18:07:06 -05:00
Mike McCandless
84f44589f6
migrate current patch from svn
2016-02-02 15:53:16 -05:00
Mike McCandless
9332b1602c
also assert PointValues are the same from LTC.assertReaderEquals
2016-01-29 19:09:04 -05:00
Mike McCandless
c403083872
try again
2016-01-29 09:25:48 -05:00
Mike McCandless
3141c697e5
revert
2016-01-29 09:18:31 -05:00
Mike McCandless
27c28b5340
don't test merge stability of point values: our BKD tree impl is not stable on 1D merge
2016-01-29 09:12:35 -05:00
Mike McCandless
ddbf3a2168
fix wrong comment; add test proving it's wrong; add mixed codec tests
2016-01-29 06:16:30 -05:00
Robert Muir
ae6a971c35
LUCENE-7000: Split BasePointFormatTestCase from TestPointValues
2016-01-29 04:27:27 -05:00
Mike McCandless
da5cc3cad5
add CrankyPointFormat
2016-01-28 16:24:27 -05:00
Mike McCandless
791ddc627b
LUCENE-6999: break out PointWriter.finish from .close to avoid leaking file handles on exception
2016-01-28 11:02:24 -05:00
Mike McCandless
1ae7291429
current patch
2016-01-24 18:17:20 -05:00
Michael McCandless
07b5a6f64b
LUCENE-6932: fix test bug that was not always using the dir impl being tested
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726264 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 18:11:23 +00:00
Michael McCandless
860a5847b7
LUCENE-6980: fix a few more places to just use default (true) for applyAllDeletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726250 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 16:12:06 +00:00
Michael McCandless
d71d1aa941
woops
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726228 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:17:17 +00:00
Michael McCandless
56a76eb5a1
LUCENE-6932: also fix NIOFSIndexInput to throw EOFE if you seek beyond end of file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726227 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:16:20 +00:00
Robert Muir
79572ada76
LUCENE-6986: add more DFI measures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726205 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 13:30:12 +00:00
Michael McCandless
fb371af1f9
LUCENE-6980: fix a few more tests to just use default (true) for applyAllDeletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726106 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 21:32:31 +00:00
Michael McCandless
ddc65d977f
LUCENE-6932: RAMInputStream now throws EOFException if you seek beyond the end of the file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726039 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 17:50:28 +00:00
Michael McCandless
29cb337377
LUCENE-6975: rename dimensional values to points; add ExactPointQuery to match documents containing exactly an indexed point
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725998 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 15:58:08 +00:00
Robert Muir
1a9f11ce45
LUCENE-6818: Add DFISimilarity implementing the divergence from independence model
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725205 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 09:24:22 +00:00
Michael McCandless
40d290ee84
LUCENE-6980: default applyDeletes to true when opening NRT readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725160 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 00:43:44 +00:00
Michael McCandless
24c46305bd
LUCENE-6971: remove StorableField, StoredDocument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Michael McCandless
6961bb1fc4
LUCENE-6932: RAMDirectory's IndexInput should always throw EOFE if you seek beyond the end of the file and then try to read
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725111 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:22:26 +00:00
Uwe Schindler
f5b0e537b4
LUCENE-6978: Refactor several code places that lookup locales by string name to use BCP47 locale tag instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724891 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 22:41:57 +00:00
Shai Erera
073dbdc17e
LUCENE-6973: Improve TeeSinkTokenFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724789 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 12:55:47 +00:00
Michael McCandless
9bc5058f7d
LUCENE-6962: add min/max per dimension to dimensional values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723682 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 10:52:15 +00:00
Michael McCandless
1c58fd4608
LUCENE-6957: don't make this method final
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723331 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 14:17:12 +00:00
Michael McCandless
cc1ac528c1
LUCENE-6957: rename test case so we still run the same test name from the base class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723330 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 14:16:18 +00:00
Robert Muir
a459fdfdf9
LUCENE-6953: clean up test-framework dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722131 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 13:51:03 +00:00
Michael McCandless
d5ebe9cd85
LUCENE-6936: don't try to merge dimentional values that have 0 points/documents (when all docs having dimensional values were deleted)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720798 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 14:24:59 +00:00
Michael McCandless
7da175b0b6
LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Michael McCandless
671b5768a6
upgrade comment to javadocs so 'ant precommit' passes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719544 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 20:46:55 +00:00
Christine Poerschke
8575e3fb3a
LUCENE-6925: add ForceMergePolicy class in lucene test-framework and RandomForceMergePolicy class in solr test-framework, plus Test[Random]ForceMergePolicy test classes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719449 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 15:19:29 +00:00
Adrien Grand
ddb3a97678
LUCENE-6919: Make Scorer expose an iterator instead of extending DocIdSetIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719081 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 13:43:50 +00:00
Uwe Schindler
8a148abb4e
Add extra check that we can create an AccessControlContext for running test with lower privileges. It's trappy otherwise!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718132 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 23:02:06 +00:00
Gregory Chanan
562d97a69d
SOLR-7928: Improve CheckIndex to work against HdfsDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717340 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 22:46:48 +00:00
Adrien Grand
8eea72d476
LUCENE-6906: Fix Lucene54DocValuesFormat on large empty segments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715918 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 19:05:31 +00:00
Adrien Grand
0ed54b3105
LUCENE-6276: Added TwoPhaseIterator.matchCost().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714261 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 20:08:01 +00:00
Michael McCandless
84ede2378c
LUCENE-6849: expose IndexWriter.flush to move in-memory segments to disk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713646 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 14:35:58 +00:00
Michael McCandless
3f21788fbd
LUCENE-6886: Directory.createTempOutput always uses .tmp extension, and codecs are not allowed to
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713103 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 11:07:48 +00:00
Michael McCandless
d3869edb96
LUCENE-6861: switch trunk to Luceen60 codec, implementing dimensional format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711732 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 10:19:50 +00:00
Michael McCandless
dc66518401
fix MismatchedLeafReader to carry over dimensional count/numBytes for each field; add some toString; improve test debuggability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711351 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 19:51:37 +00:00
Dawid Weiss
295b9972f4
LUCENE-6862: Upgrade of RandomizedRunner to version 2.2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711203 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 09:38:20 +00:00
Adrien Grand
9f1248e841
LUCENE-6840: Put ord indexes on disk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710876 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 19:49:47 +00:00
Michael McCandless
e5c4ba48df
LUCENE-6825: add dimensionally indexed values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710752 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 09:31:35 +00:00
Alan Woodward
5969426d82
LUCENE-6845: Merge SpanScorer into Spans
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709964 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 09:16:03 +00:00
Michael McCandless
f3f232f775
LUCENE-6825: add low-level support for block-KD trees
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709783 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 09:56:42 +00:00
Michael McCandless
c855dd5a33
LUCENE-6829: OfflineSorter now uses Directory API; add Directory.createTempOutput and IndexOutput.getName
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708760 13f79535-47bb-0310-9956-ffa450edef68
2015-10-15 09:58:18 +00:00
Michael McCandless
4fa7bac977
LUCENE-6813: OfflineSorter no longer removes its output file up front; fix file handle leak in RangeTreeWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705155 13f79535-47bb-0310-9956-ffa450edef68
2015-09-24 21:23:49 +00:00
Michael McCandless
4cbf0da8c6
LUCENE-6734: sidestep auto-prefix terms test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704660 13f79535-47bb-0310-9956-ffa450edef68
2015-09-22 15:51:40 +00:00
Alan Woodward
b570fb0352
LUCENE-6489: Move Payload queries to queries module and PayloadSpanUtil to sandbox
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703392 13f79535-47bb-0310-9956-ffa450edef68
2015-09-16 12:43:31 +00:00
Robert Muir
a944ab17a7
LUCENE-6789: change IndexSearcher default similarity to BM25
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703070 13f79535-47bb-0310-9956-ffa450edef68
2015-09-14 22:03:35 +00:00
Uwe Schindler
01adad8899
LUCENE-6795: Improve RamUsageTester in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702693 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:45:37 +00:00
Uwe Schindler
b8a213ccf7
LUCENE-6795: Forbid AccessibleObject#setAccessible and suppress legitimate uses / wrap with doPrivileged
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702690 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:07:11 +00:00
Uwe Schindler
421afac9a9
Slightly more elegant rethrower (from AttributeFactory) :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702663 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 18:59:54 +00:00
Robert Muir
b0d1e6f741
LUCENE-6795: remove zero-byte file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702154 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 03:21:00 +00:00
Robert Muir
e18e9ba178
LUCENE-6795: fix some test issues (mostly static leaks)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702144 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 01:48:34 +00:00
Robert Muir
37ec9f4344
LUCENE-6795: remove reflection hack completely, see http://mail.openjdk.java.net/pipermail/nio-dev/2015-September/003322.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702139 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 01:09:42 +00:00
Robert Muir
37db6bf1a5
LUCENE-6794: Fix TestSecurityManager to work with IDEs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702123 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 22:19:22 +00:00
Robert Muir
2489b18c86
LUCENE-6791: sketchy MockFileSystem reflection should be in AccessController block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702038 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 15:33:02 +00:00
Adrien Grand
962313b83b
LUCENE-6590: Replace Query.getBoost, setBoost and clone with a new BoostQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701621 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 13:34:46 +00:00
Michael McCandless
6d5b236dea
just retry if automaton is too complex to determinize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700444 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:32:44 +00:00
Robert Muir
c2484192de
LUCENE-6206: don't fail test if it encounters jdk bug, ban Collator.compare in tests so this never pops again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700261 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 15:10:15 +00:00
Michael McCandless
f7dc8767bb
LUCENE-6684: disable asserts on windows that false-trip due to 'pending delete' state that an NTFS file can be in
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700100 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 09:35:43 +00:00
Michael McCandless
85b6c90b3a
fix test to catch any Throwable, not just IOExc, and then print the IW infoStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700068 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 18:56:05 +00:00
Michael McCandless
a65779666d
print IW infoStream on failure in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697776 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 22:15:42 +00:00
Uwe Schindler
6a44b00201
SOLR-7958: Move TestUtil#randomWhitespace to the only Solr test that is using it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697262 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 21:41:03 +00:00
Uwe Schindler
bc9da338af
LUCENE-6760: Prevent test failure in Java 9 b76+
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697131 13f79535-47bb-0310-9956-ffa450edef68
2015-08-22 21:33:47 +00:00
Uwe Schindler
7a93c3e6f1
LUCENE-6752: Add Math#random() to forbiddenapis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697050 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 19:42:38 +00:00
Michael McCandless
567de2a357
LUCENE-6745: IndexInput.clone is not thread-safe; fix BKD/RangeTree to respect that
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697010 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 15:24:03 +00:00
Michael McCandless
be9471debb
LUCENE-6745: RAMInputStream.clone was not thread safe (Mike McCandless)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 14:39:30 +00:00
Uwe Schindler
f0654e355e
LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Adrien Grand
5186ce4e23
LUCENE-6715: Take value tables into account for memory usage of doc values.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695027 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 11:48:15 +00:00
Alan Woodward
92900dd203
LUCENE-6580: Allow defined-width gaps in SpanNearQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694082 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:15:05 +00:00
Adrien Grand
6a481c0a58
LUCENE-6668: Added table encoding to sorted set/numeric doc values.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692058 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 07:36:38 +00:00
Michael McCandless
a6301dd900
LUCENE-6659: remove IWC's max thread states limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Adrien Grand
ac8c26c8e0
LUCENE-6645: Optimized DocIdSet building for the "many small postings lists" case.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690026 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 08:39:00 +00:00
Michael McCandless
dd75010e6b
LUCENE-6616: IW lists files only once on init, IFD no longer suppresses FNFE, IFD deletes segments_N files last
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 14:42:43 +00:00
Uwe Schindler
1f2b51cd96
LUCENE-6563: Improve MockFileSystemTestCase.testURI to check if a path can be encoded according to local filesystem requirements. Otherwise stop test execution
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689768 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 23:03:58 +00:00
Uwe Schindler
4accc25477
LUCENE-6651: AttributeImpl#reflectWith(AttributeReflector) was made abstract and has no reflection-based default implementation anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688855 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 16:18:51 +00:00
Uwe Schindler
1816ed1945
LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Uwe Schindler
e50f72e073
LUCENE-6542: FSDirectory's ctor now works with security policies or file systems that restrict write access
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688537 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 00:16:37 +00:00
Michael McCandless
5f44cbb202
LUCENE-6617: reduce heap usage for small FSTs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688412 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 09:43:37 +00:00
Uwe Schindler
4b758ee3fe
LUCENE-6637: Fix FSTTester to not violate file permissions on -Dtests.verbose=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688317 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 21:54:08 +00:00
Michael McCandless
2d0ac9bb7f
LUCENE_6524: init IndexWriter from already opened reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687992 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 08:07:50 +00:00
Adrien Grand
d671dd8d89
LUCENE-6553: Simplify how live docs are applied.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687524 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 13:59:19 +00:00
Adrien Grand
81f4c0f1b5
LUCENE-2880: Make span queries score more consistently with regular queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686301 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 19:37:05 +00:00
Adrien Grand
35c0ff0ec6
LUCENE-6583: Remove FilteredQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand
4aafacfbef
LUCENE-6570: Make BooleanQuery immutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Adrien Grand
c397fe7234
LUCENE-6531: Make PhraseQuery immutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 10:18:40 +00:00
Uwe Schindler
106d6b92ef
LUCENE-6564: Change PrintStreamInfoStream to use thread safe Java 8 ISO-8601 date formatting (in Lucene 5.x use Java 7 FileTime#toString as workaround); fix output of tests to use same format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685675 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 21:34:41 +00:00
Michael McCandless
3aa18151b3
LUCENE-6539: Add DocValuesNumbersQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685540 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:01:14 +00:00
Ramkumar Aiyengar
b1f1f5df0b
Revert r1685431: LUCENE-6564: Add milliseconds to timestamp in IW output for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685461 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 20:26:12 +00:00
Ramkumar Aiyengar
e2a1ee29e0
LUCENE-6564: Add milliseconds to timestamp in IW output for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685431 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 18:11:23 +00:00
Robert Muir
50fc8ad31d
LUCENE-6504: implement norms with random access API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685007 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 00:32:45 +00:00
Michael McCandless
f68abe9378
LUCENE-6511: add CMS.getAutoIOThrottle
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684981 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 22:02:53 +00:00
Alan Woodward
9c12b35df9
SOLR-6371: Simplify SpanCollector interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684700 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 16:01:00 +00:00
Michael McCandless
42b8b47b27
LUCENE-6533: don't cache live docs in SlowCompositeReaderWrapper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684615 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 09:29:09 +00:00
Adrien Grand
d1adfee99a
LUCENE-6527: Queries now get a dummy Similarity when scores are not needed in order to not load unnecessary information like norms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684502 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 19:02:37 +00:00
Mark Robert Miller
ed6fd884b0
SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684494 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 18:18:10 +00:00
Robert Muir
1cf0ee7471
use 'reader' in code to make it easier to disable evilReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684294 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 23:20:08 +00:00
Robert Muir
ca7b037934
LUCENE-6529: add asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683913 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 13:52:40 +00:00
Adrien Grand
c129a9080b
LUCENE-6526: Asserting(Query|Weight|Scorer) now ensure scores are not computed if they are not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683734 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 12:18:12 +00:00
Robert Muir
fe6c3dc939
LUCENE-6508: Simplify directory/lock API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683606 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 18:20:44 +00:00
Robert Muir
a2c8b6c7ad
LUCENE-6517: disable test on J9, for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683453 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 03:20:18 +00:00
Robert Muir
d9a4127a9d
LUCENE-6518: classcache reaper needs exemption from thread leaks (J9)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683451 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 03:15:22 +00:00
Alan Woodward
f066027bc9
LUCENE-6466: Remove SpanSimilarity class and make SpanMTQWrapper single-pass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682513 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 16:23:08 +00:00
Mark Robert Miller
d38212a458
SOLR-7601: We should only check that tests have properly closed resources if the tests passed.
...
Speeds up test fails and cleans up Jenkin's failure reports.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682454 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:18:09 +00:00
Michael McCandless
225e4a5803
LUCENE-6507: don't let NativeFSLock.close release other locks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682327 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 20:36:20 +00:00
Simon Willnauer
b418047251
LUCENE-6499: Fix typo and make vars final
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681851 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:36:01 +00:00
Simon Willnauer
9124fcfade
LUCENE-6499: WindowsFS misses to remove open file handle if file is concurrently deleted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681846 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:25:21 +00:00
Alan Woodward
2183e67cfd
LUCENE-6466: Move SpanQuery.getSpans() and .extractTerms() to SpanWeight
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680565 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 13:29:10 +00:00
Alan Woodward
a0561676a0
LUCENE-6371: Add collection API to Spans, remove payload methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680205 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 09:02:38 +00:00
Adrien Grand
3827a5fb10
LUCENE-6483: Ensure core closed listeners are called on the same cache key as the reader which has been used to register the listener.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680049 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 16:20:06 +00:00
Simon Willnauer
22d22bf415
LUCENE-6488: Ensure files are closed if onClose/onOpen throws an Exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680005 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 12:22:28 +00:00
Robert Muir
4483ff2089
LUCENE-6083: SpanWithinQuery and SpanContainingQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676716 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 11:42:11 +00:00
Robert Muir
5feed52b9d
LUCENE-6452: score conjunctions consistently with BooleanScorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676559 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 15:15:27 +00:00
Robert Muir
596e82b59f
fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676489 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 11:31:31 +00:00
Adrien Grand
1422c4607f
LUCENE-6448: Make Filter a better Query citizen.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675199 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 20:56:14 +00:00
Robert Muir
ef4c9ffc06
speed up base norms test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675177 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 18:17:38 +00:00
Robert Muir
77b74fc623
LUCENE-6447: AssertingLeafReader should delegate getCoreCacheKey()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675137 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 15:24:06 +00:00
Adrien Grand
c6821e1a19
LUCENE-6446: Simplified Explanation API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Robert Muir
fb5bdbf543
LUCENE-6442: Add mockfs with unpredictable but deterministic file listing order
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675097 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 11:33:52 +00:00
Robert Muir
c3209306cb
LUCENE-6439: Create test-framework/src/test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674946 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 17:23:58 +00:00
Uwe Schindler
f4207755d9
LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Uwe Schindler
5b4fe002ba
LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Robert Muir
c617356a29
LUCENE-6440: Show LuceneTestCase LiveIndexWriterConfig changes with deltas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674912 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:03:00 +00:00
Robert Muir
b67473ea85
make tests.verbose only include relevant output, fix non-reproducibility (!) of QueryUtils
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674730 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:13:45 +00:00
Robert Muir
39da139934
speedups for the slowest tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674704 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 22:47:00 +00:00
Robert Muir
04f870c172
LUCENE-6436: add SuppressFsync annotation and reduce the number of fsyncs in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674570 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:27:57 +00:00
Michael McCandless
a4369f070e
LUCENE-6437: randomize cpu core count and spins for ConcurrentMergeScheduler's dynamic defaults
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674535 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 16:28:00 +00:00
Robert Muir
44a97f67b7
LUCENE-6432: add SuppressReproduceLine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674277 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 11:21:21 +00:00
Robert Muir
538f90225e
LUCENE-6431: make ExtrasFS reproducible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 11:07:45 +00:00
Robert Muir
3dd6b59650
LUCENE-6430: fix URI delegation for non-ascii files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674177 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:04:56 +00:00
Robert Muir
5cbdc93244
LUCENE-6430: FilterPath needs hashCode/equals
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674105 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 16:07:18 +00:00
Adrien Grand
f4c0546567
LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Robert Muir
d71933415d
LUCENE-6424: DirectoryStream doesn't wrap with FilterPath
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673720 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 10:36:34 +00:00
Adrien Grand
63073a01c2
LUCENE-6419: Added two-phase iteration assertions to AssertingQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673667 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:37:23 +00:00
Robert Muir
a5877d42b0
LUCENE-6421: defer reading of positions in MultiPhraseQuery until they are needed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673595 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 00:54:03 +00:00
Michael McCandless
82b3106f6c
LUCENE-6382: enforce max allowed indexed position
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673508 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:54:10 +00:00
Robert Muir
b737186489
LUCENE-6411: improve spans tests, wrap with asserting at every level, cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 21:39:34 +00:00
Robert Muir
ddf0c1d231
LUCENE-6418, LUCENE-6411: add AssertingSpans and fix the bugs it found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673036 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 18:24:14 +00:00
Michael McCandless
249d0d25fe
LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
Michael McCandless
c08d81cc39
LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Robert Muir
d64899ff18
LUCENE-6405: add infos exc unit tests. fix TestTransactions to handle exceptions on openInput and let MDW do it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671995 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 02:47:11 +00:00
Robert Muir
614bf6ac23
LUCENE-6405: add shotgun test for exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671902 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 18:02:06 +00:00
Adrien Grand
01622683fe
LUCENE-6406: Reset the query cache to its original value after a LuceneTestCase terminates.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671890 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 17:24:32 +00:00
Robert Muir
70b7a2ca1b
LUCENE-6271: add vectors tests for postings enum api
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671160 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:59:31 +00:00
Robert Muir
363fc49258
merge trunk up to r1671137
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:13:06 +00:00
Robert Muir
7ee772616f
LUCENE-6393: add equivalence tests for SpanFirstQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671137 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 19:43:41 +00:00
Robert Muir
5ea36eb992
merge trunk up to r1670923
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670929 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:37:39 +00:00
Michael McCandless
30807709e6
LUCENE-5879: add auto-prefix terms to block tree, and experimental AutoPrefixTermsPostingsFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670918 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:05:48 +00:00
Robert Muir
3b8d3f9674
LUCENE-6271: fold these tests into BasePostingsFormatTestCase, so we know all codecs adhere. TODO: clean up BPFTC reuse hooks, TODO: do the same for vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670750 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 18:32:57 +00:00
Robert Muir
0b8e5fb822
LUCENE-6271: add simple test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670670 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:19:44 +00:00
Robert Muir
41ba046a93
LUCENE-6271: merge trunk changes up to r1670529
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:10:11 +00:00
Robert Muir
86bea1d123
merge unrelated nightly test bugfixes from LUCENE-6271 branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670529 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:55:00 +00:00
Michael McCandless
10565e237d
LUCENE-6271: fix LineFileDocs to not close itself; don't set daemon threads for ThreadedIndexingAndSearchingTestCase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670511 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 22:55:54 +00:00
Michael McCandless
dd0c69cac5
LUCENE-6271: fix test to fail faster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670508 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 22:44:11 +00:00
Robert Muir
7fb113ad3a
LUCENE-6271: fix confusing naming... TODO: address SortingDocsEnum too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670480 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 21:08:35 +00:00
Varun Thacker
02b8907124
LUCENE-6378: Fix all RuntimeExceptions to throw the underlying root cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670453 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:54:37 +00:00
Ryan Ernst
c82e9d47cd
LUCENE-6271: remove nocommit from LTC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670425 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:00:35 +00:00
Ryan Ernst
07c20804b1
LUCENE-6271: fix nocommits in term vectors tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670424 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 18:57:49 +00:00
Robert Muir
44aaddff2c
LUCENE-6271: change this nocommit to a TODO, actually we should test more possibilities since the codec might specialize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 18:14:39 +00:00
Ryan Ernst
05cf3fde0d
LUCENE-6271: sync up with trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670257 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 05:22:40 +00:00
Adrien Grand
01152b825f
Fix TestNRTThreads by explicitely copying the term before running the query.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670026 13f79535-47bb-0310-9956-ffa450edef68
2015-03-30 09:42:11 +00:00
Michael McCandless
6a6c729920
LUCENE-6367: PrefixQuery now subclasses AutomatonQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669522 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 08:22:54 +00:00
David Wayne Smiley
220a0ea642
LUCENE-6198: add approximation constructor to TwoPhaseIterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669161 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:14:00 +00:00
Michael McCandless
39d6e2e38e
MockRandomMP's force merge must also merge away pending but not written deletions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667140 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 21:54:35 +00:00
Robert Muir
c8624aac7d
fix compilation error with jdk 8u11
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664636 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 14:41:33 +00:00
Robert Muir
bb5e6238db
LUCENE-6335: test fixes, and one real fix to synonymfilterfactory (missing analyzer.close)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664404 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 16:45:02 +00:00
Adrien Grand
a275ca2bb5
LUCENE-6338: s/skipTo/advance/ and removed duplicate assertion.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664279 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 08:54:37 +00:00
Adrien Grand
5406a2ae14
Fix tests reproducibility.
...
Some tests instantiate an IndexSearcher in an @BeforeClass method. So we need
to reset the query cache in @BeforeClass too or they would use a shared cache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664053 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 15:41:37 +00:00
Robert Muir
1510f69303
LUCENE-6320: speed up checkindex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663505 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 01:18:33 +00:00
Dawid Weiss
332c478c62
Merge with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663427 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:45:39 +00:00
Dawid Weiss
dd4ed7ac3f
Adding eol-style on added files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663423 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:38:46 +00:00
Michael McCandless
1212333ad1
LUCENE-6307: rename confusing docCount -> maxDoc in several places
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663371 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 17:24:47 +00:00
Dawid Weiss
7f0d8c1f24
Merge with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663307 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 13:56:48 +00:00
Robert Muir
a9915c6616
LUCENE-6317: Fix readStringStringMap API, reduce memory usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663157 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:30:49 +00:00
Dawid Weiss
9166c19888
A branch for LUCENE-6238
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663156 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:25:41 +00:00
Adrien Grand
4f3d2aeae5
LUCENE-6303: Make tests reproducible again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663106 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:59:10 +00:00
Robert Muir
f64e74c0c7
LUCENE-6310: FilterScorer supports two-phase always, adds two-phase support to some long-tail scorers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663095 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:24:59 +00:00
Michael McCandless
f4011cfc51
LUCENE-6311: make sure IndexInput.toString confesses when it's within a compound file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662967 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:16:46 +00:00
Adrien Grand
e4d88cab5c
LUCENE-6303: CachingWrapperFilter -> CachingWrapperQuery, FilterCache -> QueryCache and added caching to IndexSearcher.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 18:09:01 +00:00
Adrien Grand
544f5bf1e7
LUCENE-6300: Remove multi-term filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662682 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:12:02 +00:00
Michael McCandless
4e53fae38e
LUCENE-6299: commit rob's last patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6299@1662504 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 17:34:00 +00:00
Adrien Grand
ed358ad9ad
LUCENE-6291: Rename TwoPhaseDocIdSetIterator to TwoPhaseIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662414 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 10:52:51 +00:00
Adrien Grand
0e505bcc00
LUCENE-6289: Replace DocValuesRangeFilter with DocValuesRangeQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662244 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 15:26:04 +00:00
Ryan Ernst
a411d8af6c
LUCENE-6271: initial patch, postings() funcs switched over to not return null, callers marked with nocommits that check against null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1662157 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 01:17:13 +00:00
Adrien Grand
2cd3fb807d
LUCENE-6286: Removed IndexSearcher methods that take a Filter object.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662059 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:43:10 +00:00
Ryan Ernst
992abbeff1
LUCENE-6246: simplify flags for PostingsEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661822 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 00:09:38 +00:00
Alan Woodward
299c492dd3
LUCENE-6272: Scorer extends DocIdSetIterator directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661376 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 15:02:46 +00:00
Robert Muir
7a471df801
make SearchEquivalenceTestBase nastier: run N filters for each query with different methods, run needsScore=true/false each time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661374 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 14:59:14 +00:00
Adrien Grand
3dc3e57847
LUCENE-6269: Remove BooleanFilter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 14:08:09 +00:00
Robert Muir
27eed40337
LUCENE-6274: (tests-only). check approximations in equivalence tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661362 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 13:56:39 +00:00
Robert Muir
7c36d012f6
LUCENE-6265: add extrasfs to return bonus files/subdirs with directories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661251 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 00:09:35 +00:00
Robert Muir
8607f76503
LUCENE-6266: Remove unnecessary Directory parameters from SIS/SIPC/SI
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661172 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 18:11:44 +00:00
Robert Muir
8706a76fe0
LUCENE-6264: Add SuppressFileSystems annotation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661124 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 14:00:30 +00:00
Ryan Ernst
d3e7357d28
LUCENE-6256: Change PostingsEnum.nextPosition() to consistently return -1 when positions are not available
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661061 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 05:27:07 +00:00
Adrien Grand
ae3f1abbe3
LUCENE-6261: TwoPhaseDocIdSetIterator.matches() should be called at most once per doc ID.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660912 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:34:17 +00:00
Adrien Grand
456187051b
Fix RandomApproximationQuery to not share Random instances across threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660415 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:31:34 +00:00
Robert Muir
0c483c6cd5
LUCENE-6246: add simple test for postings reuse/flags/behavior (DOCS_ONLY so far), fix asserting to support reuse
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660405 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:15:00 +00:00
Robert Muir
69300ee467
LUCENE-6246: Fix DocsEnum -> PostingsEnum transition (phase 1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 12:46:55 +00:00
Adrien Grand
40a4330b14
LUCENE-6244: DisjunctionScorer propagates two-phase iterators of its sub scorers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660180 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 18:27:25 +00:00
Robert Muir
04e297adee
LUCENE-6241: FSDirectory.listAll doesnt filter out subdirectories anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 17:30:54 +00:00
Robert Muir
b19563abc3
LUCENE-6030: remove fixed @Seed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659020 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 18:00:12 +00:00
Alan Woodward
e0ff51383c
LUCENE-6226: Revert for more API discussions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658375 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 12:02:03 +00:00
Alan Woodward
ef2141f6bf
LUCENE-6226: Query.createWeight() takes a param indicating which postings values should be read from the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658373 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:46:07 +00:00
Robert Muir
376256316b
LUCENE-4797: enable doclint html verification
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658040 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 10:10:34 +00:00
Robert Muir
8f3a71443b
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658029 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 07:38:44 +00:00
Adrien Grand
ea7120a404
LUCENE-6220: Remove unnecessary cast.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657878 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 16:05:11 +00:00
Adrien Grand
e4436aa7fe
LUCENE-6220: Move needsScores to Query.createWeight.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657874 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 15:54:53 +00:00
Jan Høydahl
b2336e3ed5
Fix illegal Javadoc @see
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657864 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 15:24:54 +00:00
Alan Woodward
c13216934c
LUCENE-4524: Replace DocsEnum and DocsAndPositionsEnum with PostingsEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657800 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 13:25:22 +00:00
Robert Muir
010e352f60
LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Adrien Grand
c953986209
LUCENE-6201: Improvements to minShouldMatch handling.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657286 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 15:29:43 +00:00
Michael McCandless
1529c57ca1
LUCENE-6212: remove per-doc analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656272 13f79535-47bb-0310-9956-ffa450edef68
2015-02-01 09:12:09 +00:00