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
92cc68b9
Commit
92cc68b9
authored
Oct 18, 2019
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉solr查询日志记录
parent
9741da69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
SolrUtils.java
pcloud-solr/src/main/java/com/pcloud/solr/SolrUtils.java
+0
-2
No files found.
pcloud-solr/src/main/java/com/pcloud/solr/SolrUtils.java
View file @
92cc68b9
...
...
@@ -352,7 +352,6 @@ public class SolrUtils {
solrQuery
.
set
(
"wt"
,
"json"
);
QueryResponse
response
=
solrClient
.
query
(
collection
,
solrQuery
);
SolrDocumentList
documents
=
response
.
getResults
();
LOGGER
.
info
(
"solr查询结果:"
+
documents
.
toString
());
SolrResult
<
SolrDto
>
solrResult
=
new
SolrResult
<
SolrDto
>();
solrResult
.
setTotalCount
(
Integer
.
parseInt
(
documents
.
getNumFound
()
+
""
));
solrResult
.
setMaxScore
(
documents
.
getMaxScore
());
...
...
@@ -381,7 +380,6 @@ public class SolrUtils {
solrQuery
.
set
(
"wt"
,
"json"
);
QueryResponse
response
=
solrClient
.
query
(
collection
,
solrQuery
);
SolrDocumentList
documents
=
response
.
getResults
();
LOGGER
.
info
(
"solr查询结果:"
+
documents
.
toString
());
SolrResult
<
SolrDocument
>
solrResult
=
new
SolrResult
<>();
solrResult
.
setTotalCount
(
Integer
.
parseInt
(
documents
.
getNumFound
()
+
""
));
solrResult
.
setMaxScore
(
documents
.
getMaxScore
());
...
...
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