Commit Graph

24090 Commits

Author SHA1 Message Date
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
Noble Paul 9298da5690 SOLR-8582 : memory leak in JsonRecordReader affecting /update/json/docs. Large payloads
cause OOM

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726261 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 17:28:27 +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
Steven Rowe b2ee2d51c4 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726241 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:44:11 +00:00
Michael McCandless 95b424b6e1 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@1726229 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:19:10 +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
Adrien Grand dabf5e8ce8 Add 5.4.1 indices to TestBackwardsCompatibility.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726157 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 09:08:35 +00:00
Shai Erera 2311c7fee1 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Uwe Schindler 7213e7cfc0 LUCENE-6978: Fix Morphlines locale parsing with empty string / null: use ROOT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726118 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 22:16:55 +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
Mark Robert Miller 5517929f9d SOLR-8371: Move 6.0 changes entry to 5.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726079 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 19:55:13 +00:00
Yonik Seeley 1ff6d6502d SOLR-8359: revert change of cached debug levels to statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726045 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 18:09:11 +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
Nick Knize 977980fcdc LUCENE-6974: Correct horizontal collinear logic bug in GeoRelationUtils.lineCrossesLine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725966 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 14:48:42 +00:00
Steven Rowe eb47a8b965 SOLR-4619: Improve PreAnalyzedField query analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725869 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 05:51:36 +00:00
Steven Rowe 1ad51f30ae SOLR-8567: Maven build: Add solr-core test dependency on the lucene queryparser test-jar, required for SOLR-839
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725866 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 05:33:53 +00:00
Dennis Gove 6501f1891b SOLR-8556: Add ConcatOperation to be used with the SelectStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725769 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:08:16 +00:00
Christine Poerschke e58b14d228 SOLR-8566: ManagedResource.buildMapToStore initialCapacity tweak. ManagedResource.storeManagedData log.error tweak ("load data" instead of "load stop words").
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725752 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 16:35:39 +00:00
Alan Woodward 52786181c7 LUCENE-6984: Remove out-of-date javadoc note
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725743 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 15:32:43 +00:00
Alan Woodward e5de90bbf1 LUCENE-6984: SpanMultiTermQueryWrapper no longer modifies its wrapped query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725719 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 13:36:56 +00:00
Alan Woodward d66dd2f9f0 LUCENE-6981: SpanQuery.getTermContexts() helper methods should be public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725710 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:54:57 +00:00
Christine Poerschke 16c53a0fea SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants, add CommonParamsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725708 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:43:25 +00:00
Joel Bernstein eae126ac1c SOLR-8514, SOLR-8502: Implement StatementImpl.execute(String sql), StatementImpl.getResultSet(), and StatementImpl.getUpdateCount()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725662 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 02:12:30 +00:00
Dennis Gove 2d2582e4f4 SOLR-8559: FCS facet performance optimization
Significantly speeds up processing when terms are high cardinality and the matching docset is small. 
When facet minCount > 0 and the number of matching documents is small (or 0) this enhancement 
prevents considering terms which have a 0 count. Also includes change to move to the next non-zero 
term value when selecting a segment position.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725638 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 22:41:49 +00:00
Joel Bernstein cecb9f4e25 SOLR-8516, SOLR-8502: Implement ResultSetImpl.getStatement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 21:25:36 +00:00
Michael McCandless 4d445b7235 relax test's assert for new DFI sim
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725607 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 20:34:58 +00:00
Joel Bernstein 1de59cad5d SOLR-8515, SOLR-8502: Implement StatementImpl.getConnection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725595 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:14:15 +00:00
Steven Rowe 58102fa671 IntelliJ config: Add lucene-core module test dependency to the DIH-extras module (required for access to o.a.l.util.Constants); and remove obsolete test-lib/*.jar test dependencies from several modules.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725594 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:08:10 +00:00
Steven Rowe 0c6f032117 SOLR-8541: remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725586 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 18:34:53 +00:00
Adrien Grand 52d63dfefb Fix test failure that was due to rounding errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725582 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 18:18:48 +00:00
Michael McCandless 86fd0b215b allow 0.0 score in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725535 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 14:44:31 +00:00
Michael McCandless ed7a3a606c don't pre-quantize our randomly generated lat/lon: this weakens test coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725530 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 14:29:25 +00:00
Michael McCandless 8a9e20bfa1 fix this test to disregard NaN scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725529 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 14:26:27 +00:00
Varun Thacker a2e5c37c85 SOLR-8534: Add generic support for collection APIs to be async
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725474 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:32:14 +00:00
Christine Poerschke f0362f6248 SOLR-8566: TransformerFactory.defaultFactories initialCapacity tweak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725469 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:09:35 +00:00
Michael McCandless 7875ed457d allow 0.0 score (DFI sim)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725391 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 23:46:41 +00:00
Michael McCandless 0eeb910292 relax overly anal test scoring asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725389 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 23:25:21 +00:00
Michael McCandless e127db28f9 fix test bug to not abuse hit scores for checking which hits were found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725386 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 23:19:26 +00:00
Robert Muir fb0aa2dc49 LUCENE-6982: throw IAE on illegal bm25 parameter values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725350 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 21:20:49 +00:00
Varun Thacker eafdf74bdd SOLR-7907: fix changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725322 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 19:16:58 +00:00
Varun Thacker f48207168e SOLR-7907: Remove CLUSTERSTATUS exclusivity checks from the Overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725321 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 19:13:52 +00:00
Varun Thacker db7653e3ef SOLR-8564: Fix Embedded ZooKeeper to use <solrHome>/zoo_data for it's data directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725273 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:58:02 +00:00
Uwe Schindler 9a39200e2b LUCENE-6971: remove MIGRATE.txt mention of StorableField, StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725251 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 12:35:18 +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
Alan Woodward ddf13a54a3 SOLR-8548: Core Discovery was not following symlinks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725196 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 09:05:24 +00:00
Robert Muir 9dc0ba4c7b LUCENE-6896: don't treat smallest possible norm value as an infinitely long doc in SimilarityBase or BM25Similarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725178 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 07:48:24 +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