diff --git a/searching-front/app/core/components/WebsiteCard/WebsiteCard.tsx b/searching-front/app/core/components/WebsiteCard/WebsiteCard.tsx index aec2fee..f0a96b4 100644 --- a/searching-front/app/core/components/WebsiteCard/WebsiteCard.tsx +++ b/searching-front/app/core/components/WebsiteCard/WebsiteCard.tsx @@ -1,17 +1,23 @@ -import { cleanUrlForUi } from 'app/core/helpers/common'; -import s from './styles.module.css' +import { cleanUrlForUi } from "app/core/helpers/common" +import s from "./styles.module.css" interface Props { - url: string; - title: string; - description: string; + url: string + title: string + description: string } -const WebsiteCard = (props:Props) => { - return
- {props.title} - {cleanUrlForUi(props.url)} -
{props.description}
+const WebsiteCard = (props: Props) => { + return ( +
+ + {props.title} + + + {cleanUrlForUi(props.url)} + +
{props.description}
+ ) } -export default WebsiteCard; \ No newline at end of file +export default WebsiteCard diff --git a/searching-front/services/modules/elastic/index.ts b/searching-front/services/modules/elastic/index.ts index a2bda1d..27b6db3 100644 --- a/searching-front/services/modules/elastic/index.ts +++ b/searching-front/services/modules/elastic/index.ts @@ -125,7 +125,7 @@ class Elastic { query: { multi_match: { query: text, - fields: ["title^4", "description^3", "h1^2", "bodyText"], + fields: ["title^4"], }, }, })