Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild fulltext search index not working #11374

Closed
2 tasks done
amaxi99 opened this issue Jun 13, 2024 · 6 comments · Fixed by #11542
Closed
2 tasks done

Rebuild fulltext search index not working #11374

amaxi99 opened this issue Jun 13, 2024 · 6 comments · Fixed by #11542
Assignees
Labels
Milestone

Comments

@amaxi99
Copy link

amaxi99 commented Jun 13, 2024

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)

  • 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

  • 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
@Siedlerchr
Copy link
Member

@LoayGhreeb

@koppor
Copy link
Member

koppor commented Jun 13, 2024

Please start JabRef in debug mode and check the log.Maybe something useful is contained.

https://docs.jabref.org/advanced/commandline

@amaxi99
Copy link
Author

amaxi99 commented Jun 13, 2024

here is the debug-logfile

log_2024-06-13_17-06-23.txt

@koppor koppor added this to the 5.14 milestone Jun 17, 2024
@koppor
Copy link
Member

koppor commented Jun 17, 2024

Open question: Did work for 5.13? Thus, is it a regression or was it "always" the case?

It will be fixed in #11326, but we might need another fix for the next release. We need to evaluate.

@koppor
Copy link
Member

koppor commented Jun 17, 2024

Issue #11378 seems to contradict this one.

@koppor
Copy link
Member

koppor commented Jun 17, 2024

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)

@koppor koppor modified the milestones: 5.14, 5.15 Jun 17, 2024
@LoayGhreeb LoayGhreeb mentioned this issue Sep 2, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants