summarylogtreecommitdiffstats
path: root/scilab-lucene.patch
diff options
context:
space:
mode:
authorbartus2020-06-21 14:17:51 +0200
committerbartus2020-06-21 14:25:43 +0200
commit9eb310633b660ea7b5b5bb3a7be7e5737992b5d7 (patch)
tree236a1ec404383ff2ec2de3d964f0daba3b95c825 /scilab-lucene.patch
parentd7b78c493408a248810208c560816b8e6323af6f (diff)
downloadaur-9eb310633b660ea7b5b5bb3a7be7e5737992b5d7.tar.gz
Update patches, drop old ones.
Diffstat (limited to 'scilab-lucene.patch')
-rw-r--r--scilab-lucene.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/scilab-lucene.patch b/scilab-lucene.patch
deleted file mode 100644
index 14ba0b55ce28..000000000000
--- a/scilab-lucene.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteSearcher.java 2017-02-15 19:48:09.065311738 +0100
-+++ modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteSearcher.java.new 2017-02-15 19:43:03.057878902 +0100
-@@ -52,7 +52,7 @@
- */
- public List<Document> search(String str) {
- List<Document> found = new ArrayList<>();
-- try (IndexReader reader = DirectoryReader.open(mgr.getIndexWriter(), true)) {
-+ try (IndexReader reader = DirectoryReader.open(mgr.getIndexWriter())) {
- IndexSearcher searcher = new IndexSearcher(reader);
-
- StandardQueryParser queryParserHelper = new StandardQueryParser();
-@@ -57,7 +57,6 @@
-
- StandardQueryParser queryParserHelper = new StandardQueryParser();
- queryParserHelper.setAllowLeadingWildcard(true);
-- queryParserHelper.setLowercaseExpandedTerms(true);
- queryParserHelper.setAnalyzer(mgr.getAnalyzer());
- queryParserHelper.setMultiFields(new String[] {"refname", "refpurpose", "content"});
-
---- modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteIndexer.java 2018-01-04 15:55:54.019390755 +0100
-+++ modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteIndexer.java.new 2018-01-04 15:56:08.879485713 +0100
-@@ -162,7 +162,6 @@
-
- // add the block name
- Field refname = new TextField("refname", basename, Field.Store.YES);
-- refname.setBoost(100f);
- doc.add(refname);
-
- // add the refpurpose
-@@ -176,7 +175,6 @@
- refpurpose = new TextField("refpurpose", "", Field.Store.YES);
- }
-
-- refpurpose.setBoost(10f);
- doc.add(refpurpose);
- }