Skip to content

Commit

Permalink
Merge pull request #263 from netarchivesuite/elastic_text
Browse files Browse the repository at this point in the history
Enable text output when using Elasticsearch, mirroring Solr behaviour
  • Loading branch information
anjackson authored Mar 30, 2022
2 parents 68c3fe4 + 8d3ee70 commit 02ee73e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ public static void main( String[] args ) throws NoSuchAlgorithmException, IOExce
System.exit( 0 );
}

// Check if the text field is required in the XML output
final boolean isTextRequired = line.hasOption("t") || line.hasOption("s");
// Check if the text field is required for the output (explicit (-t), Elasticsearch or Solr)
final boolean isTextRequired = line.hasOption("t") || line.hasOption("s") || line.hasOption("e");

final boolean slashPages = line.hasOption("r");

Expand Down

0 comments on commit 02ee73e

Please sign in to comment.