-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
JabRef 5.4--2021-11-29--217f902 Windows 10 10.0 amd64 Java 16.0.2 JavaFX 17.0.1+1
Checked with the latest development build
- I made a backup of my libraries before testing the latest development version.
- I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
How to reproduce:
- Use full-text search
- Type in: "virtues of nondemocratic government"
Question:
Am i doing something wrong? According to Jabref documentation (https://docs.jabref.org/finding-sorting-and-cleaning-entries/search), searching for strings with double quotation marks (") groups words into phrases for exact matches. Why the error?
(I tried == as well, but i think that one only works only in combination with fields like author == XXX and i don't really understand how it is supposed to work with multiple words in a row.)
Troubleshooting:
Ultimately, I found the sentence in the pdf-file that i had linked to my entry. So:
- the pdf exists and is linked
- i selected the entry in question for the search
- the search term is within the pdf
Therefore:
Problem lies with either
- search syntax OR
- Jabref code
Appendix
...
Log File
java.lang.IllegalStateException: field "path" was indexed without position data; cannot run PhraseQuery (phrase=path:"virtu ? non democrat govern")
at [email protected]/org.apache.lucene.search.PhraseQuery$1.getPhraseMatcher(Unknown Source)
at [email protected]/org.apache.lucene.search.PhraseWeight.scorer(Unknown Source)
at [email protected]/org.apache.lucene.search.Weight.scorerSupplier(Unknown Source)
at [email protected]/org.apache.lucene.search.BooleanWeight.scorerSupplier(Unknown Source)
at [email protected]/org.apache.lucene.search.BooleanWeight.scorer(Unknown Source)
at [email protected]/org.apache.lucene.search.Weight.bulkScorer(Unknown Source)
at [email protected]/org.apache.lucene.search.BooleanWeight.bulkScorer(Unknown Source)
at [email protected]/org.apache.lucene.search.IndexSearcher.search(Unknown Source)
at [email protected]/org.apache.lucene.search.IndexSearcher.search(Unknown Source)
at [email protected]/org.apache.lucene.search.IndexSearcher.search(Unknown Source)
at [email protected]/org.apache.lucene.search.IndexSearcher.searchAfter(Unknown Source)
at [email protected]/org.apache.lucene.search.IndexSearcher.search(Unknown Source)
at [email protected]/org.jabref.logic.pdf.search.retrieval.PdfSearcher.search(Unknown Source)
at [email protected]/org.jabref.model.search.rules.GrammarBasedSearchRule.init(Unknown Source)
at [email protected]/org.jabref.model.search.rules.GrammarBasedSearchRule.validateSearchStrings(Unknown Source)
at [email protected]/org.jabref.model.search.rules.SearchRules.getSearchRuleByQuery(Unknown Source)
at [email protected]/org.jabref.logic.search.SearchQuery.<init>(Unknown Source)
at [email protected]/org.jabref.gui.search.GlobalSearchBar.performSearch(Unknown Source)
at [email protected]/org.reactfx.util.FxTimer.lambda$restart$0(Unknown Source)
at [email protected]/com.sun.scenario.animation.shared.TimelineClipCore.visitKeyFrame(Unknown Source)
at [email protected]/com.sun.scenario.animation.shared.TimelineClipCore.playTo(Unknown Source)
at [email protected]/javafx.animation.Timeline.doPlayTo(Unknown Source)
at [email protected]/javafx.animation.AnimationAccessorImpl.playTo(Unknown Source)
at [email protected]/com.sun.scenario.animation.shared.SingleLoopClipEnvelope.timePulse(Unknown Source)
at [email protected]/javafx.animation.Animation.doTimePulse(Unknown Source)
at [email protected]/javafx.animation.Animation$1.lambda$timePulse$0(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at [email protected]/javafx.animation.Animation$1.timePulse(Unknown Source)
at [email protected]/com.sun.scenario.animation.AbstractPrimaryTimer.timePulseImpl(Unknown Source)
at [email protected]/com.sun.scenario.animation.AbstractPrimaryTimer$MainLoop.run(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(Unknown Source)
at [email protected]/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at [email protected]/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at [email protected]/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
