-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(front-end): 검색 결과 화면에서 내용이 너무 길면 자르기
(front-end): 검색 옵션 선택 기능 구현 완료될 때까지 버튼 제거 (back-end): 연동 문제로 es 제거
- Loading branch information
Showing
11 changed files
with
71 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEogIBAAKCAQEAjpl/kykVoPc6zHGcBiG58yCFYezx5Z9sz0d64NCe1veNzmwH | ||
+Wf9GwnATRTI/bFzKWZ0dnlQMaSNNIRAKzXsAxh3FNbJDyicbTcWYQ3tRQCOCXDu | ||
m5q4X+3f/Jef/p3Z2/8/mv8cf3/7bkZycU+kstbmjrDDEPNWB2WXlszaeyqAaJEg | ||
8hrRArLA1m70dyScAzaPrP/OSz14p5uRqzQoavhWudZ74W/K9qtNiFMZohlz+QYb | ||
iChy5ZQfMSdNwpDfcgz5FsbedNAHdbfXjpgAxO3uQoPEI/dNcwaRlA7QBLI9XsDP | ||
ggHXnJv+bESVD9kD1/vccbMlaoynOcOMze+9kQIDAQABAoIBAFhudKEMP299Iiea | ||
5MkgrTJLHqxlxnVB8rZwe5Fjjr1886HpeOCAToQv/eNPWn2JSAOKl/rIrKS8iRzi | ||
TvD9FYmt6Fsx/6m445kPKn+xpUy/VVYhhLdWsbQ7zkXUudGqjmpR1l4GiuO+uGvg | ||
oCQI4fhOMNiYYb/nR5h6thE8pNjvxoR8nMZ+m9To5MbNHmAPhZMB5w3vpuaDJ2cC | ||
HdYztMyM/ezdbEAoG3EW88Up/edpH9jPmz6SQBt2x5MOABP5I0rRU1o8/mLt2HK0 | ||
0/jzX77IYm2AWj2zcucrvref4YAoknKMR6El6ei6ltcb9BKJvTco56XxdHsnVpSM | ||
g41x7eECgYEA6rINQ0WJbtthL/6N3OXoNfvcAqKVr160cRQMtU01DsayJRVP3Y6L | ||
7e789fUHFDk0ah1EyUVYwrHrYv/V6cwoUOcgrrsYIrfJmFuNJEGBFDpVUbqI+USv | ||
idpOQQv8bNKJLBTWaNO4QfzYpwIk26ewBv8Ul1nohYhpwdJl1Lb2YdUCgYEAm4tI | ||
8CKwVYvU+bjQUST7z9jSGo2HLbzqTDvBHugiYVwAfL01hPRXYA1fbIzMSQajTs5+ | ||
PNf1urkGyKcl26EWo03biMhzJ4aTcfVcTmgdr0PCA0eTI6x86Q777X3WsSaiClpW | ||
rZjzG0HudDCY65fraUIh0cRsxKpEJLVdZBNCzs0CgYAdaWTaGlvHxbxfPGJg3XsF | ||
UOPYfLGPganRRfb1vZA5otLubMZOeK+2iK2w0R0q/qQ/7B0TsBoYhB2AkZkoLIqc | ||
4Ooqm43BxBCChG6irYbUlx7cGClUO7RX7UDDTBI9PQEtwgrApk/ADUTFYTJnSJN5 | ||
vPvCn+TQ3zCJtqlGSAuGZQKBgCGREmF4KvObJI/rmVEZmRoGoXjHeBefwDRJZOjF | ||
kb3O++/vaSBTFpQM7r3fOKq9uvpjx4xb0pTEHzmoEJxwDBGb2LeRAoDSIvmhyJTH | ||
FTjgd3r7tD4rmB03dZiP4ogCXU+8pR37duM3/DyozCdzdoMVmXTKXeqnD+OYHBpf | ||
qbg1AoGAJHlbJ2l/q4UPwUyDTjTQYFTgquXikPufGxax9B89LZBx1z7Z2FN8ZhOg | ||
iC5QzYIZxvizgW7EN1nGJX+qdb2M+Q6aMzgZGp3sKkqHIAh3UooFx5V6NJqVANSU | ||
ikiKqBayKlIcXIM+xBO3suMh+NaXgirUBre/5Sq5HkOPG8afTDI= | ||
-----END RSA PRIVATE KEY----- |
54 changes: 0 additions & 54 deletions
54
src/main/java/knusearch/clear/elasticsearch/domain/BasePostElasticsearchEntity.java
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
src/main/java/knusearch/clear/elasticsearch/repository/BasePostElasticsearchRepository.java
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
src/main/java/knusearch/clear/elasticsearch/service/ElasticsearchService.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package knusearch.clear.mvc.service; | ||
|
||
public interface SearchService { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 20 additions & 20 deletions
40
src/main/resources/templates/fragments/postSearchResult.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:th="http://www.thymeleaf.org"> | ||
|
||
<div class="postSearchResult" th:fragment="postSearchResult" style="text-align: left; max-width: 100%;"> | ||
<div class="d-flex bg-skyblue p-3 border rounded"> | ||
<!-- 검색 결과 목록 출력 --> | ||
<p>검색 개수 : <span th:text="${searchResult.totalElements}"></span><br></p> | ||
<hr> | ||
<ul> | ||
<li th:each="post, stat : ${searchResult}"> | ||
<p>번호: <span | ||
th:text="${stat.index + 1 + (searchResult.pageable.pageNumber * searchResult.pageable.pageSize)}"></span> | ||
</p> <!-- 게시글 번호 출력 --> | ||
<p>ID: <span th:text="${post.id}"></span></p> | ||
<p>제목: <a th:href="${post.url}" th:text="${post.title}" target="_blank"></a></p> | ||
<p>내용: <span th:text="${post.text}"></span></p> | ||
<p>등록 날짜: <span th:text="${post.dateTime}"></span></p> | ||
<p>분류: <span th:text="${post.classification}"></span></p> | ||
<!-- 다른 필드들도 필요에 따라 출력하세요. --> | ||
<!-- 검색 결과 목록 출력 --> | ||
<p>검색 개수 : <span th:text="${searchResult.totalElements}"></span></p> | ||
<ul> | ||
<li th:each="post, stat : ${searchResult}"> | ||
<p>번호: <span | ||
th:text="${stat.index + 1 + (searchResult.pageable.pageNumber * searchResult.pageable.pageSize)}"></span> | ||
</p> <!-- 게시글 번호 출력 --> | ||
<p>ID: <span th:text="${post.id}"></span></p> | ||
<p>제목: <a th:href="${post.url}" | ||
th:text="${post.title.length() > 40 ? post.title.substring(0, 40) + '...' : post.title}" | ||
target="_blank"></a></p> | ||
<p>내용: <a th:href="${post.url}" | ||
th:text="${post.text.length() > 40 ? post.text.substring(0, 40) + '...' : post.text}" | ||
target="_blank"></a></p> | ||
<p>등록 날짜: <span th:text="${post.dateTime}"></span></p> | ||
<p>분류: <span th:text="${post.classification}"></span></p> | ||
<!-- 다른 필드들도 필요에 따라 출력하세요. --> | ||
|
||
<hr> | ||
</li> | ||
</ul> | ||
</div> | ||
<hr> | ||
</li> | ||
</ul> | ||
</div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.