-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Set default value for fulltext indexing to false #9516
Changes from all commits
715cbd2
14987a6
9b7df2c
0672bc4
630b697
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -473,7 +473,7 @@ private JabRefPreferences() { | |
defaults.put(SEARCH_DISPLAY_MODE, SearchDisplayMode.FILTER.toString()); | ||
defaults.put(SEARCH_CASE_SENSITIVE, Boolean.FALSE); | ||
defaults.put(SEARCH_REG_EXP, Boolean.FALSE); | ||
defaults.put(SEARCH_FULLTEXT, Boolean.TRUE); | ||
defaults.put(SEARCH_FULLTEXT, Boolean.FALSE); | ||
defaults.put(SEARCH_KEEP_SEARCH_STRING, Boolean.FALSE); | ||
defaults.put(SEARCH_KEEP_GLOBAL_WINDOW_ON_TOP, Boolean.TRUE); | ||
|
||
|
@@ -692,7 +692,7 @@ private JabRefPreferences() { | |
// Download files by default | ||
defaults.put(DOWNLOAD_LINKED_FILES, true); | ||
// Create Fulltext-Index by default | ||
defaults.put(FULLTEXT_INDEX_LINKED_FILES, true); | ||
defaults.put(FULLTEXT_INDEX_LINKED_FILES, false); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I would leave this as true and only the search button deactivated for the moment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's what we literally discussed yesterday and decided againstindexing fulltext by default. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I personally changed my mind after the meeting. If indexing is disabled, users will try to use file search, but it will not work. Users will not know that they first have to enable indexing for file search to work. They will report that file search is broken. Disable indexing only, once users are somehow notified that file search can only be used, if indexing is enabled. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes we discussed also that this is not to be implemented as the lucene search pr of @btut changes so many things with the search that there should not be made any major changes in behaviour, GUI or logic, since all this work would be thrown away when or have to be undone before merging the lucene PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yesterdays discussion notes: #9491 (comment) |
||
|
||
String defaultExpression = "**/.*[citationkey].*\\\\.[extension]"; | ||
defaults.put(AUTOLINK_REG_EXP_SEARCH_EXPRESSION_KEY, defaultExpression); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still Needs to be bound to the UI button state and maybe we can bind managed (completely removed from the UI) to the fulltextIndexLinkedFilesProperty property