jabref
jabref copied to clipboard
Rebuild fulltext search index not working
JabRef version
Latest development branch build (please note build date below)
Operating system
macOS
Details on version and operating system
macOS 14.5 (also in Windows 11)
Checked with the latest development build (copy version output from About dialog)
- [X] I made a backup of my libraries before testing the latest development version.
- [X] I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- trigger "Rebuild fulltext search index" from the menu
- dialog "Rebuild fulltext search index for current library?" pops up
- confirm
- nothing happens, no index is built (empty directory ~/Library/Application Support/jabref/lucen/99/)
Appendix
...
Log File
Paste an excerpt of your log file here
@LoayGhreeb
Please start JabRef in debug mode and check the log.Maybe something useful is contained.
https://docs.jabref.org/advanced/commandline
Open question: Did work for 5.13? Thus, is it a regression or was it "always" the case?
It will be fixed in https://github.com/JabRef/jabref/pull/11326, but we might need another fix for the next release. We need to evaluate.
Issue https://github.com/JabRef/jabref/issues/11378 seems to contradict this one.
Also happens with v5.13:
ERROR: Could not initialize the IndexWriter: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: C:\Users\koppor\AppData\Local\org.jabref\jabref\lucene\99\35eb99eb--koppor-bibliography.bib\write.lock
at [email protected]/org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126)
at [email protected]/org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:43)
at [email protected]/org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:44)
at [email protected]/org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:953)