Skip to content

Commit d071360

Browse files
mujahidmaibin
authored andcommitted
BAEL-347 - Full-text search with SOLR (eugenp#1080)
* solr-fulltext-search module created * solr-fulltext-search modue created
1 parent 7a10236 commit d071360

4 files changed

Lines changed: 101 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<module>resteasy</module>
9696

9797
<module>selenium-junit-testng</module>
98+
<module>solr-fulltext-search</module>
9899
<module>spark-java</module>
99100
<module>spring-akka</module>
100101
<module>spring-amqp</module>

‎solr-fulltext-search/pom.xml‎

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.baeldung</groupId>
6+
<artifactId>solr-fulltext-search</artifactId>
7+
<version>0.0.1-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
<name>solr-fulltext-search</name>
10+
11+
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.apache.solr</groupId>
20+
<artifactId>solr-solrj</artifactId>
21+
<version>6.1.0</version>
22+
</dependency>
23+
<dependency>
24+
<groupId>log4j</groupId>
25+
<artifactId>log4j</artifactId>
26+
<version>1.2.16</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>junit</groupId>
30+
<artifactId>junit</artifactId>
31+
<version>4.12</version>
32+
<scope>test</scope>
33+
</dependency>
34+
35+
</dependencies>
36+
37+
<build>
38+
<plugins>
39+
<plugin>
40+
<artifactId>maven-compiler-plugin</artifactId>
41+
</plugin>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-surefire-plugin</artifactId>
45+
<version>${maven-surefire-plugin.version}</version>
46+
<configuration>
47+
<excludes>
48+
<exclude>**/*IntegrationTest.java</exclude>
49+
<exclude>**/*LiveTest.java</exclude>
50+
</excludes>
51+
</configuration>
52+
</plugin>
53+
</plugins>
54+
</build>
55+
56+
<profiles>
57+
<profile>
58+
<id>integration</id>
59+
<build>
60+
<plugins>
61+
<plugin>
62+
<groupId>org.apache.maven.plugins</groupId>
63+
<artifactId>maven-surefire-plugin</artifactId>
64+
<executions>
65+
<execution>
66+
<phase>integration-test</phase>
67+
<goals>
68+
<goal>test</goal>
69+
</goals>
70+
<configuration>
71+
<excludes>
72+
<exclude>**/*LiveTest.java</exclude>
73+
</excludes>
74+
<includes>
75+
<include>**/*IntegrationTest.java</include>
76+
</includes>
77+
</configuration>
78+
</execution>
79+
</executions>
80+
<configuration>
81+
<systemPropertyVariables>
82+
<test.mime>json</test.mime>
83+
</systemPropertyVariables>
84+
</configuration>
85+
</plugin>
86+
</plugins>
87+
</build>
88+
</profile>
89+
</profiles>
90+
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.baeldung.solr.fulltexh.search.model;
2+
3+
public class Product {
4+
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.baeldung.solr.fulltexh.search.service;
2+
3+
public interface SolrSearchService {
4+
5+
}

0 commit comments

Comments
 (0)