The sample reads the Spring IO blog Atom feed and performs text search on it. We use manual index creation and query via MongoTemplate as well as automatic index creation and derived queries via repositories. Original pull request: #10.
45 lines
1.3 KiB
XML
45 lines
1.3 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-data-mongodb-examples</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data.examples</groupId>
|
|
<artifactId>spring-data-examples</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<name>Spring Data MongoDB - Examples</name>
|
|
<description>Sample projects for Spring Data MongoDB</description>
|
|
<url>http://projects.spring.io/spring-data-mongodb</url>
|
|
<inceptionYear>2011-2014</inceptionYear>
|
|
|
|
<modules>
|
|
<module>geo-spatial</module>
|
|
<module>aggregation</module>
|
|
<module>text-search</module>
|
|
</modules>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-mongodb</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.mysema.querydsl</groupId>
|
|
<artifactId>querydsl-mongodb</artifactId>
|
|
<version>${querydsl.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project> |