Showing
8 changed files
with
108 additions
and
80 deletions
.idea/inspectionProfiles/Project_Default.xml
0 → 100644
1 | +<component name="InspectionProjectProfileManager"> | ||
2 | + <profile version="1.0"> | ||
3 | + <option name="myName" value="Project Default" /> | ||
4 | + <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" /> | ||
5 | + </profile> | ||
6 | +</component> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -# Getting Started with Create React App | 1 | +### 오픈 소스와 자연어 처리를 이용한 검색 쿼리 개선 |
2 | 2 | ||
3 | -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). | 3 | +> 주제 |
4 | 4 | ||
5 | -## Available Scripts | 5 | +검색 엔진 오픈 소스인 Elasticsearch 와 |
6 | +자연어 처리 사전 학습 모델인 BERT 를 이용 하여 | ||
7 | +검색 쿼리를 개선 하는 방법에 대해 연구 한다. | ||
6 | 8 | ||
7 | -In the project directory, you can run: | 9 | +> 사용된 기술 |
8 | 10 | ||
9 | -### `yarn start` | 11 | +- Elasticsearch |
12 | +- BERT | ||
13 | +- React.js | ||
10 | 14 | ||
11 | -Runs the app in the development mode.\ | ||
12 | -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. | ||
13 | 15 | ||
14 | -The page will reload if you make edits.\ | 16 | +> 상세 목표 |
15 | -You will also see any lint errors in the console. | ||
16 | 17 | ||
17 | -### `yarn test` | 18 | +- Elasticsearch 에서 제공 하는 기본 자동 완성 기능 개선 |
18 | - | 19 | +- 자연어 처리 모델인 BERT 를 통해 질문형 검색 쿼리 개발 |
19 | -Launches the test runner in the interactive watch mode.\ | 20 | +- React.js 를 이용해 Elasticsearch 와 연동 하여 웹 검색 사이트 개발 |
20 | -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. | ||
21 | - | ||
22 | -### `yarn build` | ||
23 | - | ||
24 | -Builds the app for production to the `build` folder.\ | ||
25 | -It correctly bundles React in production mode and optimizes the build for the best performance. | ||
26 | - | ||
27 | -The build is minified and the filenames include the hashes.\ | ||
28 | -Your app is ready to be deployed! | ||
29 | - | ||
30 | -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. | ||
31 | - | ||
32 | -### `yarn eject` | ||
33 | - | ||
34 | -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** | ||
35 | - | ||
36 | -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. | ||
37 | - | ||
38 | -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. | ||
39 | - | ||
40 | -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. | ||
41 | - | ||
42 | -## Learn More | ||
43 | - | ||
44 | -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). | ||
45 | - | ||
46 | -To learn React, check out the [React documentation](https://reactjs.org/). | ||
47 | - | ||
48 | -### Code Splitting | ||
49 | - | ||
50 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) | ||
51 | - | ||
52 | -### Analyzing the Bundle Size | ||
53 | - | ||
54 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) | ||
55 | - | ||
56 | -### Making a Progressive Web App | ||
57 | - | ||
58 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) | ||
59 | - | ||
60 | -### Advanced Configuration | ||
61 | - | ||
62 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) | ||
63 | - | ||
64 | -### Deployment | ||
65 | - | ||
66 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) | ||
67 | - | ||
68 | -### `yarn build` fails to minify | ||
69 | - | ||
70 | -This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
package-lock.json
0 → 100644
This diff could not be displayed because it is too large.
... | @@ -3,6 +3,8 @@ | ... | @@ -3,6 +3,8 @@ |
3 | "version": "0.1.0", | 3 | "version": "0.1.0", |
4 | "private": true, | 4 | "private": true, |
5 | "dependencies": { | 5 | "dependencies": { |
6 | + "@elastic/react-search-ui": "^1.5.1", | ||
7 | + "@elastic/search-ui-app-search-connector": "^1.5.1", | ||
6 | "@testing-library/jest-dom": "^5.11.4", | 8 | "@testing-library/jest-dom": "^5.11.4", |
7 | "@testing-library/react": "^11.1.0", | 9 | "@testing-library/react": "^11.1.0", |
8 | "@testing-library/user-event": "^12.1.10", | 10 | "@testing-library/user-event": "^12.1.10", | ... | ... |
1 | -import logo from './logo.svg'; | 1 | +import React from "react"; |
2 | +import AppSearchAPIConnector from "@elastic/search-ui-app-search-connector"; | ||
3 | +import { SearchProvider, Results, SearchBox } from "@elastic/react-search-ui"; | ||
4 | +import { Layout} from "@elastic/react-search-ui-views"; | ||
5 | +import "@elastic/react-search-ui-views/lib/styles/styles.css"; | ||
2 | import './App.css'; | 6 | import './App.css'; |
3 | 7 | ||
8 | +const connector = new AppSearchAPIConnector({ | ||
9 | + searchKey: "[search-4td7gan5kcasgygjcyexksrz]", | ||
10 | + engineName: "video-games", | ||
11 | + hostIdentifier: "[private-bhi6v1txusox87eag2c8qgu3]" | ||
12 | +}); | ||
13 | + | ||
14 | +const configurationOptions = { | ||
15 | + apiConnector: connector, | ||
16 | + searchQuery: { | ||
17 | + search_fields: { | ||
18 | + name: {} | ||
19 | + }, | ||
20 | + result_fields: { | ||
21 | + name: { | ||
22 | + snippet: { | ||
23 | + size: 75 | ||
24 | + } | ||
25 | + }, | ||
26 | + genre: { | ||
27 | + snippet: { | ||
28 | + size: 50, | ||
29 | + fallback: true | ||
30 | + } | ||
31 | + }, | ||
32 | + publisher: { | ||
33 | + snippet: { | ||
34 | + size: 50, | ||
35 | + fallback: true | ||
36 | + } | ||
37 | + }, | ||
38 | + critic_score: { | ||
39 | + raw: {} | ||
40 | + }, | ||
41 | + user_score: { | ||
42 | + raw: {} | ||
43 | + }, | ||
44 | + platform: { | ||
45 | + snippet: { | ||
46 | + size: 50, | ||
47 | + fallback: true | ||
48 | + } | ||
49 | + }, | ||
50 | + image_url: { | ||
51 | + raw: {} | ||
52 | + } | ||
53 | + }, | ||
54 | + facets: { | ||
55 | + user_score: { | ||
56 | + type: "range", | ||
57 | + ranges: [ | ||
58 | + { from: 0, to: 5, name: "Not good" }, | ||
59 | + { from: 5, to: 7, name: "Not bad" }, | ||
60 | + { from: 7, to: 9, name: "Pretty good" }, | ||
61 | + { from: 9, to: 10, name: "Must play!" } | ||
62 | + ] | ||
63 | + }, | ||
64 | + critic_score: { | ||
65 | + type: "range", | ||
66 | + ranges: [ | ||
67 | + { from: 0, to: 50, name: "Not good" }, | ||
68 | + { from: 50, to: 70, name: "Not bad" }, | ||
69 | + { from: 70, to: 90, name: "Pretty good" }, | ||
70 | + { from: 90, to: 100, name: "Must play!" } | ||
71 | + ] | ||
72 | + }, | ||
73 | + genre: { type: "value", size: 100 }, | ||
74 | + publisher: { type: "value", size: 100}, | ||
75 | + platform: { type: "value", size: 100} | ||
76 | + } | ||
77 | + } | ||
78 | +}; | ||
79 | + | ||
4 | function App() { | 80 | function App() { |
5 | return ( | 81 | return ( |
6 | - <div className="App"> | 82 | + <SearchProvider config={configurationOptions}> |
7 | - <header className="App-header"> | 83 | + <div className="App"> |
8 | - <img src={logo} className="App-logo" alt="logo" /> | 84 | + <Layout |
9 | - <p> | 85 | + header={<SearchBox />} |
10 | - Edit <code>src/App.js</code> and save to reload. | 86 | + bodyContent={<Results titleField="name" urlField="image_url"/>} |
11 | - </p> | 87 | + /> |
12 | - <a | 88 | + </div> |
13 | - className="App-link" | 89 | + </SearchProvider> |
14 | - href="https://reactjs.org" | ||
15 | - target="_blank" | ||
16 | - rel="noopener noreferrer" | ||
17 | - > | ||
18 | - Learn React | ||
19 | - </a> | ||
20 | - </header> | ||
21 | - </div> | ||
22 | ); | 90 | ); |
23 | } | 91 | } |
24 | 92 | ... | ... |
보고서/3월18일 면담보고서.hwp
0 → 100644
No preview for this file type
보고서/주제선정보고서 2017110273 신동윤.docx
0 → 100644
No preview for this file type
-
Please register or login to post a comment