rewolfnusA
(Rewolfnus A)
February 14, 2022, 9:10am
1
Is Apache Lucene used for PDF only or also for web search?
Thanks in advance
Siedlerchr
(Christoph)
February 14, 2022, 11:44am
2
Currently, itβs only used for the Fulltext pdf search and for the web search (see QueryParser) under logic importer
We plan to use it for searching in the library as well.
JabRef:main
β JabRef:refine-search
opened 12:29AM - 02 Nov 21 UTC
Fixes https://github.com/JabRef/jabref/issues/1975
As far as I tested, the se⦠arch syntax of groups can be reused (`=` signs also work at Lucene).
The search using regular expressions is different in Lucene. One has to use `/.../` to indicate regular expressions. Thus, groups can now also use regular expressions.
Left TODOs:
- [ ] The reg ex switch in the search bar should be removed. All reg ex searches should be handled by the lucene-based search
- [ ] The search rule describer for Lucene has to be created. Currently only a dummy.
- [ ] Think of removing the search grammar completely
- [ ] Optional: Implement Glob patterns - first idea: http://svn.apache.org/repos/asf/jakarta/oro/trunk/src/java/org/apache/oro/text/ --> GlobCompiler.java -- or "just" transform the string to a regex --> https://stackoverflow.com/q/1247772/873282
---
- [x] Change in `CHANGELOG.md` described in a way that is understandable for the average user (if applicable)
- [x] Tests created for changes (if applicable)
- [ ] Manually tested changed features in running JabRef (always required)
- [ ] Screenshots added in PR description (for UI changes)
- [ ] [Checked documentation](https://docs.jabref.org/): Is the information available and up to date? If not, I created an issue at <https://github.com/JabRef/user-documentation/issues> or, even better, I submitted a pull request to the documentation repository.
1 Like