Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Autopsy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Autopsy
Commits
ccc4dba6
Commit
ccc4dba6
authored
1 year ago
by
Greg DiCristofaro
Browse files
Options
Downloads
Patches
Plain Diff
solr by default in upgrade
parent
556c89f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchJobSettings.java
+5
-3
5 additions, 3 deletions
...thkit/autopsy/keywordsearch/KeywordSearchJobSettings.java
with
5 additions
and
3 deletions
KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchJobSettings.java
+
5
−
3
View file @
ccc4dba6
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
public
final
class
KeywordSearchJobSettings
implements
IngestModuleIngestJobSettings
{
public
final
class
KeywordSearchJobSettings
implements
IngestModuleIngestJobSettings
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
boolean
DEFAULT_INDEX_TO_SOLR
=
true
;
private
final
HashSet
<
String
>
namesOfEnabledKeywordLists
;
private
final
HashSet
<
String
>
namesOfEnabledKeywordLists
;
private
HashSet
<
String
>
namesOfDisabledKeywordLists
;
// Added in version 1.1
private
HashSet
<
String
>
namesOfDisabledKeywordLists
;
// Added in version 1.1
...
@@ -42,7 +43,8 @@ public final class KeywordSearchJobSettings implements IngestModuleIngestJobSett
...
@@ -42,7 +43,8 @@ public final class KeywordSearchJobSettings implements IngestModuleIngestJobSett
private
boolean
ocrOnly
;
private
boolean
ocrOnly
;
private
boolean
indexToSolr
;
// use object boolean so older settings missing this setting will deserialize to null.
private
Boolean
indexToSolr
;
/**
/**
* Constructs ingest job settings for the keywords search module.
* Constructs ingest job settings for the keywords search module.
...
@@ -202,7 +204,7 @@ private void upgradeFromOlderVersions() {
...
@@ -202,7 +204,7 @@ private void upgradeFromOlderVersions() {
}
}
boolean
isIndexToSolrEnabled
()
{
boolean
isIndexToSolrEnabled
()
{
return
indexToSolr
;
return
indexToSolr
==
null
?
DEFAULT_INDEX_TO_SOLR
:
indexToSolr
;
}
}
void
setIndexToSolrEnabled
(
boolean
enabled
){
void
setIndexToSolrEnabled
(
boolean
enabled
){
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment