Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
7c9fba98
Commit
7c9fba98
authored
Dec 13, 2018
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solr相关
parent
738fdc3e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
84 additions
and
21 deletions
+84
-21
pom.xml
pcloud-common/pom.xml
+0
-7
DateNewUtils.java
...n/src/main/java/com/pcloud/common/utils/DateNewUtils.java
+0
-0
pom.xml
pcloud-solr/pom.xml
+73
-0
SolrDto.java
pcloud-solr/src/main/java/com/pcloud/solr/SolrDto.java
+1
-1
SolrQueryParam.java
...ud-solr/src/main/java/com/pcloud/solr/SolrQueryParam.java
+1
-1
SolrResult.java
pcloud-solr/src/main/java/com/pcloud/solr/SolrResult.java
+5
-5
SolrUtils.java
pcloud-solr/src/main/java/com/pcloud/solr/SolrUtils.java
+0
-0
pom.xml
pom.xml
+4
-7
No files found.
pcloud-common/pom.xml
View file @
7c9fba98
...
@@ -291,13 +291,6 @@
...
@@ -291,13 +291,6 @@
<artifactId>
aliyun-java-sdk-mts
</artifactId>
<artifactId>
aliyun-java-sdk-mts
</artifactId>
</dependency>
</dependency>
<!-- solr add by gaop at 2018-4-23 11:33:47 -->
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-solr
</artifactId>
</dependency>
<!-- end -->
<!-- Jackson Begin -->
<!-- Jackson Begin -->
<dependency>
<dependency>
<groupId>
org.codehaus.jackson
</groupId>
<groupId>
org.codehaus.jackson
</groupId>
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/DateNewUtils.java
0 → 100644
View file @
7c9fba98
This diff is collapsed.
Click to expand it.
pcloud-solr/pom.xml
0 → 100644
View file @
7c9fba98
<project
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://maven.apache.org/POM/4.0.0"
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>
<parent>
<groupId>
com.pcloud.common
</groupId>
<artifactId>
pcloud-common-parent
</artifactId>
<version>
2.1.0-SNAPSHOT
</version>
</parent>
<artifactId>
pcloud-solr
</artifactId>
<packaging>
jar
</packaging>
<version>
${pcloud-solr.version}
</version>
<name>
pcloud-solr
</name>
<url>
http://maven.apache.org
</url>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>
com.pcloud.common
</groupId>
<artifactId>
pcloud-common-config
</artifactId>
<version>
${pcloud-common-config.version}
</version>
</dependency>
<!-- solr add by gaop at 2018-4-23 11:33:47 -->
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-solr
</artifactId>
<version>
${spring.data.solr.version}
</version>
</dependency>
<!-- Spring Cloud Begin -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-config
</artifactId>
</dependency>
<!-- Spring Cloud End -->
<!-- Common Dependency Begin -->
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<version>
1.7.18
</version>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<version>
3.4
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
1.2.38
</version>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-collections4
</artifactId>
<version>
4.1
</version>
</dependency>
<!-- Common Dependency End -->
</dependencies>
</project>
pcloud-
common/src/main/java/com/pcloud/common/utils
/solr/SolrDto.java
→
pcloud-
solr/src/main/java/com/pcloud
/solr/SolrDto.java
View file @
7c9fba98
package
com
.
pcloud
.
common
.
utils
.
solr
;
package
com
.
pcloud
.
solr
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Calendar
;
import
java.util.Calendar
;
...
...
pcloud-
common/src/main/java/com/pcloud/common/utils
/solr/SolrQueryParam.java
→
pcloud-
solr/src/main/java/com/pcloud
/solr/SolrQueryParam.java
View file @
7c9fba98
package
com
.
pcloud
.
common
.
utils
.
solr
;
package
com
.
pcloud
.
solr
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
...
pcloud-
common/src/main/java/com/pcloud/common/utils
/solr/SolrResult.java
→
pcloud-
solr/src/main/java/com/pcloud
/solr/SolrResult.java
View file @
7c9fba98
package
com
.
pcloud
.
common
.
utils
.
solr
;
package
com
.
pcloud
.
solr
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.List
;
import
java.util.List
;
...
@@ -8,7 +8,7 @@ import java.util.List;
...
@@ -8,7 +8,7 @@ import java.util.List;
* @author PENG
* @author PENG
* @date 2018/4/24
* @date 2018/4/24
*/
*/
public
class
SolrResult
implements
Serializable
{
public
class
SolrResult
<
T
>
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1195918725820896691L
;
private
static
final
long
serialVersionUID
=
1195918725820896691L
;
...
@@ -25,7 +25,7 @@ public class SolrResult implements Serializable {
...
@@ -25,7 +25,7 @@ public class SolrResult implements Serializable {
/**
/**
* 查询结果列表
* 查询结果列表
*/
*/
private
List
<
SolrDto
>
list
;
private
List
<
T
>
list
;
public
Integer
getTotalCount
()
{
public
Integer
getTotalCount
()
{
return
totalCount
;
return
totalCount
;
...
@@ -43,11 +43,11 @@ public class SolrResult implements Serializable {
...
@@ -43,11 +43,11 @@ public class SolrResult implements Serializable {
this
.
maxScore
=
maxScore
;
this
.
maxScore
=
maxScore
;
}
}
public
List
<
SolrDto
>
getList
()
{
public
List
<
T
>
getList
()
{
return
list
;
return
list
;
}
}
public
void
setList
(
List
<
SolrDto
>
list
)
{
public
void
setList
(
List
<
T
>
list
)
{
this
.
list
=
list
;
this
.
list
=
list
;
}
}
...
...
pcloud-
common/src/main/java/com/pcloud/common/utils
/solr/SolrUtils.java
→
pcloud-
solr/src/main/java/com/pcloud
/solr/SolrUtils.java
View file @
7c9fba98
This diff is collapsed.
Click to expand it.
pom.xml
View file @
7c9fba98
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
<module>
pcloud-common-config
</module>
<module>
pcloud-common-config
</module>
<module>
pcloud-common
</module>
<module>
pcloud-common
</module>
<module>
pcloud-common-core
</module>
<module>
pcloud-common-core
</module>
<module>
pcloud-solr
</module>
</modules>
</modules>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
<pcloud-common.version>
2.1.0-RELEASE
</pcloud-common.version>
<pcloud-common.version>
2.1.0-RELEASE
</pcloud-common.version>
<pcloud-common-config.version>
2.1.0-RELEASE
</pcloud-common-config.version>
<pcloud-common-config.version>
2.1.0-RELEASE
</pcloud-common-config.version>
<pcloud-common-core.version>
2.1.0-RELEASE
</pcloud-common-core.version>
<pcloud-common-core.version>
2.1.0-RELEASE
</pcloud-common-core.version>
<pcloud-solr.version>
2.1.0-RELEASE
</pcloud-solr.version>
</properties>
</properties>
</profile>
</profile>
<!-- 压测环境 -->
<!-- 压测环境 -->
...
@@ -68,6 +70,7 @@
...
@@ -68,6 +70,7 @@
<pcloud-common.version>
2.1.0-RELEASE
</pcloud-common.version>
<pcloud-common.version>
2.1.0-RELEASE
</pcloud-common.version>
<pcloud-common-config.version>
2.1.0-RELEASE
</pcloud-common-config.version>
<pcloud-common-config.version>
2.1.0-RELEASE
</pcloud-common-config.version>
<pcloud-common-core.version>
2.1.0-RELEASE
</pcloud-common-core.version>
<pcloud-common-core.version>
2.1.0-RELEASE
</pcloud-common-core.version>
<pcloud-solr.version>
2.1.0-RELEASE
</pcloud-solr.version>
</properties>
</properties>
</profile>
</profile>
<!-- 生产环境 RAYS -->
<!-- 生产环境 RAYS -->
...
@@ -89,6 +92,7 @@
...
@@ -89,6 +92,7 @@
<pcloud-common.version>
2.1.1-RELEASE
</pcloud-common.version>
<pcloud-common.version>
2.1.1-RELEASE
</pcloud-common.version>
<pcloud-common-config.version>
2.1.1-RELEASE
</pcloud-common-config.version>
<pcloud-common-config.version>
2.1.1-RELEASE
</pcloud-common-config.version>
<pcloud-common-core.version>
2.1.1-RELEASE
</pcloud-common-core.version>
<pcloud-common-core.version>
2.1.1-RELEASE
</pcloud-common-core.version>
<pcloud-solr.version>
2.1.1-RELEASE
</pcloud-solr.version>
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
...
@@ -303,13 +307,6 @@
...
@@ -303,13 +307,6 @@
</dependency>
</dependency>
<!-- end -->
<!-- end -->
<!-- solr add by gaop at 2018-4-23 11:33:47 -->
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-solr
</artifactId>
<version>
${spring.data.solr.version}
</version>
</dependency>
<!-- Jackson Begin -->
<!-- Jackson Begin -->
<dependency>
<dependency>
<groupId>
org.codehaus.jackson
</groupId>
<groupId>
org.codehaus.jackson
</groupId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment