Known Indexes

This commit is contained in:
Fabio Sinibaldi 2022-09-20 12:19:39 +02:00
parent 559347e5f7
commit dfbc6e0ea2
2 changed files with 6 additions and 20 deletions

View File

@ -111,24 +111,4 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${plugin.source.version}</version>
<executions>
<execution>
<id>jar-no-fork</id>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -4,6 +4,12 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
import org.bson.Document;
public class Index extends Document {
public static class KnownTypes{
public static final String GIS_CENTROIDS="GIS_CENTROIDS";
}
public static final String TYPE = "_type";
@JsonIgnore