Skip to content

Commit

Permalink
allow indexing fields to be controlled separately from FlatJSONDocume…
Browse files Browse the repository at this point in the history
…nt parsing
  • Loading branch information
cmacdonald committed Dec 19, 2024
1 parent 6ba3d79 commit 2284e4c
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion modules/assemblies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/batch-indexers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/batch-retrieval/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/concurrent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ public class FlatJSONDocument implements Document {
Map<String,Set<String>> fieldSet;

// static properties
protected String[] fieldsToProcess = ArrayUtils.parseCommaDelimitedString(ApplicationSetup.getProperty("FieldTags.process", "text"));
protected String[] fieldsToProcess = ArrayUtils.parseCommaDelimitedString(
ApplicationSetup.getProperty("FlatJSONDocument.process",
ApplicationSetup.getProperty("FieldTags.process", "text"))
);

// state
protected int fieldIndex = 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/docvectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/index-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/learning/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/realtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/rest-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/retrieval-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>terrier-platform</artifactId>
<groupId>org.terrier</groupId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.terrier</groupId>
<artifactId>terrier-platform</artifactId>
<version>5.10</version>
<version>5.11-SNAPSHOT</version>
<name>Terrier Information Retrieval Platform</name>
<description>Terrier IR platform</description>
<url>http://terrier.org</url>
Expand Down

0 comments on commit 2284e4c

Please sign in to comment.