From d07136065a3403c3f9a4d295ccd3ec8e7693032f Mon Sep 17 00:00:00 2001 From: mujahid Date: Wed, 1 Feb 2017 02:11:46 +0800 Subject: [PATCH] BAEL-347 - Full-text search with SOLR (#1080) * solr-fulltext-search module created * solr-fulltext-search modue created --- pom.xml | 1 + solr-fulltext-search/pom.xml | 90 +++++++++++++++++++ .../solr/fulltexh/search/model/Product.java | 5 ++ .../search/service/SolrSearchService.java | 5 ++ 4 files changed, 101 insertions(+) create mode 100644 solr-fulltext-search/pom.xml create mode 100644 solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/model/Product.java create mode 100644 solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/service/SolrSearchService.java diff --git a/pom.xml b/pom.xml index b76c9b8ddd..6b95ba0350 100644 --- a/pom.xml +++ b/pom.xml @@ -95,6 +95,7 @@ resteasy selenium-junit-testng + solr-fulltext-search spark-java spring-akka spring-amqp diff --git a/solr-fulltext-search/pom.xml b/solr-fulltext-search/pom.xml new file mode 100644 index 0000000000..4afcb5838a --- /dev/null +++ b/solr-fulltext-search/pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + com.baeldung + solr-fulltext-search + 0.0.1-SNAPSHOT + jar + solr-fulltext-search + + + + UTF-8 + 2.19.1 + + + + + org.apache.solr + solr-solrj + 6.1.0 + + + log4j + log4j + 1.2.16 + + + junit + junit + 4.12 + test + + + + + + + + maven-compiler-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + + + integration + + + + org.apache.maven.plugins + maven-surefire-plugin + + + integration-test + + test + + + + **/*LiveTest.java + + + **/*IntegrationTest.java + + + + + + + json + + + + + + + + \ No newline at end of file diff --git a/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/model/Product.java b/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/model/Product.java new file mode 100644 index 0000000000..b5fb334282 --- /dev/null +++ b/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/model/Product.java @@ -0,0 +1,5 @@ +package com.baeldung.solr.fulltexh.search.model; + +public class Product { + +} diff --git a/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/service/SolrSearchService.java b/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/service/SolrSearchService.java new file mode 100644 index 0000000000..aa511f0e1b --- /dev/null +++ b/solr-fulltext-search/src/main/java/com/baeldung/solr/fulltexh/search/service/SolrSearchService.java @@ -0,0 +1,5 @@ +package com.baeldung.solr.fulltexh.search.service; + +public interface SolrSearchService { + +}