diff options
author | eolianoe | 2017-02-16 14:48:02 +0100 |
---|---|---|
committer | eolianoe | 2017-02-16 14:48:02 +0100 |
commit | 7c361355b7e8a68b2f65ae2b19258fa7e1021ab2 (patch) | |
tree | 20d06ceebb4024886d3b57905d2a5c2bc0911e99 /scilab-lucene-6.patch | |
parent | 8f0a968e376df385fe73eda867d6c79313de2854 (diff) | |
download | aur-7c361355b7e8a68b2f65ae2b19258fa7e1021ab2.tar.gz |
updpkg: 6.0.0
Diffstat (limited to 'scilab-lucene-6.patch')
-rw-r--r-- | scilab-lucene-6.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scilab-lucene-6.patch b/scilab-lucene-6.patch new file mode 100644 index 000000000000..7054a6876c91 --- /dev/null +++ b/scilab-lucene-6.patch @@ -0,0 +1,11 @@ +--- 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(), true, true)) { + IndexSearcher searcher = new IndexSearcher(reader); + + StandardQueryParser queryParserHelper = new StandardQueryParser(); |