Commit Graph

33352 Commits

Author SHA1 Message Date
Michele Palmia b1ec1cd9e0
LUCENE-9258: DocTermsIndexDocValues' range scorer didn't support multi-valued fields 2020-03-11 16:57:47 -04:00
Michele Palmia 5286098ac5
LUCENE-8849: DocValuesRewriteMethod.visit should visit subquery 2020-03-11 16:49:37 -04:00
Adrien Grand e43f8572cb LUCENE-9272: Add a CHANGES entry. 2020-03-11 20:03:15 +01:00
Namgyu Kim f0a49738ca
LUCENE-9270: Update Javadoc about normalizeEntry in the Kuromoji DictionaryBuilder 2020-03-12 02:50:36 +09:00
Adrien Grand ed59c3eb33
LUCENE-9272: Move checksum verification of the `.tip` file to `checkIntegrity()`. (#1339) 2020-03-11 18:15:29 +01:00
Cassandra Targett 32a2076c60 LUCENE-9229: fix Ref Guide broken links 2020-03-11 10:24:20 -05:00
Tomoko Uchida d4a137d2b6
LUCENE-9242: generate javadocs by calling Ant javadoc task (#1304) 2020-03-12 00:09:26 +09:00
David Smiley 732348ec7f SOLR-14197: SolrResourceLoader refactorings to reduce API
* Remove SRL.listConfigDir (unused)
* Remove SRL.getDataDir
* Remove SRL.getCoreName
* Remove SRL.getCoreProperties
 XmlConfigFile needs to be passed in the substitutableProperties
 IndexSchema needs to be passed in the substitutableProperties
 Remove redundant Properties from CoreContainer constructors
* Remove SRL.newAdminHandlerInstance (unused)
* Remove SRL.openSchema and openConfig
* Avoid SRL.getConfigDir
 Also harmonized similar initialization logic between DIH Tika processor & ExtractingRequestHandler.
* Ensure SRL.addToClassLoader and reloadLuceneSPI are called at most once
 Don't auto-load "lib" in constructor; wrong place for this logic.
* Avoid SRL.getInstancePath
 Added SolrCore.getInstancePath instead
 Use CoreContainer.getSolrHome instead
 NodeConfig should track solrHome separate from SolrResourceLoader
* Simplify some SolrCore constructors
* Move locateSolrHome to new SolrPaths
* Move "User Files" stuff to SolrPaths
2020-03-11 09:20:28 -04:00
Anshum Gupta 9842744956
Add 8.6 section to solr CHANGES.txt (#1337) 2020-03-11 00:16:27 -07:00
Jan Høydahl 751fbecc58
Remove some unused lines from addBackcompatIndexes.py related to svn (#1322) 2020-03-11 00:43:42 +01:00
Simon Willnauer 79feb93bd9
LUCENE-9164: process all events before closing gracefully (#1319)
IndexWriter must process all pending events before closing the writer during rollback to prevent AlreadyClosedExceptions from being thrown during event processing which can cause the writer to be closed with a tragic event.
2020-03-10 20:40:20 +01:00
Jan Høydahl 354f07cd3d
Remove unused scripts in dev-tools folder (#1326) 2020-03-10 19:48:42 +01:00
Joel Bernstein 193e4a6423 SOLR-14139: Update CHANGE.txt 2020-03-10 09:09:42 -04:00
iverase 8a90806fa6 move entry in CHANGES.txt from 8.6 to 8.5 2020-03-10 10:43:44 +01:00
Joel Bernstein e6616ba7a3 SOLR-14073: Update CHANGES.txt 2020-03-09 19:11:48 -04:00
Simon Willnauer 44bdfb2a07
Consolidated process event logic after CRUD action (#1325)
Today we have duplicated logic on how to convert a seqNo into a real
seqNo and process events based on this. This change consolidated the logic
into a single method.
2020-03-09 18:47:43 +01:00
Tomoko Uchida c8dea5d77f LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal option 2020-03-10 01:25:14 +09:00
Ignacio Vera 03c2557681
LUCENE-9263: Fix wrong transformation of distance in meters to radians in Geo3DPoint (#1318) 2020-03-09 17:07:55 +01:00
Bruno Roustant c7cf9e8e4f
LUCENE-9254: UniformSplit supports FST off-heap.
Closes #1301
2020-03-09 16:35:42 +01:00
Nhat Nguyen 7b9f212907 LUCENE-9268: Add some random tests to IndexWriter
Add some tests that perform a set of operations randomly and
concurrently on IndexWriter.
2020-03-08 22:18:04 -04:00
Joel Bernstein 01688cd8f1 SOLR-14073: Fix segment look ahead NPE in CollapsingQParserPlugin 2020-03-08 20:26:04 -04:00
Michael Sokolov 4501b3d3fd Revert "LUCENE-8962: Split test case (#1313)"
This reverts commit 90aced5a51.

Revert "LUCENE-8962: woops, remove leftover accidental copyright (darned IDEs)"

This reverts commit 3dbfd10279.

Revert "LUCENE-8962: Fix intermittent test failures"

This reverts commit a5475de57f.

Revert "LUCENE-8962: Add ability to selectively merge on commit (#1155)"

This reverts commit a1791e7714.
2020-03-08 18:27:54 -04:00
Paul Pazderski 320578274b LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal option 2020-03-07 21:32:40 +09:00
David Smiley 0c261f4215 CHANGES.txt: 8.5: re-categorize issues 2020-03-06 21:02:52 -05:00
Bruno Roustant c73d2c15ba
LUCENE-9257: Always keep FST off-heap. Remove SegmentReadState.openedFromWriter. 2020-03-06 14:24:12 +01:00
noble 4cf37ade35 Revert "SOLR-13942: /api/cluster/zk/* to fetch raw ZK data"
This reverts commit bc6fa3b650.
2020-03-06 23:08:34 +11:00
Robert Muir 4360fa7506
add 8.6 section to master branch's MERGE-CONFLICTS.txt for consistency 2020-03-06 05:52:26 -05:00
Robert Muir 624f5a3c2f
LUCENE-9264: Remove SimpleFSDirectory in favor of NIOFSDirectory
Closes #1321
2020-03-06 05:42:22 -05:00
Bruno Roustant 9733643466
LUCENE-9257: Always keep FST off-heap. Remove FSTLoadMode and Reader attributes.
Closes #1320
2020-03-06 11:15:09 +01:00
Robert Muir 9cfdf17b28
LUCENE-9241: fix tests to pass with -Xmx128m 2020-03-05 21:29:39 -05:00
Mike McCandless e5be034df2 LUCENE-8962: woops, remove leftover accidental copyright (darned IDEs) 2020-03-05 19:04:24 -05:00
Yannick Welsch 8a88dd02c6 Remove SimpleFSDirectory in favor of NIOFSDirectory 2020-03-06 00:04:25 +01:00
Michael Sokolov a030207a5e
LUCENE-8962: Split test case (#1313)
* LUCENE-8962: Simplify test case

The testMergeOnCommit test case was trying to verify too many things
at once: basic semantics of merge on commit and proper behavior when
a bunch of indexing threads are writing and committing all at once.

Now we just verify basic behavior, with strict assertions on invariants, while 
leaving it to MockRandomMergePolicy to enable merge on commit in existing
 test cases to verify that indexing generally works as expected and no new
unexpected exceptions are thrown.

* LUCENE-8962: Only update toCommit if merge was committed

The code was previously assuming that if mergeFinished() was called and
isAborted() was false, then the merge must have completed successfully.
Instead, we should know for sure if a given merge was committed, and
only then update our pending commit SegmentInfos.
2020-03-05 15:49:26 -05:00
Jan Høydahl ceb90ce0e8
LUCENE-9016: RefGuide meta doc for how to publish website (#1291) 2020-03-05 18:17:35 +01:00
Cassandra Targett 74b9ba396c SOLR-14147: comment out for now link to security manager docs in upgrade notes that don't exist on master 2020-03-05 06:16:07 -06:00
Atri Sharma 5d605102d8 Update CHANGES.txt Entry for 9114 2020-03-05 09:23:50 +05:30
Atri Sharma d751cf626e
LUCENE-9114: Improve ValueSourceScorer's Default Cost Implementation (#1303)
This commit makes ValueSourceScorer's costing algorithm also take the delegated FunctionValues's cost into consideration when calculating its cost. FunctionValues now exposes a cost method which is used by ValueSourceScorer's default matchCost method. In addition, ValueSourceScorer exposes a matchCost method which can be overridden to specify a custom costing mechanism
2020-03-05 09:16:50 +05:30
Cassandra Targett f6afb8b165 Ref Guide/CHANGES: fix typos in page refs and format of CHANGES entry 2020-03-04 16:25:14 -06:00
Cassandra Targett e8828f2a1c Ref Guide: move 9.0 changes to 9.0 page; prep 8.5 notes for release; add missing change to CHANGES.txt 2020-03-04 16:20:42 -06:00
Tomas Fernandez Lobbe 2cabeb924d
Add try-with-resources to CloudManager in tests (#1315) 2020-03-04 13:32:44 -08:00
Mike Drob dd9b9f2f7f SOLR-14223 Fix tests for windows 2020-03-04 10:50:00 -08:00
Adrien Grand 46bda6bea0 SOLR-12930: Include `dev-docs` in the expected list files for the source archive.
Otherwise the smoke tester fails.
2020-03-04 08:59:57 +01:00
Tomas Fernandez Lobbe 4d2d052b7d
Fix resource leak in TestPolicyCloud (#1312) 2020-03-03 11:42:20 -08:00
Cassandra Targett fa6166f261 SOLR-14286: jvm-settings.adoc: minor typos; add links to external resources 2020-03-03 12:34:02 -06:00
Christine Poerschke 4a0063f04a Fix spellcheck.queryAnalyzerField[t-->T]ype typo in Solr Ref Guide.
(Carlos Sponchiado via Christine Poerschke)
2020-03-03 18:32:08 +00:00
Noble Paul bc6fa3b650
SOLR-13942: /api/cluster/zk/* to fetch raw ZK data 2020-03-03 22:36:17 +11:00
Ignacio Vera 286d22717b
LUCENE-9225: Rectangle extends LatLonGeometry so it can be used in a geometry collection (#1258) 2020-03-03 07:36:44 +01:00
Ignacio Vera c313365c5f
LUCENE-9251: Filter equal edges with different value on isEdgeFromPolygon (#1290)
Fix bug in the polygon tessellator where edges with different value on #isEdgeFromPolygon were bot filtered out properly
2020-03-03 07:07:34 +01:00
Ignacio Vera b732ce7002
LUCENE-9239: Circle2D#WithinTriangle detects properly if a triangle is Within distance. (#1280) 2020-03-03 06:44:35 +01:00
Pushkar Raste 17c576a36f SOLR-14299 IndexFetcher doesn't reset count to 0 after the last packet is received 2020-03-02 16:26:25 -08:00